/*
 Theme Name: onepress child
 Template: onepress
*/

/* Estilo para a Home */
.custom-home {
    background-image: url('./background.webp'); /* Substitua pelo link da sua imagem */
    background-size: cover;
    background-position: center;
    width: 100%;
    height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
}

.cta-container {
    text-align: left;
    color: white;
}

.cta-container h1 {
    font-size: 80px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
}

.cta-container p {
    font-size: 35px;
    margin: 0 0 70px 0;
}

.cta-button {
    background-color: #ffffff; 
    color: #010037;
    font-weight: 700;
    padding: 20px 35px;
    font-size: 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    transition: 0.3s all ease-in-out;
    text-transform: uppercase;
    text-decoration: none!important;
}

.cta-button:hover{
    transform: scale(0.9);
    background-color: #4e4e4e; 
    color: #fff;
}


@media(max-width:700px){
    .cta-container h1 {
        font-size: 45px;
    }
    
    .cta-container p {
        font-size: 25px;
    }
    
    .cta-button {
        font-size: 25px;
    }
}

header img{
    width: 200px;
}

.onepress-menu a{
    font-size: 16px!important;
}

nav ul ul .sub-menu{
    overflow-y: scroll!important;
    max-height: 400px!important;
}

.contact{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4% 10%;
    background-color: #f5f5f5;
    flex-direction: column;
}

.contact p{
    font-size: 30px;
    text-align: center;
    font-weight: 700;
}

.contact p a{
    text-decoration: none;
}

.contact p span{
    font-size: 28px;
    color: #010037;
}

.posts{
    padding: 0 5%;
    margin: 35px 0;
}

.posts-articles{
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
}

.posts h2{
    text-align: center;
}

.posts-articles article{
    max-width: 350px;
    width: 30%;
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
    border: 1px solid #6666667e;
    border-radius: 15px;
    padding: 15px 20px;
    min-height: 500px;
    box-shadow: 3px 2px 15px rgba(0, 0, 0, 0.4);
}

.posts-articles article h3{
    margin: 0;
    padding-top: 10px;
}

.posts-articles article img{
    width: 100%;
    height: 200px;
    margin: 20px 0;
}

@media(max-width: 700px){
    .posts-articles{
        flex-direction: column;
    }

    .posts-articles article{
        width: 90%;
        margin: 20px 0;
    }
}