/* GLOBAL */

@font-face {
  font-family: "Familjen Grotesk";
  src: url("../assets/font/FamiljenGrotesk-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 100 700;
}

html {
  height: 100%;
}
body {
  background-color: #f2f2f2;
  color: #001f3d;
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Familjen Grotesk", sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

header {
  background-color: #004080;
  color: #f2f2f2;
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
}

header img {
  width: 90px;
}

header > div {
  display: flex;
  align-items: center;
  gap: 5rem;
  height: 100%;
}

header label {
  display: none;
}

header input {
  display: none;
}

nav {
  height: 100%;
}

nav > ul > li:nth-child(2) {
  height: 100%;
  align-content: center;
}

#products-link {
  height: 100%;
  display: inline-block;
  align-content: center;
}

header ul,
footer ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

header ul {
  display: flex;
  gap: 3rem;
  height: 100%;
  align-items: center;
}

header a {
  text-decoration: none;
  color: #f2f2f2;
  font-size: 1.1rem;
  font-weight: 100;
}

header a:hover {
  text-decoration: underline;
}

nav a img {
  width: 15px;
  margin: auto 0;
}

.active {
  font-weight: 900;
}

.products_nav {
  position: absolute;
  left: 0;
  top: 80px;
  z-index: 2000;
  background: #004080;
  display: flex;
  justify-content: center;
  gap: 100px;
  width: 100vw;
  padding: 10px 0;
  display: none;
}

.products_nav li {
  padding: 5px 0;
}

.products_nav > div > a {
  font-weight: 800;
  font-size: 1.2rem;
}

.products_nav ul {
  display: block;
}

button {
  background-color: #c6dcbc;
  border: solid 2px #004080;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 5px 20px;
  color: #001f3d;
  border-radius: 10px;
  font-family: "Familjen Grotesk", sans-serif;
  cursor: pointer;
}

button:hover {
  transform: scale(1.05);
  transition: ease-in-out 0.2s;
}

.secondary_button {
  background-color: #f2f2f2;
  color: #001f3d;
  border: 2px solid #001f3d;
}

main {
  flex: 1 1 0;
}

.banner {
  height: 340px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner > div {
  position: absolute;
  color: #f2f2f2;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  margin-left: 4rem;
  height: 250px;
}

.home_banner > div {
  justify-content: space-between;
  gap: 10px;
  margin-left: 4rem;
  height: 250px;
}

.banner > div h1 {
  margin: 0;
  font-size: 4.5rem;
  font-weight: 460;
}

.banner > div h2 {
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0;
}

.banner > div h3 {
  font-weight: 400;
  font-size: 1.2rem;
  margin: 0;
  max-width: 320px;
}

.home_banner {
  height: 570px;
  justify-content: start;
}

.home_banner > div h3 {
  background-color: #c6dcbc;
  color: #001f3d;
  padding: 10px;
  border-radius: 15px;
}

.banner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    to right,
    #001f3d 20%,
    rgba(0, 64, 128, 0.4) 100%
  );
  opacity: 0.8;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 20px;
  justify-content: center;
}

