* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
body {
  font-family: "Epilogue", sans-serif;
  background: hsl(0, 0%, 98%);
}
ul {
  list-style-type: none;
}

.container {
  margin: 0 auto;
  padding: 20px 10px 0px 10px;
  max-width: 1440px;
}
header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.navbar {
  color: hsl(0, 0%, 41%);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  width: 100%;
}

.page-logo {
  height: 23px;
  cursor: pointer;
  margin-top: -8px;
}
.hamburger-toggle {
  display: none;
}
.navbar ul {
  display: flex;
}
.navbar ul li {
  margin-left: 30px;
  margin-top: 1.2px;
}
.container header ul {
  margin-left: 45px;
}
.arrow-down {
  margin-left: 3px;
}

#dad-second-list {
  margin-left: auto;
}
#border-register {
  border: 2px solid hsl(0, 0%, 41%);
  padding: 10px 10px;
  border-radius: 10px;
  margin-top: -10px;
}
nav #border-register:hover {
  color: black;
  font-weight: bold;
}
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  width: 130px;
  border-radius: 7%;
  z-index: 1;
  padding: 10px;
  margin-left: -49px;
  margin-top: 5px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.3);
  font-weight: 600;
}
.dropdown:hover .dropdown-content {
  display: block;
}
.features-edit {
  margin-bottom: 10px;
  margin-top: 5px;
  display: flex;
}
.feature-images {
  margin-right: 13px;
  margin-left: 8px;
}
.features-text {
  margin-top: 2px;
}
.dropdown2 {
  position: relative;
  display: inline-block;
}
.dropdown-content2 {
  display: none;
  position: absolute;
  background-color: white;
  width: 100px;
  border-radius: 7%;
  z-index: 1;
  padding: 10px;
  margin-left: -5px;
  margin-top: 5px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.3);
  font-weight: 600;
}
.dropdown2:hover .dropdown-content2 {
  display: block;
}
#features-editt {
  display: block;
  margin-bottom: 10px;
  margin-top: 10px;
  margin-left: 8px;
}

.hover-bold:hover {
  color: black;
  font-weight: bolder;
}

.body-picture {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.layout:nth-of-type(3) {
  grid-column: 1/2;
  grid-row: 3;
}
.layout:nth-of-type(2) {
  grid-column: 1/2;
  grid-row: 2;
}
.layout:nth-of-type(1) {
  grid-column: 2/3;
  grid-row: 1/3;
}
.layout--page-image{
  display: grid;
}
#image-hero {
  height: 600px;
  width: 450px;
  margin-top: 60px;
  justify-self: right;
  margin-right: 50px;
}
#image-hero-mobile {
  display: none;
}
.layout--body-text {
  margin-top: -525px;
  margin-left: 145px;
}
#h1-text {
  font-size: 70px;
  font-weight: 700;
}
#p-text {
  margin-top: 35px;
  font-size: 16px;
  line-height: 1.5;
  color: hsl(0, 0%, 41%);
  font-weight: 700;
  letter-spacing: 0.5px;
}
#learn-text {
  margin-top: 40px;
  border: 2px solid black;
  padding: 17px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  width: 145px;
  color: white;
  background: black;
  text-align: center;
}
a {
  text-decoration: none;
  color: inherit;
}
#learn-text:hover {
  color: black;
  background: hsl(0, 0%, 98%);
  font-weight: bold;
}
.layout-pics {
  margin-left: 123px;
  margin-top: -35px;
}
.individual-layout-picture {
  margin-left: 20px;
}

@media (max-width: 732px) {
  .navbar {
    position: fixed;
    inset: 0 0 0 35%;
    flex-direction: column;
    background: hsl(0, 0%, 100%);
    font-size: 16px;
    font-weight: 600;
    z-index: 1000;
    transform: translateX(100%);
    
  }
  .navbar ul {
    display: flex;
    flex-direction: column;
    margin-top: 25px;

  }
  .navbar ul li {
    margin-bottom: 20px;
  }
  .page-logo {
    height: 28px;
    margin: 0;
  }
  #first-list{
    margin-left: 0px;
    margin-top: 60px;
  }
  #dad-second-list{
    margin-left: 0px;
  }
  #second-list {
    line-height: 25pt;
    margin-top: 10px;
    
  }
  #border-register {
    border: 2px solid hsl(0, 0%, 41%);
    padding: 5px 5px;
    border-radius: 15px;
    text-align: center;
    width: 170px;
    transform: translate(-30px);
    width: 220px;
  }
  #second-list .login-media-query {
    margin-left: 80px;
  } 

  .hamburger-toggle {
    display: block;
    position: fixed;
    background-color: transparent;
    background-image: url("icon-menu.svg");
    border: 0;
    background-repeat: no-repeat;
    z-index: 9999;
    width: 2rem;
    aspect-ratio: 1;
    top: 1.3rem;
    right: 2rem; 
  }
  .navbar[data-visible="true"]{
    transform: translateX(0%);
    transition: transform 350ms ease-out;
  }
  .hamburger-toggle[aria-expanded="true"]{
    background-image: url("icon-close-menu.svg");
  }
  .body-picture {
    margin-top: 20px;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .layout:nth-of-type(3) {
    grid-column: 1;
    grid-row: 3;
  }
  .layout:nth-of-type(2) {
    grid-column: 1;
    grid-row: 2;
  }
  .layout:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1;
  }
  #image-hero {
    display: none;
  }
  
  #image-hero-mobile {
    display: block;
    height: 360px;
    justify-self: center;
    margin-right: 0;
    width: 450px;
  }
  .layout-pics {
    margin-left: 0px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin-top: 2px;
  }
  .individual-layout-picture{
    margin-left: 0px;
    justify-self: center;
  }
  
  .layout--body-text {
    margin: auto;
    margin-bottom: 40px;
    display: grid;
  }
  #learn-text {
    justify-self: center;
    border-radius: 15px;
    padding: 16px;
    font-size: 15px;
    margin-top: 15px;
  }
  #p-text {
    font-size: 17px;
    font-weight: 550;
    letter-spacing: 0.1px;
    justify-self: center;
  }
  #h1-text {
    font-size: 40px;
    margin-top: 25px;
    margin-bottom: -15px;
    justify-self: center;
  }
  #h1-text br {
    display: none;
  }
  #p-text br{
    display: none;
  }
  .dropdown-content{
    margin-top: 15px;
    margin-left: 12px;
    margin-bottom: -20px;
    position: relative;
    width: auto;
    height: auto;
    box-shadow: none;
  }
  .features-edit{
    margin-bottom: 20px;
  }
  .dropdown-content2{
    position: relative;
    margin-top: 5px;
    margin-left: 11px;
    margin-bottom: -25px;
    position: relative;
    width: auto;
    height: auto;
    box-shadow: none;
  }
  #features-editt{
    margin-bottom: 20px;
  }
}
@media(min-width:502px) and (max-width: 732px){
  #image-hero-mobile{
    width: 500px;
  }
}
