html {
  scroll-behavior: smooth;
  font-family: "Roboto", sans-serif;
  overflow-anchor: none;
}
body {
  margin: 0;
  overflow-x: hidden;
}

/* **************************************** */
/* **************************************** */
/* Navbar */
/* **************************************** */
/* **************************************** */
nav {
  background-color: white;
  width: 100%;
  position: fixed;
  display: flex;
  letter-spacing: 2px;
  justify-content: flex-end;
  z-index: 1;
}

nav a {
  margin: 25px;
  margin-right: 100px;
  cursor: pointer;
  text-decoration: none;
  color: black;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.1em;
  background-color: #1c3d54;
  opacity: 0;
  transition: opacity 300ms, transform 300ms;
}

nav a:hover::after,
nav a:focus::after {
  opacity: 1;
  transform: translate3d(0, 0.2em, 0);
}

.language-selection a {
  color: black;
}

.language-selection {
  margin-left: 100px;
  /* padding-top: 50px; */
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
}

.language-selection p {
  margin: 0;
}

.language-selection a {
  cursor: pointer;
  margin: 0;
}

.language-selection a:hover {
  text-decoration: none;
  color: black;
}

.language-selected {
  border-bottom: 2px solid #000;
  color: black;
  font-weight: bold;
  padding-bottom: 2px;
}

.language-hide {
  display: none;
}

/* **************************************** */
/* **************************************** */
/* Home */
/* **************************************** */
/* **************************************** */
#home {
  height: 100vh;
  display: flex;
}

.home-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 70%;
  /* background-color: pink; */
}

.home-logo img {
  position: absolute;

  width: 80%;
}

/* **************************************** */
/* **************************************** */
/* About */
/* **************************************** */
/* **************************************** */
#about {
  /* max-width: 1920px; */
  /* height: 100vh; */
  width: 100%;
  /* display: flex;
  justify-content: center;
  align-items: center; */

  /* background-color: rgb(240, 240, 240); */
  /* background-color: rgba(221, 221, 221, 0.25); */
}

.about-container {
  /* width: inherit; */
  width: 1920px;
  margin-top: 50px;
  /* height: 1080px; */
  /* height: inherit; */
  display: flex;
  justify-content: center;
}

.about-cards {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  position: absolute;
  width: 1000px;
  height: 750px;
  margin-bottom: 150px;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.13) 15px 25px 50px 7px;
}

.about-cards-column {
  display: none;
}
.about-cards-top {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.about-cards-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
}

.scene {
  width: 375px;
  height: 200px;
  perspective: 600px;
}

.card {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 1s;
  transform-style: preserve-3d;
  /* transform: rotateY(180deg); */
  border: none;
}
.card__face {
  position: absolute;
  height: 100%;
  width: 100%;
  backface-visibility: hidden;
  /* border: 1px solid rgb(221, 221, 221); */
  cursor: pointer;
  border-radius: 25px;
  box-shadow: rgba(0, 0, 0, 0.05) 15px 25px 50px 15px;
}

.card__face--front {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* background: red; */
}

.card-philosophy > .card__face--front {
  /* background-color: rgba(239, 82, 97, 0.15); */
}

.card-job > .card__face--front {
  /* background-color: rgba(44, 191, 174, 0.15); */
}

.card-method > .card__face--front {
  /* background-color: rgba(246, 200, 99, 0.15); */
}

.card-philosophy > .card__face--back div:nth-child(1) {
  /* background-color: #ef5261; */
}

.card-job > .card__face--back div:nth-child(1) {
  /* background-color: #2cbfae; */
}

.card-method > .card__face--back div:nth-child(1) {
  /* background-color: #f6c863; */
}

.card__face--back {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  text-align: center;
  /* background: blue; */
  transform: rotateY(180deg);
  background-color: white;
}

.card__face--back div:nth-child(1) {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 25px 25px 0 0;
  font-family: "Gabriela", serif;
}
.card__face--back div:nth-child(2) {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 15px 0 15px;
}

.card.is-flipped {
  transform: rotateY(180deg);
}

.card-philosophy img,
.card-job img,
.card-method img {
  width: 100px;
}

.about-image {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: -1;
  margin-top: 50px;
}
.about-image img {
  width: 550px;
}

/* **************************************** */
/* **************************************** */
/* Gallery - Work*/
/* **************************************** */
/* **************************************** */

#gallery-work {
  width: 100%;
  padding-top: 50px;
  /* background-color: rgba(28, 61, 84, 0.25); */
}

#gallery-work h1 {
  font-family: "Gabriela", serif;
  background-color: #b1dbeb;
  padding-top: 30px;
  padding-bottom: 30px;
  margin-top: 50px;
  text-align: center;
}

.label {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: -50px;
  z-index: -1;
}

.label div {
  margin: 0;
  max-width: 50px;
  width: 50px;
  height: 50px;
  background-color: #b1dbeb;
  transform: rotate(45deg);
  z-index: -1;
}

#gallery-work img {
  width: 500px;
  border: 1px solid rgb(200, 200, 200);
  transition: 1s;
  border: 3px solid white;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}

#gallery-work img:hover {
  transform: scale(1.1);
}

.gallery {
  height: inherit;
  width: inherit;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
}

.gallery div,
.gallery-column div {
  margin-top: 50px;
  margin-bottom: 50px;
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.gallery-column {
  display: none;
}

.line {
  width: 100vw;
  display: flex;
  justify-content: center;
}

hr {
  text-align: center;
  width: 80%;
}

/*
/////////////////////////////////////////////////////////////////////////
/////
///// Section: IG
/////
/////////////////////////////////////////////////////////////////////////
*/
#gallery-ig {
  padding-top: 50px;
}

