:root {
    --verde-deschis: #CCF4E5;
    --verde: #1ECD8D;
    --verde-inchis: #056A46;
    --alb: #FFFFFF;
    --gri: #F4F4F4;
    --negru: #182527;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: auto;
    font-family: 'Nunito Sans', sans-serif;

}

.home {
    padding: 25px;
    width: 100%;
    // max-height: 100vh;
    min-height: 100vh;
    background-color: var(--alb);
    display: flex;
    justify-content: center;
    align-items: center;
    .logo {
        position: absolute;
        top: 0;
        left: 0;
    }
    .content {
        width: 100%;
        min-height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        
        padding-bottom: 0;
        img {
            width: 30%;
            height: auto;
            margin: 15px;
        }

        .text {
            width: 100%;
            display: flex;
            justify-content: space-around;
            align-items: center;
            p {
                font-size: 40px;
                color: var(--verde-inchis);
                span {
                    position: relative;
                    opacity: 0;
                    margin: 0;
                    animation: move-text 0.5s forwards;
                }


            }

            .button {

                font-size: 32px;
                padding: 5px 30px;
                color: var(--verde);
                background-color: var(--negru);
                border-radius: 50px;
                span {
                    animation: move-text 0.5s forwards;
                    opacity: 0;
                    position: relative;
                }
            }
        }
    }
}

.misiune {
    width: 100%;
    height: 100vh;
    background-color: var(--verde);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    .title {
        width: 100%;
        color: var(--alb);
        text-align: center;
        font-size: 48px;
    }
    .content {
        width: 100%;
        height: 70%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        gap: 10%;

        .harta {
            padding: 20px;
            background-color: var(--verde-inchis);
            border-radius: 25px;
            img {
                border-radius: 25px;
            }
            box-shadow: 0px 8px 36px -18px var(--gri);
            animation: pulse infinite ease;
        }

        .text {
            width: 30%;
            padding: 40px;
            background-color: var(--verde-deschis);
            font-size: 24px;
            border-radius: 25px;
            text-align: center;
            box-shadow: 0px 8px 36px -18px var(--gri);

        }
    }
}

.about {
    width: 100%;
    height: 100vh;
    background-color: var(--alb);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    .title {
        width: 100%;
        color: var(--verde);
        text-align: center;
        font-size: 48px;
    }
    .description {
        width: 60%;
        padding: 40px;
        text-align: center;
        font-size: 24px;
        font-weight: 200;
    }

    .owner {
        width: 50%;
        display: flex;
        justify-content: center;
        gap: 10px;
        align-items: center;
        .avatar {
            img {
                border-radius: 50%;
            }
        }
        .name {
            padding-left: 10px;
            border-left: 5px solid var(--verde);
            border-radius: 2px;
            p {
                font-weight: 400;
                color: var(--verde);
                font-size: 18px;
            }

            span {
                font-weight: 200;
                font-size: 14px;
            }
        }
    }
}

.echipa {
    width: 100%;
    height: 100vh;
    background-color: var(--gri);
    padding: 25px 7%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    .title {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 15px;
        p {
            text-align: center;
            font-size: 32px;
            width: 25%;
            color: var(--verde);
            text-align: left;
        }

        span {
            font-size: 24px;
            font-weight: 200;
        }


    }

    .team {
        background-color: var(--alb);
        padding: 25px;
        width: 100%;
        border-radius: 25px;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        .card {
            width: 300px;
            height: 500px;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            flex-direction: column;
            .avatar {
                width: 200px;
                height: 200px;
                img {
                    width: 100%;
                    height: 100%;
                    border-radius: 50%;
                }
            }
            .nume {
                font-size: 24px;
                color: var(--verde-inchis);
                font-weight: 400;
            }
        }
    }

}

.blog {
    width: 100%;
    height: 100vh;
    background-color: var(--verde-deschis);
    padding: 25px 7%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 24px;
    .posts {
        width: 100%;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        .post {
            width: 400px;
            height: 500px;
            background-color: var(--verde);
            border-radius: 25px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            .image {
                width: 100%;
                height: 200px;
                border-top-left-radius: 25px;
                border-top-right-radius: 25px;
                img {
                    object-fit: cover;
                    width: 100%;
                    height: 100%;
                    border-top-left-radius: 25px;
                    border-top-right-radius: 25px;
                }
            }

            .text {
                padding: 25px;
                color: var(--alb);
                width: 100%;
                height: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;
                flex-direction: column;
                .title {
                    width: 100%;
                    font-size: 24px;
                    text-transform: uppercase;
                    padding-bottom: 10px;
                }
                .content {
                    width: 100%;
                    font-size: 18px;
                    padding-top: 5px;
                    padding-bottom: 5px;
                }

                .link {
                    width: 100%;
                    text-align: center;
                    padding-top: 10px;

                    a {
                        color: var(--alb);
                        text-decoration: none;
                    }
                }
            }

        }
    }

    .redirect {
        width: 100%;
        font-size: 32px;
        text-align: center;
        a {
            text-decoration: none;
            color: var(--negru);
        }
    }

}



