*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: zain;
    text-decoration: none;
    list-style: none;
    color: var(--black-color);
}

:root {
    --first-color : #93BF9A;
    --secondary-color : #B19BBF;
    --third-color : #3a4031;
    --white-color : #f2f2f2;
    --yellow-color : #cbd982;
    --black-color : #2e2e2e;
}

body {
    background-color: var(--white-color);
}

h1 {
    text-align: center;
    font-size: 3rem;
}


/* MODAL */
div.modal-container {
    display: none;
    z-index: 2;
    position: fixed;
    height: 100%;
    width: 100%;
    background-color: #2e2e2e77;
    justify-content: center;
    align-items: center;
}
div.modal-container div.content {
    background-color: var(--yellow-color);
    padding: 1rem;
    border-radius: 1rem;
    width: 40%;
    height: 90%;
    position: relative;

    font-size: 1.5rem;
}

div.modal-container div.content form input {
    height: 2rem;
    padding: .5rem;
    border-radius: .5rem;
    border: none;
}

div.modal-container div.content form div.names {
    width: 100%;
    display: flex;
}

div.modal-container div.content form div.name,
div.modal-container div.content form div.last-name {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

div.modal-container div.content form div.mail {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

div.modal-container div.content form div.phone {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

div.modal-container div.content form div.experience {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

div.modal-container div.content form div.experience div.response {
    display: flex;
    align-items: center;
}

div.modal-container div.content form div.experience div.response div.experience-yes-container,
div.modal-container div.content form div.experience div.response div.experience-no-container {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

div.modal-container div.content form div.experience div.response div.experience-yes-container input[type= radio],
div.modal-container div.content form div.experience div.response div.experience-no-container input[type= radio] {
    margin-left: 1rem;
    transform: scale(1.2);
}

div.modal-container div.content form div.experience label {
    font-size: 1.5rem;
}

div.modal-container button {
    border: none;
    padding: .5rem 1rem;
    border-radius: 1rem;
    font-size: 1.2rem;
    cursor: pointer;
}

div.modal-container button#closeModal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--first-color);
}

div.modal-container button.submit {
    margin-left: 1rem;
    background-color: var(--secondary-color);
}

/* POSTS */

section.posts {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

section.posts div.post {
    width: 400px;
    height: 440px;
    padding: 1rem;
    border-radius: .5rem;
    background-color: var(--first-color);
    cursor: pointer;
}

section.posts div.post img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

section.posts div.post a {
    font-size: 1.2rem;
}

footer {
    height: 50vh;
}
footer section.info-footer{
    height: 100%;
}

@media screen and (max-width: 992px) {
    html {
        font-size: 12px;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 10px;
    }
    section.posts div.post {
        height: fit-content;
    }
}
@media screen and (max-width: 600px)  {
    section.posts div.post {
        width: 100%;
    }
    section.posts div.post {
        background-color: var(--yellow-color);
    }
}