.product_section {
  padding: 0 50px 30px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.product_section > div {
  flex: 1 1 auto;
  min-width: 300px;
}

.product_section h2 {
  font-weight: 500;
  padding: 0 20px;
  text-align: center;
}

.product_section > div:first-child {
  display: flex;
  flex-direction: column;
}

.product_section > div:first-child > a {
  margin: 10px auto;
}

.card {
  display: flex;
  flex-direction: column;
  flex: 1 1 270px;
  max-width: 270px;
  gap: 10px;
  color: #001f3d;
  background-color: #b3dbff;
  justify-content: center;
  width: 270px;
  height: 200px;
  border-radius: 32px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.card p {
  text-align: center;
  margin: 0;
}

.card p:nth-of-type(1) {
  font-size: 1.4rem;
  font-weight: 500;
}
.card p:nth-of-type(2) {
  font-size: 1.1rem;
}

.card img {
  margin: 0 auto;
  width: 82px;
  height: 82px;
}

.card ul {
  margin: 0;
}

.card a {
  margin: 0 auto;
  color: #001f3d;
  font-size: 1.1rem;
}

footer {
  background-color: #004080;
  color: #f2f2f2;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
}

footer div:first-child {
  font-size: 1rem;
  font-weight: 100;
  width: 30%;
}

footer p {
  margin: 0;
}

footer img {
  width: 60px;
  padding-bottom: 10px;
}

footer div:nth-child(2) {
  text-align: center;
  width: 40%;
}

footer div:nth-child(2) > div {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
}

footer div:nth-child(2) a {
  height: auto;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
}

footer div:nth-child(3) {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: end;
}
footer div:nth-child(3) a {
  width: auto;
}
footer ul {
  display: flex;
  gap: 2rem;
}

footer a {
  text-decoration: none;
  color: #f2f2f2;
  padding: 3px;
  display: inline-block;
}

footer a:hover {
  text-decoration: underline;
}

/* HOME */

 

.product_section > div:nth-child(2) {
  max-width: 270px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 20px auto;
}

.secondary_card {
  background-color: #c6dcbc;
}

.secondary_card ul {
  padding: 0;
  font-size: 1.2rem;
  list-style-image: url("../assets/logo-bullet.svg");
  list-style-position: inside;
}

.secondary_card ul li {
  padding: 10px;
  line-height: 1.5;
}

.product_section .card {
  max-width: 250px;
  height: 320px;
  padding: 0;
}

.product_section .card img {
  height: 53px;
}

.product_section .card.secondary_card {
  padding: 20px;
}

.about_section {
  background: linear-gradient(#004080 0%, #001f3d 60%);
  color: #f2f2f2;
  text-align: center;
  padding: 20px 30px;
  width: 80%;
  max-width: 1200px;
  margin: 10px auto 30px auto;
  border-radius: 32px;
}

.about_section h2 {
  margin-top: 0;
}

.about_section p {
  font-size: 1.2rem;
}

.about_section ul {
  list-style-type: none;
  padding: 0;
  font-size: 1.2rem;
  text-align: start;
}

.about_section li {
  background-image: url("../assets/logo-bullet-white.svg");
  background-repeat: no-repeat;
  background-position: 0 20px;
  padding: 10px 0 10px 30px;
  line-height: 1.5;
}

.about_section a {
  color: #f2f2f2;
  margin: 0 auto;
  font-size: 1.3rem;
}
 
.about_section-button {
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.news_section {
  background: #f2f2f2;
  color: #001f3d;
  border: solid 2px #001f3d;
  text-align: center;
  padding: 20px 30px;
  width: 80%;
  max-width: 1200px;
  margin: 10px auto 30px auto;
  border-radius: 32px;
}

.news_section a {
  color: #001f3d;
  margin: 0;
}

.news_section li {
  background-image: url("../assets/logo-bullet.svg");
  padding-top: 0;
  margin: 10px 0;
}

.news_section li > div {
  background-color: #b3dbff;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  padding: 10px;
}
 
.news_section p {
  margin: 0 10px;
}

/* ABOUT */

.home_banner img {
  object-position: top;
}

.text_section {
  width: 70%;
  margin: 30px auto;
  font-size: 1.1rem;
}

.link {
  text-align: center;
  padding-bottom: 30px;
}

.link a {
  color: #001f3d;
  font-weight: 500;
  font-size: 1rem;
}

/* SUPPORT */

.response_time h2 {
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  margin: 20px;
}

section h1 {
  font-size: 2rem;
  font-weight: 400;
}

section {
  width: 80%;
  margin: 0 auto;
}

section .cards {
  gap: 40px 60px;
}

.breadcrumb a {
  padding: 5px 20px 5px 10px;
  color: #001f3d;
  position: absolute;
  font-size: 1.2rem;
  font-weight: 500;
}

.product_breadcrumb a {
  color: #f2f2f2;
  z-index: 1000;
}

.article {
  width: 60%;
  padding-bottom: 20px;
}

.article img {
  width: 100%;
  margin: 20px 0;
}

.small-image {
  width: 30% !important;
}

h2 img {
  width: 30px;
}

/* PRODUCT */

.description {
  display: flex;
  width: 70%;
  padding: 30px 0;
  margin: 0 auto;
  justify-content: space-around;
}

.description > div:first-child {
  width: 40%;
  font-size: 1.2rem;
}

.description .card {
  height: auto;
  padding: 10px;
}

.cta_container {
  text-align: center;
  padding: 20px;
}

/* MEDIA QUIERIES */

@media (max-width: 900px) {
  header {
    padding: 0 0 0 10px;
  }

  header label {
    display: block;
    position: absolute;
    right: 20px;
    cursor: pointer;
  }

  header label img:nth-child(2) {
    display: none;
  }

  header label img {
    width: 40px;
  }

  #chevron {
    display: none;
  }

  header > div {
    display: none;
    z-index: 2000;
    background-color: #004080;
    height: auto;
    position: absolute;
    top: 80px;
    right: 0;
    text-align: center;
    padding: 0px 10px 20px 10px;
    border-radius: 0 0 0 25px;
  }

  header input:checked + div {
    display: block;
  }

  header ul {
    display: block;
    height: auto;
    padding-bottom: 20px;
  }

  header ul li {
    padding: 10px 0;
  }

  .home_banner {
    height: 470px;
    justify-content: center;
  }

  .banner > div {
    margin-left: 0;
  }

  .banner > div h1 {
    font-size: 3.5rem;
  }

  .banner > div h1 > img {
    height: 40px;
  }

  .product_section {
    flex-direction: column;
    padding: 0;
    align-items: center;
    gap: 2rem;
    padding-bottom: 3rem;
  }

  .description {
    flex-wrap: wrap;
  }
  .description > div:first-child {
    width: 90%;
    padding-bottom: 20px;
  }

  section {
    padding-top: 30px;
  }

  footer {
    padding: 0 20px;
  }
}

@media (max-width: 600px) {
  .home_banner {
    justify-content: center;
  }
  footer {
    padding: 0 10px;
  }
  footer div:first-child {
    font-size: 0.8rem;
  }

  footer div:nth-child(2) {
    width: 60%;
  }
  footer div:nth-child(3) {
    font-size: 0.8rem;
  }
  .article {
    width: 90%;
  }
}
