:root {
    --lilla-color: #3A3559;
    --light-blue: #F2F9FF;
    --blue: #94E1F2;
    height: 100%;
    width: 100%;
}

*,
*::after,
*::before {
    box-sizing: border-box;
}



html,body
{
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
}

body {
    margin: 0px;
    padding: 0px;
    font-family: 'Ubuntu', 'Open Sans', sans-serif;
}

.wrapper {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 10px;
        padding-right: 10px;
    }

header {
    background-color: #F2F9FF;
    width: 100%;
}

.logo img {
    height: 28px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1180px;
    margin-left: 0;
    margin-right: 0;
    position: absolute;
    top: 0px;
    z-index: 100;
    padding-top: 12px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.waves-overlay {
    background-image: url(images/OOR_LanzaroteZafiroWeb_waves.svg);
    background-repeat: repeat-x;
    height: 40px;
    position: relative;
    top: 10px;
}

html {
    scroll-behavior: smooth;
}

.cookie-popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f0f0f0;
    padding: 10px;
    text-align: center;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-popup p {
    padding-top: 20px;
    padding-bottom: 20px;
}

.accept-cookies {
    padding: 12px 28px;
    border-radius: 18px;
    color: #F2F9FF;
    background-color: #3A3559;
    display: inline-block;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    cursor: pointer;
    border: none;
}

.reject-cookies {
    padding: 12px 28px;
    border-radius: 18px;
    color: #3A3559;
    background-color: #F2F9FF;
    display: inline-block;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    cursor: pointer;
    border: none;
}

/* Styling for the popup container */
.popup-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%; /* Set a maximum width for the popup */
    max-height: 80%; /* Set a maximum height for the popup */
    overflow: auto; /* Enable scrolling if content overflows */
    padding: 20px 30px;
    background-color: white;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    z-index: 1000;
    border-radius: 10px;
  }
  
  /* Styling for the close button */
  .popup-close {
    display: block;
    margin:  0 0 20px auto;
    background-color: transparent;
    font-size: 18px;
    color: #ffffff;
    background: #3A3559;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    border: none;
    outline: none;
    cursor: pointer;
  }

  .popup-trigger {
    color: #ffffff;
    background-color: #3A3559;
    font-family: Open Sans, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 0;
    margin: 0;
    border: none;
  }



/* Text */


h1 {
    color: #3A3559;
    font-family: Ubuntu, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 0;
    margin: 0;
}

h4 {
    color: #3A3559;
    font-family: Ubuntu, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 0;
    margin: 0;
}

p {
    color: #3A3559;
    font-family: Open Sans, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 0;
    margin: 0;
}

/* Buton */

.btn {
    padding: 12px 28px;
    border-radius: 18px;
    color: #F2F9FF;
    background-color: #3A3559;
    display: inline-block;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    border: none;
}

.submit-btn {
    padding: 12px 28px;
    border-radius: 18px;
    color: #F2F9FF;
    background-color: #3A3559;
    display: inline-block;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}


/* Hereo section */

.hero-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.hero-container .left {
    max-width: 380px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.hero-container .right {
    align-self: center;
}

.hero-container .right img {
    max-height: 612px;
    width: 100%;
    vertical-align: middle;
}

.hero-container h1 {
    margin: 0;
    padding-bottom: 20px;
}

.hero-container p {
    margin: 0;
    padding-bottom: 40px;
}

.waves-overlay {
    width: 100%;
}

/* Advantage section */

.advantage-section {
    padding-top: 90px;
    padding-bottom: 120px;
    background-color: #94E1F2;
    flex-direction: column;
}

.advantage-section h1 {
    text-align: center;
    align-items: center;
    padding-bottom: 20px;
}

.advantage-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 70px;
}

.advantage-section-text {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.advantage-section-text p {
    max-width: 540px;
    text-align: center;
}

.advantage-card {
    width: 280px;
    position: relative;
    justify-content: space-between;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 10px;
    margin-top: 65px;
    padding: 64px 24px 28px 24px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}

.advantage-text {
    margin: 0;
    padding: 0;
}

.advantage-card img {
    height: 80px;
    position: absolute;
    top: -40px;
    right: 105px;
    align-self: center;
    margin: 0;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}

.advantage-card h4 {
    padding: 0;
}

.advantage-card p {
    text-align: left;
    color: #3A3559;
    font-family: Open Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    padding-top: 4px;
    margin: 0;
}

/* Services section */

.services-section {
    padding-top: 90px;
    padding-bottom: 120px;
    padding-bottom: 54px;
    background-color: #F2F9FF;
}

.services-section h1 {
    text-align: center;
    align-items: center;
    padding-bottom: 60px;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    flex: 2;
    justify-content: center;
    gap: 20px;
}

.services-card {
    width: 180px;
    height: 160px;
    display: flex;
    flex-direction: column;
}

.services {
    align-self: center;
    align-items: center;
    justify-content: center;
}

.services h4 {
    width: 120px;
    text-align: center;
    padding-top: 8px;
}

.services-card img {
    height: 52px;
    margin: 0;
}

/* Overview section */

.overview-section {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #3A3559;
}

.overview-card h1 {
    text-align: center;
    align-items: center;
    color: #F2F9FF;
    font-family: Ubuntu, sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: normal;
}

.overview-card p {
    text-align: center;
    align-items: center;
    color: #F2F9FF;
    font-family: Ubuntu, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;

}

.overview-card {
    width: 180px;
    position: relative;
    justify-content: space-between;
    justify-content: center;
    align-content: center;
    text-align: center;
}

.overview-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 20px;
}


