/* MAIN */

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Montserrat", sans-serif;
}

html {
    scroll-behavior: smooth;
}

p {
    color: #000;
}

/* TRANSITION */


a, .btn, .socials__icon {
    transition: all 0.3s ease;
}

/* DESKTOP NAV */

nav, .nav-links {
    display: flex;
}

nav {
    justify-content: space-around;
    align-items: center;
    height: 17vh;
}

.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
}

a {
    color: #000;
    text-decoration: none;
    text-decoration-color: #fff;
}

a:hover {
    color: #be81bf;
    text-decoration: underline;
    text-underline-offset: 1rem;
}

.logo {
    height: 125px;
}

.logo:hover {
    cursor: default;
}

/* HAMBURGER MENU */

#hamburger-nav {
display: none;
}

.hamburger-menu {
    position: relative;
    display: inline-block;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger-icon span {
    width: 100%;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease-in-out;
}

.menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.menu-links a {
    display: block;
    padding: 10px;
    font-size: 1.5rem;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.menu-links li {
    list-style: none;
}

.menu-links.open {
    max-height: 300px;
}

.hamburger-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
    transform: none;
}

.hamburger-icon span:nth-child(2) {
    opacity: 1;
}

.hamburger-icon span:last-child {
    transform: none;
}

.home-arrow-mobile {
  display: none;
}

/* SECTION */

section {
    padding-top: 4vh;
    margin: 0 15rem;
    box-sizing: border-box;
    min-height: fit-content;
}

.section-container {
    display: flex;
}

/*ANIMATION*/

.heart {
  position: absolute;
  bottom: -50px;
  font-size: 30px;
  animation: floatUp 5s linear infinite;
  z-index: 2;
}

@keyframes floatUp {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-120vh);
    opacity: 0;
  }
}

/* PROFILE SECTION */

#profile {
    display: flex;
    justify-content: center;
    gap: 5rem;
    height: 80vh;
  }
  
  .section__image-container {
    display: flex;
    height: 400px;
    width: 400px;
    margin: auto 0;
  }
  
  .section__text {
    align-self: center;
    text-align: center;
  }
  
  .section__text p {
    font-weight: 600;
  }
  
  .section__text__p1 {
    font-size: 1.5rem;
    text-align: center;
  }
  
  .section__text__p2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .socials-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 1rem;
  }

  /* ICONS */

.socials__icon {
    cursor: pointer;
    font-size: 2rem;
  }

  .socials__icon:hover {
    color: #be81bf;
  }

  
  /* BUTTONS */
  
  .btn-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }
  
  .btn {
    font-weight: 600;
    transition: all 300ms ease;
    padding: 1rem;
    width: 8rem;
    border-radius: 2rem;
    background: none;
    border: #a9ced3 0.1rem solid;
    color: #a9ced3;
    cursor: pointer;
  }

  .btn:hover {
    background: linear-gradient(45deg, rgba(249,212,182,1) 35%, rgba(169,206,211,1) 72%);
    color: #fff;
    box-shadow: 5px 10px 5px rgba(169,206,211,0.5);
    transform: scale(1.1);
  }

  .btn-offer {
    background: linear-gradient(45deg, rgba(249,212,182,1) 35%, rgba(169,206,211,1) 72%);
    color: #fff;
    transition: .3s;
  }
  
  .btn-contact:hover {
    background: linear-gradient(45deg, rgba(249,212,182,1) 35%, rgba(169,206,211,1) 72%);
    border: #6d9da3 0.1rem solid;
    color: #fff;
  }
  
  .btn-offer:hover {
    background: #fff;
    border: #6d9da3 0.1rem solid;
    color: #6d9da3
  }
  
  .btn-contact:hover {
    border: rgb(255, 255, 255) 0.1rem solid;
  }
  
  .btn-container {
    gap: 1rem;
  }

  /* ABOUT */

  #about, #about-2 {
    position: relative;
  }

  .about-image {
    border-radius: 2rem;
    box-shadow: 0px 0px 10px #be81bf;
  }

  .arrow {
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
    font-size: 2rem;
  }

  .section-container {
    gap: 4rem;
    height: 80%;
  }
  
  .section__pic-container {
    height: 400px;
    width: 400px;
    margin: auto 0;
  }

  .text-container {
    margin-top: 3rem;
  }

  .about-text {
    margin-bottom: 1rem;
  }

  /* OFFER */

  #offer, #offer-2, #offer-3, #offer-4, #offer-5, #offer-6 {
    position: relative;
  }

  .section__image-container.mobile {
    display: none;
  }

  .section__text__title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
  }

  .balloon {
    height: 60px;
  }

  /* REALIZATION */

