/* Derivia */
@font-face {
  font-family: "Derivia";
  src: url("assets/fonts/Derivia-Regular.woff2") format("woff2"),
    url("assets/fonts/Derivia-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("assets/fonts/Switzer-Regular.woff2") format("woff2"),
    url("assets/fonts/Switzer-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("assets/fonts/Switzer-Medium.woff2") format("woff2"),
    url("assets/fonts/Switzer-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

html {
  font-family: "Switzer", sans-serif;
  background-color: #f5f5f5;
}

body {
  overflow-x: hidden;
  margin: 0;
}

.loader {
  position: fixed;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0;
  z-index: 10;
  background-color: black;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 1s cubic-bezier(1, 0, 1, 0.55);
}

.loader-hero {
  font-family: "Derivia", serif;
  font-size: 15em;
  text-align: center;
  font-weight: 200;
  padding: 0;
  overflow: hidden;
}

.retromatica-text {
  margin: 0;
  transform: translateY(500px);
  transition: all 1s ease-out;
}

.loader-bar {
  height: 3px;
  width: 0%;
  background-color: white;
  transition: all 1s ease-out;
}

.container {
  max-width: 1600px;
  margin-inline: auto;
}

.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 4em;
}

.navbar-right {
  display: flex;
  gap: 1em;
}

.logo-path {
  fill: black;
  transition: all 1s ease-out;
}

.logo-path:hover {
  fill: red;
  transition: all 1s ease-out;
  cursor: pointer;
}

@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.logo {
  animation: rotating 10s linear infinite;
}

.logo-text {
  font-weight: 500;
}

/* Images */

.content {
  height: 300px;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-img {
  max-width: 200px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.section-hero {
  padding-bottom: 10em;
  overflow: hidden;
}

.hero {
  margin-top: 8em;
}

.hero-hider {
  overflow: hidden;
}

.hero-title {
  font-family: "Derivia", sans-serif;
  font-size: 15em;
  text-align: center;
  font-weight: 200;
  padding-block: 0;
  margin-bottom: -0.3em;
  margin-top: 0;
  transform: translateY(200%);
  transition: all 1s ease-out;
}

.hero-para-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-block: 3em;
}

.hero-para {
  width: 65%;
  text-align: center;
}

.hero-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5em;
  margin-top: 3em;
}

.button {
  border: 1px solid black;
  border-radius: 3em;
  padding: 0.7em 1.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  width: fit-content;
  transition: all 0.5s ease-out;
}

.button-link {
  text-decoration: none;
  color: black;
}

.button:hover {
  background-color: black;
  color: white;
  cursor: pointer;
  transition: all 0.5s ease-out;
}

.link {
  text-decoration: none;
  color: black;
  position: relative;
}

.link::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: red;
  transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.link:hover::before {
  left: 0;
  right: auto;
  width: 100%;
}

.link-wrap {
  width: fit-content;
}

/* ---------------------------------------------------- Product Section styling  ----------------------------------------------------*/
.section-product {
  background-color: white;
  border-radius: 5em;
 padding-block: 10em; 
}

.features-container {
  position: relative;
}


.features-title {
  font-family: "Derivia", sans-serif;
  font-size: 4em;
  margin-block: 0;
  font-weight: 200;
}


.features-title-wrapper > p {
  margin-block: 0;
}

.booth-image {
  position: absolute;
  top: 30%;
  left: 30%;
  z-index: 0;
}

.features-paragraphs {
  display: grid;
  gap: 20em;
  margin-block: 20em;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.features-paragraph {
  width: 40%;
}

.first {
  text-align: right;
  justify-self: end;
}

/* ---------------------------------------------------- End - Product Section styling ---------------------------------------------------- */

/* ---------------------------------------------------- Footer Styling ---------------------------------------------------- */
.footer {
  margin-top: 3em;
  margin-bottom: 2em;
}

.footer-columns {
  display: flex;
  gap: 6em;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.footer-title {
  font-size: 3em;
  font-weight: normal;
  letter-spacing: -0.05em;
  margin-block: 0.1em;
}

.sub-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10em;
}

@media (max-width: 600px) {
  body {
    font-size: 12px;
  }

  .loader-hero {
    font-size: 4em;
  }

  .container {
    width: 90%;
    left: auto;
    right: auto;
  }

  .navbar {
    margin-top: 6em;
  }

  .hero {
    margin-bottom: 3em;
  }

  .hero-title {
    font-size: 6em;
  }

  .hero-para {
    width: 100%;
    text-align: center;
  }

  
/* ---------------------------------------------------- Product Section styling  ----------------------------------------------------*/
.section-product {
  border-radius:2em;
  padding-block: 5em;
}
  .booth-image {
    width: 70vw;
    top: 30%;
    left: 10%;
  }

  .features-paragraphs {
    gap: 20em;
    margin-block: 10em;
  }

  .features-paragraph {
    width: 90%;
  }


}