@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

:root {
  --main-font: 'Manrope';
  /* Typography */
  --h1-font-size: calc(36px + 26 * ((100vw - 600px) / 1920));
  --h2-font-size: calc(55px + 27 * ((100vw - 600px) / 1920));
  --h3-font-size: calc(30px + 12 * ((100vw - 600px) / 1920));
  --h4-font-size: calc(23px + 6 * ((100vw - 600px) / 1920));
  --h5-font-size: calc(18px + 7 * ((100vw - 600px) / 1920));

  --p-big-font-size: calc(16px + 6 * ((100vw - 600px) / 1920));
  --p-small-font-size: calc(14px + 4 * ((100vw - 600px) / 1920));

  --nav-links-font-size: 16px;
  --footer-links-font-size: 15px;

  /* Colors */
  --primary-color: #000;
  --secondary-color: #fff;
  --accent-color: #C19936;
  --footer-color: #9D9D9D;
}




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

body {
  font-family: var(--main-font);
  background-color: var(--secondary-color);
}
section {
  overflow: hidden;
}
h1 { font-size: var(--h1-font-size);line-height: 55px;font-weight: 600;}
h2 { font-size: var(--h2-font-size);line-height:63px;font-weight: 600;}
h3 { font-size: var(--h3-font-size);line-height: 42px;font-weight: 600;}
h4 { font-size: var(--h4-font-size);font-weight: 600;}
h5 { font-size: var(--h5-font-size);font-weight: 600;}

p.big { font-size: var(--p-big-font-size);font-weight: 500;line-height: 26px;}
p.small { font-size: var(--p-small-font-size);font-weight: 500;line-height: 26px;}


section {
  background-size: cover;
  background-repeat: no-repeat;
}

section.two {
  background-image: url('./assets/section2.jpg');
}

section.four {
  background-image: url('./assets/section4.jpg');
}

section.five {
  background-image: url('./assets/section5.jpg');
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  position: fixed;
  top: 0;
  height: 100px;
  padding: 1rem 10%;
  background-color: var(--secondary-color);
  width: 100%;
  z-index: 5;
}

nav {
  height: 100%;
  display: flex;
  align-items: center;
  font-size: var(--nav-links-font-size);
}

.burger { 
  position: absolute;
  right: 40px;
  font-size: 22px;
  display: none !important;
}

nav .logo, nav .logo img {
  height: 100%;
}

nav ul {
  margin-left: auto;
  display: flex;
  column-gap: 1.5rem;
  margin-right: 15vw;
}

nav ul li {
  transition: color .25s ease-in-out;
}

nav ul li:hover {
  color: var(--accent-color);
}

section.hero {
  background-image: url('./assets/hero.jpg');
  min-height: 100vh;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  padding-left: 342px;
}

section.one {
  min-height: 80vh;
  padding: 180px 20%;
  position: relative;
}

section.one .lion {
  position: absolute;
  height: 100%;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 2rem 0;
}

section.one .lion img {
  height: 100%;
}

section.one h3 { position: relative;}
section.one p {
  margin-top: 18px;
  width: 70%;
  margin-left: auto;
  position: relative;
  left: 80px;
}

section.two {
  position: relative;
  min-height: 220vh;
  background-size: 90%;
  padding: 289px 160px 0;
}

section.two .img-wrapper {
  width: 100%;
  position: absolute;
  top: 0;
  right: 275px;
}

section.two h2 {
  color: var(--secondary-color);
}

section.two h2 .newline {
  display: block;
  color: var(--primary-color);
}

