*{
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}


body{
  background-color: hsl(0, 0%, 97%);
}


.logo{
  margin-left: 1.6rem;
  margin-top: 0.3rem;
}

.navbar{
  display: flex;
  margin-top: 1.3rem;
}


.nav-items{
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-grow: 1;
  list-style: none;
  margin-left: 3rem;
}

.nav-item{
position: relative;
}

.nav-link{
color: hsl(0, 0%, 41%);
text-decoration: none;
font-weight: 500;
font-family: "Epilogue", sans-serif;
font-optical-sizing: auto;
font-style: normal;
font-size: 0.8rem;
padding: 0.2rem;
cursor: pointer;
display: flex;
align-items: center;
}

.nav-link:hover{
  color: hsl(0, 0%, 8%);
  cursor: pointer;
}

.arrow{
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
  font-size: 0.8rem;
  display: inline-block;
}

.nav-item:hover .arrow{
  transform: rotate(180deg);
}

.dropdown{
  list-style: none;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  position: absolute;
  background-color: hsl(0, 0%, 100%);
  border-radius: 0.5rem;
  top: 100%;
  left: -1px;
  max-width: 300px;
  opacity: 0;
  box-shadow: 0 10p 20px rgba(0,0,0,0.1);
}

#dropdown1{
left: -60px;
}

.dropdown-item{
margin-bottom: 0.7rem;
}


.nav-item:hover .dropdown{
  opacity: 1;
  visibility: visible;
  transform: translateY(8px);
  padding: 20px;
  padding-bottom: 10px;
  padding-right: 20px;
}


.dropdown-link{
  text-decoration: none;
  color: hsl(0, 0%, 41%);
  transition: color 0.2s ease;
  font-weight: 500;
  font-family: "Epilogue", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 0.8rem;
  display: flex;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.icons{
    margin-right: 1rem;
}

.login{
  margin-right: 2rem;
  margin-top: 0.3rem;
  font-weight: 600;
  font-family: "Epilogue", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 0.8rem;
}

.login-link{
text-decoration: none;
color: hsl(0, 0%, 41%);
}

.login-link:hover{
  color: hsl(0, 0%, 8%);
  cursor: pointer;
}

.register{
  background-color: hsl(0, 0%, 97%);
  margin-right: 2.3rem;
  padding: 5px 15px;
  border-radius: 10px;
  border: 2px solid hsl(0, 0%, 41%);
  color: hsl(0, 0%, 41%);
  font-weight: 500;
  font-family: "Epilogue", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 0.8rem;
}

.register:hover{
  color: hsl(0, 0%, 8%);
  border: 2px solid hsl(0, 0%, 8%);
  cursor: pointer;
}

h1{
  margin-top: 8.9rem;
  margin-left: 8rem;
  font-weight: 700;
  font-family: "Epilogue", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 4rem;
  color: hsl(0, 0%, 8%);
}

p{
  margin-top: 3rem;
  margin-left: 8rem;
  font-weight: 500;
  font-family: "Epilogue", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 1rem;
  color: hsl(0, 0%, 41%);
  line-height: 1.5rem;
}

.learn{
  background-color: hsl(0, 0%, 8%);
  color: hsl(0, 0%, 100%);
  padding: 13px 20px;
  margin-top: 3rem;
  margin-left: 8rem;
  font-weight: 700;
  font-family: "Epilogue", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 0.9rem; 
  border-radius: 10px;
  border: 1px solid hsl(0, 0%, 8%);
}

.learn:hover{
  background-color: hsl(0, 0%, 97%);
  border: 1px solid hsl(0, 0%, 8%);
  color: hsl(0, 0%, 8%);
  cursor: pointer;
}

.img-con{
  position: relative;
}

.hero-img{
  position: absolute;
  width: 35%;
  left: 42rem;
  top: -27.5rem;
}

.logos{
  margin-top: 5.4rem;
  margin-bottom: 6rem;
  gap: 2rem;
  margin-left: 8rem;
}

.foot-img{
  width: 7%;
}

#foot-img1{
  margin-left: 2rem;
}