.logo-ig {
  display: flex;
  justify-content: center;
}

.logo-ig img {
  width: 350px;
}

.grid-ig {
  /* text-align: center; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.row-ig {
  width: 75%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  white-space: nowrap;
}

.row-ig {
  margin: 20px;
}

.row-ig a {
  margin: 10px;
}

.row-ig a > img {
  width: 350px;
}

.row-ig a > img:hover {
  box-shadow: 0px 0px 25px rgba(237, 207, 232, 2);
  transition: box-shadow 0.5s;
}

.row-ig-last {
  /* justify-content: flex-start; */
}

.img-hidden {
  visibility: hidden;
}

/* **************************************** */
/* **************************************** */
/* Contact */
/* **************************************** */
/* **************************************** */
#contact {
  margin-top: -100px;
  /* height: 50vh; */
  /* margin-top: 100px;
  padding-top: 50px; */
  padding-bottom: 50px;
  background-color: #b1dbeb;
  display: flex;

  /* background: #edcfe8;
  background: -webkit-linear-gradient(bottom left, #edcfe8, #b2dceb);
  background: -moz-linear-gradient(bottom left, #edcfe8, #b2dceb);
  background: linear-gradient(to top right, #edcfe8, #b2dceb); */
}

#contact hr {
  /* margin-top: 150px; */
  width: 80%;
}

.contact-top {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-around;
  flex: 1 1 0;
  height: inherit;
}

/* .contact-top > *,
.contact-bottom > * {
  flex-basis: 100%;
  max-width: 750px;
} */

.contact-top p {
  color: white;
  letter-spacing: 2px;
  font-weight: bold;
  font-size: 15px;
  margin: 0;
}

.contact-top a {
  font-family: "Gabriela", serif;
  text-decoration: none;
  color: black;
  font-size: 13px;
  /* font-weight: bold; */
}

.contact-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex: 1 1 0;
}

.association {
  display: flex;
  justify-content: center;
}
.association > div {
  display: flex;
  align-items: center;
}

.association p {
  margin-right: 15px;
  letter-spacing: 2px;
  color: white;
  font-weight: bold;
  margin-bottom: 0;
}

.map {
  text-align: center;
}

.map iframe {
  width: 500px;
  height: 250px;
  background-color: white;
  padding: 15px;
}
.contact-bottom img {
  width: 50px;
}

#particles-js {
  width: 100%;
  height: 100%;
  /* background-color: #b61924; */
  background-image: url("");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.address,
.telephone,
.email {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 250px;
  border-left: 2px solid white;
  padding-left: 10px;
}

/*
/////////////////////////////////////////////////////////////////////////
/////
///// Section: Responsive design --- Max width: 1920
/////
/////////////////////////////////////////////////////////////////////////
*/
@media only screen and (max-width: 1920px) {
  .about-container {
    width: 100vw;
  }
}

/*
/////////////////////////////////////////////////////////////////////////
/////
///// Section: Responsive design --- Max width: 1520
/////
/////////////////////////////////////////////////////////////////////////
*/
@media only screen and (max-width: 1520px) {
  .about-image {
    display: none;
  }

  .about-cards {
    position: relative;
  }

  #gallery-work img {
    width: 350px;
  }

  .row-ig a > img {
    width: 250px;
  }

  #contact {
    margin-top: -50px;
  }
}
/*
/////////////////////////////////////////////////////////////////////////
/////
///// Section: Responsive design --- Max width: 1120
/////
/////////////////////////////////////////////////////////////////////////
*/
@media only screen and (max-width: 1120px) {
  .language-selection {
    margin-left: 50px;
  }
  .about-cards {
    width: 100%;
    margin-right: 15px;
    margin-left: 15px;
  }
  .about-cards-top,
  .about-cards-bottom {
    display: none;
  }

  .about-cards-column {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: inherit;
  }

  #gallery-work img {
    width: 250px;
  }

  #contact {
    margin-top: -50px;
    flex-direction: column;
    height: 750px;
  }

  .contact-top,
  .contact-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 450px;
  }

  .address,
  .telephone,
  .email {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/*
/////////////////////////////////////////////////////////////////////////
/////
///// Section: Responsive design --- Max width: 820
/////
/////////////////////////////////////////////////////////////////////////
*/
@media only screen and (max-width: 820px) {
  .row-ig a > img {
    width: 150px;
  }
  #gallery-work img {
    width: 200px;
  }

  #contact {
    margin-top: -15px;
  }
}

/*
/////////////////////////////////////////////////////////////////////////
/////
///// Section: Responsive design --- Max width: 620
/////
/////////////////////////////////////////////////////////////////////////
*/
@media only screen and (max-width: 620px) {
  .gallery {
    /* display: none; */
  }

  .gallery-column {
    width: 75%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    margin: auto;
  }

  .scene {
    width: 300px;
    height: 200px;
    perspective: 600px;
  }
}

/*
/////////////////////////////////////////////////////////////////////////
/////
///// Section: Responsive design --- Max width: 520
/////
/////////////////////////////////////////////////////////////////////////
*/
@media only screen and (max-width: 520px) {
  .language-selection {
    margin-left: 25px;
  }
  .row-ig a > img {
    width: 100px;
  }
  #gallery-work img {
    width: 115px;
  }
  .map iframe {
    width: 350px;
    height: 200px;
    background-color: white;
    padding: 15px;
  }

  .logo-ig img {
    width: 250px;
  }
}