#realization {
  position: relative;
}

.filter {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
}

.filter-item {
  padding: 12px;
  cursor: pointer;
  transition: .3s;
}

.filter-item.active {
  color: #be81bf;
  text-decoration: underline;
  text-underline-offset: 1rem;
}

.filter-item:hover {
  color: #be81bf;
  text-decoration: underline;
  text-underline-offset: 1rem;
  transform: scale(1.05);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* align-items: center; */
  list-style: none;
}

.image-box {
  margin: 0.8rem;
  max-width: 200px;
  max-height: 200px;

}

.image-box img {
  width: 100%;
  height: 100%;
  border-radius: 1.3rem;
  object-fit: cover;
  transition: .3s ;
  cursor: pointer;
}

.image-box img:hover {
transform: scale(1.1);
box-shadow: 0px 0px 10px #be81bf;
}

.popup {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  z-index: 5;
}

.popup__img {
  max-height: 80%;
  max-width: 80%;
}

.popup.hidden {
  display: none;
}

.popup__close {
  position: fixed;
  top: 32px;
  right: 80px;
  font-size: 3rem;
  border: none;
  background-color: transparent;
  color: rgb(241, 238, 238);
  cursor: pointer;
  transition: .3s;
}

.popup__right {
  position: fixed;
  top: 50%;
  right: 80px;
  font-size: 1.6rem;
  color:rgb(241, 238, 238);
  cursor: pointer;
  transition: .3s;
}

.popup__left {
  position: fixed;
  top: 50%;
  left: 80px;
  font-size: 1.6rem;
  color:rgb(241, 238, 238);
  cursor: pointer;
  transition: .3s;
}

.popup__close:hover,
.popup__right:hover,
.popup__left:hover {
  transform: scale(1.1);
}

.gallery_text {
  margin: 2rem 0;
  text-align: center;
}

.gallery_text a {
  color: #a9ced3;
}

/* PARTNERS */

#partners {
  position: relative;
}

.partners-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.details-container {
  margin: .5rem;
  padding: 1rem;
  flex: 1;
  background: white;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  text-align: center;
}

.image-container {
width: 250px;
height: 350px;
margin: 0 auto;
}

.partner-img {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  object-fit: cover;
  transition: .3s ;
  cursor: pointer;
}

.project-title {
  margin: 1rem;
  font-size: 1.3rem;
  color: black;
}

.project-btn {
  color: black;
  border-color: rgb(163, 163, 163);
}

/* FAQ */

#faq {
  position: relative;
}

.question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 2rem 2.5rem;
  background-color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight:600;
  font-family: "Montserrat", sans-serif;
  border: none;
  transition: .3s;
}

.question:hover {
color: #be81bf;
}

i.active {
  transform: rotate(180deg);
}

.panel {
  display: none;
  padding: 0 2rem 2.5rem 2rem;
  overflow: hidden;
}

.panel p {
  line-height: 1.4;
  font-style: italic;
}


/* CONTACT */

#contact {
  position: relative;
  height: auto;
  margin-bottom: 2rem;
}

.contact-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
}

.contact-box{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 300px;
  margin-top: 1rem;
}

.contact-box a{
  text-decoration: none;
  color: #fff;
}

.contact-icon{
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #a9ced3;
  margin-bottom: 1rem;
}

.contact-icon i{
  color: #fff;
  font-size: 1.5rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #a9ced3;
  color: #fff;
  padding: 15px 20px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.cookie-banner a {
  color: #be81bf;
  text-decoration: underline;
  font-weight: bold;
}

.cookie-buttons button {
  background: #be81bf;
  color: #fff;
  border: none;
  padding: 8px 16px;
  margin: 0 5px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
}

.cookie-banner.hidden {
  display: none;
}


/* FOOTER */

#footer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
  z-index: -1;
}

/*POLICY*/

.policy-header{
  margin: 2.5rem 0;
  font-size: 1.8rem;
  text-align: center;
}

.policy-paragraph{
  margin-bottom: 2.5rem;
}

.policy-paragraph h2{
  margin-bottom: 1rem;
  line-height: 24px;
  color: rgb(53, 53, 53);
}

.policy-paragraph p{
  line-height: 24px;
  margin-bottom: 0.5rem;
}

.policy-paragraph a{
  color: #be81bf;
  text-underline-offset: 0.5rem ;
}

.policy-paragraph li{
  margin-bottom: 1rem;

}

