:root {
  --White: hsl(0, 0%, 100%);
  --Black: hsl(0, 0%, 0%);
  --Dark-Gray: hsl(0, 0%, 55%);
  --Very-Dark-Gray: hsl(0, 0%, 41%);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-size: 15px;
  font-family: "Alata", sans-serif;
  font-family: "Josefin Sans", sans-serif;
  overflow-x: hidden;
}
img {
  max-width: 100%;
}
.container {
  width: 1400px;
  margin: 0px auto;
}
.header {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 2;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
}
.container .navbar .logo {
  display: none;
}
.container .navbar ul {
  list-style: none;
  display: flex;
  align-items: center;
}
.container .navbar ul li {
  position: relative;
  margin-right: 20px;
  transition: 0.3s;
}
.container .navbar ul li:hover::before {
  position: absolute;
  content: "";
  width: 15px;
  height: 2px;
  background-color: var(--White);
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}
.container .navbar ul li a {
  text-decoration: none;
  color: var(--White);
  font-weight: 700;
  font-size: 15px;
  transition: 0.3s;
}
.container .menu-button {
  display: none;
}
.hero {
  position: relative;
  z-index: 1;
  background-image: url(../images/desktop/image-hero.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 600px;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--Black);
  opacity: 0.3;
  z-index: -1;
}
.hero .hero-desc {
  padding-top: 200px;
}
.hero .hero-desc h1 {
  padding: 20px 25px;
  border: 2px solid var(--White);
  display: inline-block;
  color: var(--White);
  text-transform: uppercase;
  font-size: 60px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 4px;
}

.leader {
  padding: 100px 0;
}
.leader .leader-linker {
  position: relative;
  z-index: -1;
}
.leader .leader-desc {
  position: absolute;
  background-color: var(--White);
  left: 40%;
  top: 30%;
  padding: 50px 50px 0 50px;
  padding: 50px 100px;
}
.leader .leader-desc h1 {
  color: var(--Black);
  font-size: 50px;
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1;
}
.photos {
  padding-top: 50px;
}
.leader .leader-desc p {
  width: 450px;
  color: var(--Dark-Gray);
  font-size: 17px;
  font-weight: 600;
  line-height: 2;
}
.photos .wrapper-head {
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.photos .desc h1 {
  color: var(--Black);
  font-size: 45px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.photos .button button {
  width: 120px;
  padding: 5px 10px;
  background-color: var(--White);
  border: 1px solid var(--Black);
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: 0.3s;
}
.photos .button button:hover {
  background-color: var(--Black);
  color: var(--White);
}
.photos .boxes {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.photos .boxes .box {
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
  cursor: pointer;
  transition: 0.3s;
}
.photos .boxes .box:hover {
  opacity: 0.6;
}
.photos .boxes .box::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 99%;
  background-color: var(--Black);
  opacity: 0.3;
  z-index: 0;
}
.photos .boxes .box h2 {
  position: absolute;
  bottom: 25px;
  left: 25px;
  text-transform: uppercase;
  font-size: 25px;
  color: var(--White);
  font-weight: 300;
  z-index: 2;
}
.photos .new {
  width: 248px;
  height: 436px;
}
.photos .boxes .box .mobile {
  display: none;
}
footer {
  margin-top: 200px;
  background-color: var(--Black);
  height: 200px;
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer .container .top,
footer .container .bottom {
  padding-top: 30px;
}
footer .container .top .logo {
  margin-bottom: 30px;
}
footer .container .top .menu ul {
  list-style: none;
  display: flex;
  align-items: center;
}
footer .container .top .menu ul li {
  position: relative;
  margin-right: 20px;
  transition: 0.3s;
}
footer .container .top .menu ul li:hover::before {
  position: absolute;
  content: "";
  width: 15px;
  height: 2px;
  background-color: var(--White);
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}
footer .container .top .menu ul li a {
  text-decoration: none;
  color: var(--White);
  font-weight: 700;
  font-size: 15px;
  transition: 0.3s;
}
footer .container .bottom .socials ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}
footer .container .bottom .socials ul li {
  margin-right: 20px;
}
footer .container .bottom .socials ul li a {
  border-bottom: 1px solid transparent;
}
footer .container .bottom .socials ul li a:hover {
  border-bottom: 1px solid var(--White);
}
footer .container .bottom .copyright h1 {
  color: var(--Dark-Gray);
  font-size: 18px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .container {
    width: 370px;
  }
  .header .logo img {
    width: 150px;
  }
  .hero {
    position: relative;
    z-index: 1;
    background-image: url(../images/mobile/image-hero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 600px;
  }
  .hero .hero-desc h1 {
    width: 350px;
    font-size: 40px;
    margin-left: 10px;
  }
  .container .navbar {
    position: absolute;
    top: -1000px;
    left: 0;
    bottom: 1000px;
    right: 0;
    background-color: var(--Black);
    min-height: 600px;
    z-index: -1;
    transition: .3s;
  }
  .container .navbar.open {
    top: 0;
    bottom: 0;
  }
  .container .navbar ul  {
    flex-direction: column;
    align-items: flex-start;
    padding: 120px 40px;
  }
  .container .navbar ul li  {
    margin-bottom: 30px;
  }
  .container .navbar ul li:hover::before {
    width: 20px;
    top: 27px;
  }
  .container .navbar ul li a {
    font-size: 25px;
  }
  .container .menu-button {
    display: block;
  }
  .container .menu-button .close {
    display: none;
  }

  .leader {
    margin-bottom: 300px;
    width: 370px;
  }
  .leader .leader-linker {
    display: flex;
    flex-direction: column;
  }
  .leader .leader-linker img {
    width: 350px;
    margin-left: 12px;
  }
  .leader .leader-desc {
    left: 0;
    top: 100%;
    width: 370px;
  }
  .leader .leader-desc h1 {
    width: 250px;
    font-size: 25px;
    font-weight: 700;
  }
  .leader .leader-desc p {
    width: 300px;
    text-align: center;
    margin-left: -50px;
  }
  .photos {
    width: 370px;
  }
  .photos .container {
    position: relative;
  }
  .photos .desc h1 {
    margin-left: 40px;
    font-size: 35px;
  }
  .photos .button button {
    position: absolute;
    bottom: -40px;
    left: 120px;
    width: 150px;
    padding: 13px 25px;
    font-weight: 700;
    letter-spacing: 5px;
    outline: none;
  }
  .photos .boxes {
    flex-direction: column;
  }
  .photos .boxes .box .mobile {
    display: block;
  }
  .photos .boxes .box .desktop {
    display: none;
  }
  .photos .new {
    width: 370px;
    height: 134px;
  }
  footer {
    width: 370px;
    height: 450px;
  }
  footer .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  footer .container .top .logo img {
    width: 150px;
    margin-right: 15px;
  }
  footer .container .top .menu ul {
    flex-direction: column;
  }
  footer .container .top .menu ul li {
    margin-bottom: 25px;
  }
  footer .container .top .menu ul li a {
    font-size: 18px;
  }
  footer .bottom {
    flex-direction: column;
  }
  footer .container .bottom .socials ul {
    margin-left: 70px;
  }
  footer .container .bottom .copyright h1 {
    margin-bottom: 30px;
  }
}