.cards-grid {
  position: absolute;
  top: 289px;
  right: 0;
  display: grid;
  width: 65%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-grid > div { 
  cursor: pointer;
  min-height: 65vh;
  padding: 2rem;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.cards-grid > div .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 0 15%;
  opacity: 0;
  transition: opacity .25s ease-in-out;
}

.cards-grid > div:nth-child(2) .overlay {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.cards-grid > div:hover .overlay {
  opacity: 1;
}

.cards-grid div:nth-child(1) {
  color: var(--secondary-color);
  background-color: var(--accent-color);
}

.cards-grid > div:nth-child(2) {
  color: var(--secondary-color);
  background-color: var(--primary-color);
  transform: translateY(30%);
}

.cards-grid div:nth-child(3) {
  background-color: var(--secondary-color);
}

section.three {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

section.three > div {
  min-height: 80vh;
  display: flex;
  text-align: left;
  padding: 0 20%;
  flex-direction: column;
  justify-content: center;
}

section.three > div:nth-child(1) {
  background-color: var(--primary-color);
  transform: translateY(-5%);
}

section.three > div:nth-child(2) {
  background-color: var(--secondary-color);
  position: relative;
  z-index: 2;
}

section.three p {
  margin-top: 2rem;
}

section.three h2 {
  color: var(--accent-color);
}

section.three h2 .newline {
  display: block;
  color: var(--secondary-color);
}

.image-between {
  transform: translateY(-3.2%);
  width: 100%;
}

.empty-white {
  min-height: 40vh;
  position: relative;
}

.bl-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 40%);
}

section.four {
  min-height: 140vh;
  padding: 225px 12.5%;
  color: var(--secondary-color);
}

section.four h3 {
  font-size: 57px;
  line-height: 54px;
}

section.four h3 .newline {
  display: block;
  color: var(--accent-color);
}

.with-divider {
  padding-bottom: 10vh;
  border-bottom: 2px solid rgba(159, 159, 159, 0.5);
}

section.four p {
  width: 60%;
  margin-left: auto;
  margin-top: 7.5vh;
}

section.five {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

section.five h5 {
  color: var(--secondary-color);
  font-weight: 400;
  margin-bottom: 1rem;
}

section.five h3 {
  margin-bottom: 1.5rem;
  font-weight: 500;
}

section.five a {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
}

section.five a .arrow {
  position: relative;
  display: inline-block;
  height: 1px;
  margin-left: .5rem;
  width: 4.5rem;
  background-color: var(--secondary-color);
}

section.five a .arrow::after,
section.five a .arrow::before {
  content: '';
  position: absolute;
  right: 0;
  width: 7%;
  height: 100%;
  transform-origin: right;
  background-color: var(--secondary-color);
}

section.five a .arrow::after {
  transform: rotate(45deg);
}

section.five a .arrow::before {
  transform: rotate(-45deg);
}

footer {
  display: flex;
  padding: 5rem 10%;
  background-color: var(--primary-color);
  color: var(--footer-color);
  font-size: var(--footer-links-font-size);
}

footer .address {
  margin: 0 10vw;
}

footer .email {
  margin-top: .5rem;
}

footer .links li {
  margin: .25rem 0;
}

footer .social {
  display: flex;
  margin-left: auto;
  margin-right: 5rem;
}

footer .social li {
  margin-left: 1rem;
}

footer .social li i {
  transition: color .25s ease-in-out;
}

footer .social li:hover i, footer .links li:hover {
  color: var(--accent-color);
}

@media(max-width: 1024px) {
  header,
  section.hero,
  section.one,
  section.two,
  section.four,
  section.five {
    padding: 0 20px;
  }

  nav .logo {
    max-width: 40vw;
  }
  .burger {
    display: block !important;
  }
  nav .logo img {
    width: 100%;
  }
  nav ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 5vh;
    transform: translateX(100%);
    position: fixed;
    inset: 0;
    padding: 0 20px;
    margin-right: 0;
    height: 100%;
    font-size: 24px;
    font-weight: 600;
    width: 100%;
    background: #fff;
    transition: transform .35s ease-in-out;
  }
  nav ul.active {
    transform: translateX(0);
  }

  footer {
    flex-direction: column;
  }

  p.big {
    line-height: 22px;
  }

  p.small {
    line-height: 20px;
  }

  section.hero h1 {
    /* font-size: 36px; */
    line-height: 38px;
  }

  section.one,
  section.two,
  section.four {
    padding: 10vh 20px;
  }

  section.one h3 {
    line-height: 34px;
  }

  section.one p {
    width: 100%;
    left: 0;
  }

  section.two {
    min-height: 250vh;
    background-size: cover;
  }

  .cards-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    width: 100%;
  }

  .cards-grid > div {
    opacity: 50%;
  }

  .cards-grid > div:nth-child(2) {
    transform: translateY(0);
  }
  /* .cards-grid > div .overlay {
    opacity: 1;
  } */
  section.three {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  section.four p {
    width: 100%;
  }

  .image-between {
    width: 100%;
    height: 70vh;
    object-fit: cover;
  }
  .bl-wrapper {
    width: 120%;
    overflow: hidden;
    left: 30%;
  }

  .bl-wrapper img {
    transform: scale(0.5);
  }

  section.five {
    text-align: center;
  }
  footer .address {
    margin: 5vh 0;
  }
}