/* Images section */

.images-section {
    width: 100%;
    padding-top: 90px;
    padding-bottom: 120px;
    background-color: #F2F9FF;
}

.images-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.images-container .left {
    max-width: 380px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.images-section p {
    margin-top: 20px;
    margin-bottom: 40px;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 580px;
}

.gallery-container img {
    width: 180px;
}

.gallery-container img:hover {
    transform: scale(1.1);
}

.images-display-none {
    display: none;
}

/* Testimonial section */

.testimonial-section {
    width: 100%;
    padding-top: 80px;
    padding-bottom: 90px;
    background-color: #f2e2ce;
}

.testimonial-section h1 {
    text-align: center;
}

.testimonial-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 40px;
}

.testimonial-card {
    max-width: 480px;
    background-color: #ffffff;
    border-radius: 10px;
    margin-top: 40px;
    padding: 10px 35px 40px 35px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}

.testimonial-card img {
    height: 60px;
    position: relative;
    top: -30px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}

.testimonial-card p {
    font-style: italic;
}

/* Contact section */

.contact-section {
    width: 100%;
    padding-top: 80px;
    padding-bottom: 90px;
    background-color: #F2F9FF;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    align-items: normal;
    justify-content: center;
    gap: 20px;
    padding-top: 40px;
}

.contact-container p {
    margin-top: 20px;
}

.contact-container .left {
    max-width: 480px;
    width: 100%;
    word-wrap: break-word;
    padding-bottom: 60px;


}

.contact-container .right {
    max-width: 480px;
    width: 100%;
    word-wrap: break-word;
}

.form-container {
    display: flex;
    flex-wrap: wrap;
    word-wrap: break-word;
    width: 100%;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 40px 35px 40px 35px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);

}


input {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    padding-bottom: 40px;
    border: none;
    border-bottom: 2px solid #3A3559;
    height: 32px;
    color: #3A3559;
    font-family: Open Sans, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 30px;
}

textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid #3A3559;
    color: #3A3559;
    font-family: Open Sans, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 0;
    margin: 0;
}

.g-recaptcha {
    display: inline-block;
    transform: scale(0.85); /* Adjust the scaling factor as needed */
    transform-origin: 0 0;

}

form {
    width: 100%;
}

.placeholder {
    width: 100%;
}

#status {
    text-align: center;
    margin-top: 15px;
    color: green;
    font-weight: bold;
}



/* Footer */

footer {
    width: 100%;
    background-color: #3A3559;
    padding-top: 40px;
    padding-bottom: 10px;
}
 .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
 }

footer p {
    text-align: right;
    color: #F2F9FF;

}

footer li {
    text-align: right;
    color: #F2F9FF;

}

footer ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 30px;
    color: #F2F9FF;
}


/* Media Query*/


/* xl */

@media (max-width: 1200px) {
    .wrapper {
        max-width: 1024px;
    }
    nav {
        width: 100%;
        max-width: 1004px;
    }
    .hero-container {
        flex-direction: column-reverse;
        justify-content: center;
    }

    .hero-container .right {
        align-self: center;
    }

    .images-container {
        flex-direction: column;
    }

    input {
        width: 100%;
    }
}

/* lg */
@media (max-width: 1024px) {
    .wrapper {
        max-width: 768px;
    }
    nav {
        width: 100%;
        max-width: 748px;
    }
    .hero-container {
        flex-direction: column-reverse;
        justify-content: center;
    }

    .hero-container .right {
        align-self: center;
    }

    .images-container {
        flex-direction: column;
    }

      input {
        width: 100%;
    }
}

/* md */
@media (max-width: 768px) {
    .wrapper {
        max-width: 640px;
    }
    nav {
        width: 100%;
        max-width: 620px;
    }
    .hero-container {
        flex-direction: column-reverse;
        justify-content: center;
    }

    .hero-container .right {
        align-self: center;
        transform: translateY(10px);

    }
    .images-container {
        flex-direction: column;
    }

      input {
        width: 100%;
    }
}

/* sm */
@media (max-width: 640px) {
    .wrapper {
        max-width: 475px;
    }
    nav {
        width: 100%;
        max-width: 455px;
    }
    .hero-container {
        flex-direction: column-reverse;
        justify-content: center;
    }

    .hero-container .right {
        align-self: center;
        transform: translateY(20px);

    }
    .images-container {
        flex-direction: column;
    }

      input {
        width: 100%;
    }
}

/* xs */
@media (max-width: 475px) {
    .wrapper {
        width: 100%;
    }
    nav {
        width: 100%;
        transform: scale(0.95); /* Adjust the scaling factor as needed */
        transform-origin: 0 0;
    }
    .hero-container {
        flex-direction: column-reverse;
        justify-content: center;
    }

    .hero-container .right {
        align-self: center;
        transform: translateY(30px);
    }
    .images-container {
        flex-direction: column;
    }

      input {
        width: 100%;
    }
}




