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

:root {
  --white: #fff;
  --black: #222323;
  --orange-primary: #e67538;
  --orange-secondary: #d18f41;
  --lightgrey: #f5f5f5;
  --grey: #5e5e5e;
}

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

html {
  font-size: 70%;
  font-family: 'Lato', sans-serif;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.2rem;
  color: var(--grey);
  margin-bottom: 4rem;
  font-weight: 300;
}

h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

h4 {
  font-size: 1.7rem;
}

p {
  font-size: 1.6rem;
}

section {
  width: 100%;
}

@media (max-width: 900px) {
  html {
    font-size: 62.5%;
  }
}

/* Named classes */
.container {
  padding: 10vh 10vw;
}
@media (max-width: 900px) {
  .container {
    padding: 10vh 5vw;
  }
}

.no-subtitle {
  margin-bottom: 4rem;
}

.card {
  border-radius: 1rem;
  background-color: var(--lightgrey);
  padding: 4rem;
}
.card.small {
  padding: 2rem;
}

.alert {
  width: 100%;
  padding: 1rem;
  background-color: var(--orange-primary);
  margin-bottom: 2rem;
  font-weight: bold;
  color: white;
}

.cta {
  border: none;
  background-color: var(--orange-primary);
  padding: 1.25rem 2rem;
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 700;
  border-radius: 0.5rem;
}
.italic {
  /* font-style: italic; */
  font-style: italic;
}
.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-button-next,
.swiper-button-prev {
  color: var(--orange-secondary);
  outline: none;
  padding: 0 2rem;
}
.text-align-center {
  text-align: center;
}
.spacing {
  height: 10vh;
}
.pt-10 {
  padding-top: 10vh;
}
/* Colors and backgrounds */
.lightgrey-bg {
  background-color: var(--lightgrey);
}
.orange {
  color: var(--orange-primary) !important;
}

.underline {
  text-decoration: underline;
}

/* ------------------ Navigation bar ------------------ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 500;
  background-color: var(--black);
  height: 10vh;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  transition: 0.3s ease;
}
.logo {
  height: 90%;
  padding-top: 5%;
}

.burger {
  display: none;
}
.burger div {
  width: 30px;
  height: 3px;
  background: var(--orange-secondary);
  margin: 5px 0;
  position: relative;
  z-index: 9;
}

.nav-links {
  width: 50%;
}
.nav-links ul {
  display: flex;
  justify-content: space-between;
  color: white;
}
.nav-links a {
  color: var(--white);
  font-size: 1.4rem;
}
.nav-links a:hover {
  color: var(--orange-primary);
}

@media (max-width: 900px) {
  nav {
    padding: 1rem 5%;
  }
  .logo {
    content: url(../img/logo/logo-mobile.svg);
  }
  .burger {
    display: block;
  }

  .nav-links {
    position: absolute;
    display: block;
    height: 90vh;
    width: 70vw;
    top: 10vh;
    right: 0;
    position: fixed;
    background-color: var(--black);
    transform: translateX(100%);
    transition: 0.3s ease;
  }
  .nav-links a {
    font-size: 1.7rem;
  }
  .nav-links ul {
    display: flex;
    flex-direction: column;
    padding: 5rem 0 0 5rem;
    height: 50%;
  }
  /* Nav active */
  .nav-active .nav-links {
    transform: translateX(0%);
  }
}

/* ------------------ header ------------------ */
header {
  position: relative;
  width: 100vw;
  height: 60vh;
}
header .swiper-slide img {
  width: 100vw;
  height: 60vh;
  object-fit: cover;
}

.home-buttons {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  display: flex;
}

.home-button {
  width: 50px;
  height: 50px;
  background: var(--orange-primary);
  padding: 1rem;
  margin-left: 2rem;
  border-radius: 4px;
}
.home-button img {
  width: 100%;
  height: 100%;
}

/* ------------------ Footer ------------------ */
footer {
  padding: 3rem 5vw;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-info {
  color: var(--white);
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: left;
}

.top-items {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 2rem;
}

.footer-info p,
.footer-info a {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-decoration: none;
  display: block;
}

.footer-info {
  width: 46%;
  flex-direction: row;
}
@media (min-width: 1910px) {
  .footer-info {
    width: 40%;
  }
}

.footer-info-data {
  width: 50%;
}
.top-items {
  margin-bottom: 0;
}
.footer-logo {
  width: 20%;
}
@media (max-width: 900px) {
  footer {
    text-align: center;
    flex-direction: column;
  }
  .footer-logo {
    content: url('../img/logo/logo-mobile.svg');
    width: 25%;
    margin-bottom: 2rem;
  }
  .footer-info p,
  .footer-info a {
    font-size: 1.4rem;
  }
  .footer-info {
    flex-direction: column;
    width: 100%;
  }
  .top-items {
    margin-bottom: 2rem;
  }
  .footer-info-data-last {
    width: 100%;
  }
}

.social-media img {
  width: 30px;
  margin: 0 0.5rem;
}

.opacity-25 {
  opacity: 0.25;
}

@media (max-width: 900px) {
  .social-media img {
    width: 30px;
    margin-top: 2rem;
  }
}
