@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900');
@import url('https://fonts.googleapis.com/css2?family=Style+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Enriqueta:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap');


html {
    scroll-behavior: smooth;
}

*,
::after,
::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

    --main-accent-color: #3A795A;
    --main-accent-color-ligth-shade: #57b486;
    --main-gradient: -webkit-linear-gradient(24deg, rgb(151, 202, 55) 0%, rgb(73, 185, 197) 100%);

    --main-box-shadow: 8px 8px 50px 2px #3b7a5b, 0px 0px 20px -10px #1d3b2c inset;
    ;
}

body {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    overflow-x: hidden;
}

header {
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    left: 0;
    background-color: #ffffffab;
    backdrop-filter: blur(10px);
    z-index: 100;
}

nav {
    display: flex;
    align-items: center;
}

#logo {
    height: 100%;
}

#menu-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

#menu-items>a {
    all: unset;
    font-size: 16px;
    cursor: pointer;
}

#contact-btn {
    background-color: transparent;
    border: 1px solid var(--main-accent-color);
    height: 100%;
    padding: 18px;
    border-radius: 12px;
    display: grid;
    text-align: center;
    align-content: center;
    box-shadow: var(--main-box-shadow);
    text-decoration: none;
    color: black;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section {
    scroll-snap-align: center;
    padding-top: 100px;
}

section p {
    color: #474747;
    font-size: 18px;
}

#catchword {
    display: flex;
    flex-direction: column;
}

#catchword h1 {
    color: #333333;
    margin: 100px 0 10px;
    text-align: center;
    font-size: 46px;
    font-family: "Enriqueta", serif;
    font-weight: 600;
    font-style: normal;
}

#catchword p {
    text-align: right;
    font-size: 20px;
    font-family: "Style Script", cursive;
    font-weight: 700;
    font-style: normal;
    padding-right: 50px;
    margin-bottom: 50px;
    color: #333;
}

#catchword span {
    color: #6e883f;
    background: var(--main-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: rgba(126, 150, 82, 0.822) 15px 0 20px;
}

#catchword #buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 0;
    height: 59px;
}

#catchword a {
    text-decoration: none;
    font-weight: 400;
    transform: scale(1);
    font-size: 16px;
    background-color: transparent;
    border: 1px solid var(--main-accent-color);
    height: 100%;
    padding: 18px;
    border-radius: 12px;
    display: grid;
    text-align: center;
    align-content: center;
    box-shadow: 8px 8px 65px 2px rgba(96, 118, 55, 0.75), 0px 0px 20px -10px rgba(96, 118, 55, 0.75) inset;
    color: #222;

}

#catchword #buttons :nth-of-type(1) {
    background: var(--main-gradient);
    border: none;
    color: white;
}

#catchword #buttons :nth-of-type(1) a {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: rgb(0, 0, 0) 15px 0 20px;
}


#about {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin-bottom: 0;
}

#about img {
    width: 400px;
    margin: 60px;
    border-radius: 12px;
}

#about p {
    text-align: center;
    margin: 16px 0;
}

#about h2 {
    color: #474747;
    text-align: center;
    font-size: 52px;
    font-family: "Staatliches", sans-serif;
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 20px;
}

#about-cover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 1) 100%);
    width: 100%;
    height: 300px;
    position: relative;
    bottom: 250px;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    padding: 80px;
    cursor: pointer;
    opacity: 1;
    transition-duration: 300ms;

}

#about-cover p {
    color: #000000;
    animation: side-dots 3s;
    animation-iteration-count: infinite;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    transition-duration: 200ms;
    font-size: 14px;
}

#about-cover #dots {
    display: flex;
    gap: 3px;
    align-items: flex-end;
    justify-content: center;
}

#about-cover #dots :nth-child(1) {
    animation: side-dots 3s;
}

#about-cover #dots :nth-child(2) {
    animation: in-between-dots 3s;
}

#about-cover #dots :nth-child(3) {
    animation: center-dot 3s;
}