.formular {
    width: 100%;
    height: 100vh;
    background-color: var(--verde);
    padding: 25px 7%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    .form-area {
        width: 100%;
        height: 90%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        .form {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            flex-direction: column;
            input {
                outline: none;
                border: none;
                margin: 5px 0;
                width: 80%;
                height: 50px;
                border-radius: 50px;
                padding: 0 25px;
            }

            textarea {
                resize: none;
                outline: none;
                border: none;
                margin: 5px 0;
                width: 80%;
                border-radius: 25px;
                padding: 25px;
            }

            button {
                outline: none;
                border: none;
                margin: 5px 0;
                width: 80%;
                height: 50px;
                border-radius: 50px;
                padding: 0 25px;
                background-color: var(--verde-inchis);
                color: var(--alb);
                font-size: 18px;
            }

            button:hover {
                cursor: pointer;
                background-color: var(--negru);
            }


            p {
                font-size: 42px;
                font-weight: 500;
                color: var(--alb);
            }
        }

        .imagine {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            img {
                width: 80%;
            }
        }
    }
    .contact {
        width: 100%;
        background-color: var(--verde);
        height: 10%;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        .contact-info {
            p {
                color: var(--alb);
                font-weight: 300;
            }
            width: 250px;
            text-align: center;
            border-radius: 50px;
            padding: 5px 12px;
            background-color: var(--negru);
        }
    }
}


.nav {
    background-color: var(--verde);
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.041);
    img {
        width: 150px;
        cursor: pointer;
    }
}

.blog-class {
    width: 100%;
    padding: 25px;
    background-color: var(--gri);
    .blogs {
        width: 100%;
        min-height: 75vh;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 25px;

        .blog-item {
            width: 700px;
            height: 500px;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            flex-direction: row;
            box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.079);
            background-color: var(--verde);
            border-radius: 25px;
            .image {
                width: 40%;
                height: 100%;
                padding: 0;
                object-fit: cover;
                img {
                    display: block;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: 0;
                    border-top-left-radius: 25px;
                    border-bottom-left-radius: 25px;
                }


            }

            .content {
                width: 60%;
                height: 100%;
                display: flex;
                justify-content: space-between;
                align-items: flex-start;
                flex-direction: column;
                padding: 25px 45px;
                .title-blog {
                    width: 100%;
                    height: 10%;
                    display: flex;
                    flex-direction: row;
                    justify-content: space-between;
                    align-items: center;
                    p {
                        font-size: 24px;
                        text-transform: uppercase;
                        font-weight: 400;
                        color: var(--alb);
                    }

                    span {
                        color: var(--alb);
                        text-decoration: underline;

                    }
                }

                .content-blog {
                    width: 100%;
                    height: 70%;
                    p {
                        color: var(--alb);
                    }
                }

                .footer-blog {
                    width: 100%;
                    height: 10%;
                    text-align: end;
                    a {
                        color: var(--alb);
                        text-decoration: none;
                    }
                }
            }
        }
    }

    .pagination {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        button {
            width: 25px;
            height: 25px;
            outline: none;
            border: none;
            background-color: var(--verde);
            color: var(--alb);
        }

        button:hover {
            cursor: pointer;
            background-color: var(--verde-inchis);
        }
        span {
            width: 25px;
            height: 25px;
            text-align: center;
        }
    }
}

@media only screen and (max-width: 768px) {
    .home {
        flex-direction: column;
        .logo {
            position: relative;
        }
        .content {
            width: 100%;
            img {
                width: 50%;
            }
        .text {
            flex-direction: column;
            gap: 3px;
            p {
                font-size: 32px;
                text-align: center;
            }
            .button {
                font-size: 24px;
            }
        }
        }
    }

    .misiune {
        height: auto;
        justify-content: space-between;
        .title {
            font-size: 24px;
        }
        .content {
            flex-direction: column-reverse;
            justify-content: flex-start;
            align-items: center;
            gap: 30px;
            .harta {
                width: 100%;
                img {
                    width: 100%;
                }
            }
            
            .text {
                width: 100%;
                font-size: 14px;
            }
        }
    }

    .about {
        .title {
            font-size: 24px;
        }

        .description {
            width: 100%;
            font-size: 18px;
        }

        .owner {
            width: 100%;
            .avatar {
                img {
                    width: 80%;
                }
            }
        }
    }
    
    .echipa {
        height:  auto;
        .title {
            flex-direction: column;
            p, span {
                text-align: center;
                width: 100%;
                font-size: 18px;
            }
        }
        .team {
            flex-direction: column;
            gap: 0px;
        }
    }

    .blog-class {
        .blogs {
            .blog-item {
                flex-direction: column;
                .image {
                    width: 100%;
                    height: 30%;
                    img {
                        border-radius: 0;
                        border-top-right-radius: 25px;
                        border-top-left-radius: 25px;
                    }
                }

                .content {
                    width: 100%;
                    padding: 15px 35px;
                }
            }
        }
        .pagination {
            justify-content: center;
            button, span {
                width: 30px;
                height: 30px;
            }
        }
    }

    .blog {
        height:  auto;
        .posts {
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            gap: 10px;
            .post {
                width: 90%;
            }
        }
    }
    .formular {
        height: auto;
        .form-area {
            flex-direction: column;
            .form {
                p {
                    text-align: center;
                }
                input, button, textarea {
                    width: 100%;
                }
                font-size: 24px;
                align-items: center;
            }

            .imagine {
                display: none;
            }
        }

        .contact {
            margin-top: 10px;
            flex-direction: column;
            justify-content: flex-start;
            gap: 15px;
            .contact-info {
                width: 100%;
            }
        }
    }
}

@keyframes move-text {
    0% { bottom: -0.2em; opacity: 1; }
    50% { bottom: 0.2em; }
    100% { bottom: 0; opacity: 1; }
}

@keyframes pulse {
    0% {
        box-shadow: 0px 8px 36px -18px var(--gri);
    }

    50% {
        box-shadow: 0px 8px 36px 0px var(--gri);
    }

    100% {
        box-shadow: 0px 8px 36px -18px var(--gri);
    }
}