#about-cover #dots :nth-child(4) {
    animation: in-between-dots 3s;
}

#about-cover #dots :nth-child(5) {
    animation: side-dots 3s;
}

#about-cover #dots .dot {
    border: 2px solid var(--main-accent-color);
    height: 8px;
    width: 8px;
    border-radius: 8px;
    animation-iteration-count: infinite;
}


@keyframes side-dots {
    0% {
        transform: translateY(-20px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(-20px);
    }
}

@keyframes in-between-dots {
    0% {
        transform: translateY(-15px);
    }

    50% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-15px);
    }
}

@keyframes center-dot {
    0% {
        transform: translateY(-10px);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}

#education {
    display: none;
    margin-top: 0;
    padding-top: 0;
}

#education ul {
    list-style: none;
    margin: 80px 0;
    padding: 0;
    position: relative;
}

#education ul li h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #222;
    font-weight: 400;
}

#education ul li p {
    font-size: 16px;
    color: #474747;
}

#education ul li:not(:last-of-type):after {
    content: "";
    display: inline-block;
    width: 2px;
    background: var(--main-accent-color-ligth-shade);
    position: absolute;
    left: 3px;
    top: 10px;
    height: calc(100% + 15px);
    box-shadow: 3px 3px 10px 0px rgb(131, 131, 131);
}

#education ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#education li.visible {
    opacity: 1;
    transform: translateY(0);
}

#education ul li:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--main-accent-color-ligth-shade);
    position: absolute;
    left: 0;
    top: 7px;
    line-height: 24px;
    border-radius: 10px;
    box-shadow: 3px 3px 10px 0px rgb(131, 131, 131);
}

#education>h3 {
    font-size: 20px;
    margin-top: 60px;
    margin-bottom: 20px;
}


#offer {
    display: flex;
    flex-direction: column;
    padding-top: 0;
    transition-duration: 1000ms;
}


#offer h2 {
    text-align: center;
    color: #474747;
    font-size: 52px;
    font-family: "Staatliches", sans-serif;
    font-weight: 500;
}

#offer>div {
    display: grid;
    gap: 20px;
    margin: 32px 0;
}

#offer #cards>div {
    transition-duration: 500ms;
    transform: scale(1);
}

#offer #cards>div:hover {
    transform: scale(1.05);
}

#offer div div {
    padding: 32px;
    border: 1px solid #adadad;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#offer h3 {
    font-size: 36px;
    font-family: "Staatliches", sans-serif;
    font-weight: 500;
    color: var(--main-accent-color);
    font-weight: 500;
}

#offer>p {
    text-align: center;
    margin: 16px 0;
}

#offer div div p {
    color: #474747;
    font-size: 18px;
}

#offer .price {
    font-size: 16px;
}

#offer a {
    color: #474747;
    text-decoration: none;
    width: 100%;
    background-color: transparent;
    border: 1px solid var(--main-accent-color);
    height: 100%;
    padding: 18px;
    border-radius: 12px;
    display: grid;
    text-align: center;
    align-content: center;
    font-size: 14px;
}

#offer ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#offer li {
    color: #474747;
    list-style-position: inside;
}

#offer #disclaimer {
    font-style: italic;
    font-size: 14px;
    color: #222;
}

#opinions-list {
    display: grid;
    gap: 20px;
    width: 100%;
    justify-content: center;
}

#opinions {
    width: 100%;
    height: 550px;
    margin-bottom: 200px;
}

#opinions h2 {
    color: #474747;
    text-align: center;
    font-size: 52px;
    font-family: "Staatliches", sans-serif;
    font-weight: 500;
    margin-bottom: 40px;
}

#opinions>p {
    text-align: center;
    margin-top: 16px;
    margin-bottom: 32px;
}

.opinion {
    border: 1px solid #adadad;
    border-radius: 12px;
    padding: 20px;
    transition: ease-in-out;

    display: grid;
    grid-template-rows: auto auto;
    gap: 20px;
}

.opinion .name {
    display: flex;
    align-items: flex-start;
}

.opinion .name h3 {
    color: #202020;
    font-weight: 500;
    margin-top: 8px;
}

#fadepanel {
    display: flex;
    justify-content: space-between;
    position: relative;
    /* bottom: 325px; */
    /* height: 350px; */
}

#fadel {
    height: auto;
    width: 300px;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

#fader {
    height: auto;
    width: 300px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

#contact {
    padding: 120px calc((100% - 800px)/2);
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 20px;
    background-color: #222;
    width: 100%;
    margin-bottom: 0;
}

#contact #map {
    /* border: 1px solid #adadad; */
    border-radius: 12px;
    height: 300px;
}

#contact #map iframe {
    border-radius: 12px;
    width: 100%;
    height: 100%;
}

#contact #contact-info {
    padding: 32px;
    padding-right: 0;
    /* border: 1px solid #adadad; */
    border: none;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#contact-info>p {
    font-size: 16px;
    color: #ddd;
    text-align: right;
}

footer {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #222;
}

footer p {
    backdrop-filter: blur(10px);
    text-align: center;
    width: 100%;
}

footer div {
    background-color: #3a795a70;
    padding: 24px;
    width: 100%;
    max-width: 1000px;
    border-radius: 12px;
}

@media (min-width: 1100px) {

    #opinions-list {
        grid-template-columns: repeat(7, 1000px);
    }

    header {
        padding: 20px 100px;
    }

    nav {
        width: 1000px;
        height: 50px;
        justify-content: space-between;
    }

    footer {
        padding: 80px 20px;
    }

    section {
        /* margin: 100px 0; */
        width: 1000px;
    }

    #offer div {
        grid-template-columns: repeat(3, 320px);
    }

    #offer h3 {
        height: 92px;
    }

    #contact {
        padding: 120px calc((100% - 800px)/2);
    }

}

@media (min-width: 700px) and (max-width: 1100px) {

    #opinions-list {
        grid-template-columns: repeat(7, 700px);
    }

    header {
        padding: 20px 0;
    }

    nav {
        width: 100%;
        height: 50px;
        justify-content: space-around;
    }

    footer {
        padding: 80px 20px;
    }

    section {
        width: 90%;
    }

    #offer div {
        gap: 24px;
    }

    #contact {
        padding: 120px calc((100% - 90%)/2);
    }
}

@media (min-width: 600px) and (max-width: 800px) {
    #opinions-list {
        grid-template-columns: repeat(7, 90%);
    }

    #fadel,
    #fader {
        width: 200px;
    }
}

@media (max-width: 700px) {
    header {
        padding: 20px 0;
        height: 60px;
        padding: 0;
        display: flex;
        align-items: center;
    }

    nav {
        width: 100%;
        height: 40px;
        justify-content: space-around;
    }

    nav #logo {
        height: 35px;
    }

    nav #contact-btn {
        padding: 8px;
        height: fit-content;
        font-size: 14px;
        border-radius: 8px;
    }

    section {
        padding: 20px;
    }

    #about {
        width: 100%;
        padding: 20px;

    }

    #about>p {
        text-align: justify;
    }

    #about>img {
        width: 70%;
    }

    section:has(#fadepanel) {
        padding: 0;
    }

    #opinions > p {
        margin: 20px 10px;
    }

    #contact {
        padding: 120px 20px;
        display: flex;
        flex-direction: column;
    }

    #contact *>p {
        text-align: center;
    }

    #contact-info {
        padding: 32px !important;
    }

    footer {
        padding: 20px 20px;
    }
}

@media (max-width: 600px) {
    #about > p,  #cards > div > p:not(.price){
        font-size: 16px;
    }

    #opinions-list {
        grid-template-columns: repeat(7, 95%);
    }

    .opinion {
        height: auto;
    }

    .opinion>p {
        margin-bottom: 20px;
        font-size: 16px;
    }

    #catchword h1 {
        font-size: 28px;
    }

    #fadel,
    #fader {
        width: 50px;
    }

}