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

* {
    text-decoration: none!important;
}

/* Estilo para a Home */
.custom-home {
    background-position: center top;
    background-image: linear-gradient(180deg, rgba(150, 105, 97, 0.67) 0%, rgba(2, 0, 76, 0.84) 100%), url('./background.webp') !important;
    background-size: cover;
    width: 100%;
    height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 300px 10%;
}

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

.cta-container__col--card{
    background-color: rgba(36, 36, 76, 0.62);
    border-top: solid 7px #fa7f28;
    border-radius: 5px;
    padding: 20px 15px;
}

.cta-container__col-one{
    width: 60%;
    padding-right: 50px;
}

.cta-container__col-two{
    width: 40%;
    display: flex;
    justify-items: center;
    align-items: center;
}

.cta-container__col-two p{
    font-size: 14px!important;
    margin: 0 0 35px 0!important;
}

.cta-container__col-two h2{
    font-size: 1.5rem!important;
}

.cta-container__col--card h2{
    color: #fff;
}

.cta-container h1 {
    font-size: 80px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1em;
    text-shadow: 0em 0.1em 0.6em rgba(0, 0, 0, 0.6) !important;
    font-weight: 800;
}

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

.cta-container__button{
    background-color: #fff;
    color: #3c39e6!important;
    padding: 10px 15px;
    font-weight: 600;
    border-radius: 3px;
}

.cta-button {
    background-color: #fa7f28; 
    color: #ffffff;
    box-shadow: 0px 12px 30px 8px rgba(250, 127, 40, 0.15);
    font-weight: 700;
    padding: 10px 30px;
    font-size: 16px;
    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{
    background-color: #4e4e4e; 
    color: #fff;
}


@media(max-width:768px){
    .cta-container{
        flex-direction: column;
    }

    .cta-container h1 {
        font-size: 45px;
    }
    
    .cta-container p {
        font-size: 18px;
    }

    .cta-container__col-one{
        padding-right: 0px;
        width: 95%;
    }
    
    .cta-container__col-two{
        width: 90%;
        margin-top: 50px;
    }

    .cta-container__col--card{
        width: 80%;
    }

    .custom-home {
        padding: 360px 0 360px 5%;
    }
}

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: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
}

.posts h2{
    text-align: center;
}

.posts-articles article{
    max-width: 350px;
    margin: 40px auto 40px auto;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    border: 1px solid #6666667e;
    border-radius: 15px;
    min-height: 450px;
    box-shadow: 0px 5px 0px rgba(17,116,197);
}

.posts-articles article .post-content{
    padding: 15px 20px;
}

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

.posts-articles article img{
    width: 100%;
    height: 200px;
    border-radius: 15px 15px 0 0;
}

.onepress-menu a{
    text-transform: capitalize!important;
}

.all-posts-button{
    margin-top: 30px;
}

.second-section{
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.second-section__border{
    border-top: solid rgb(178,178,178) 5px;
    width: 100%;
}

.second-section__button{
    margin-bottom: -15px;
    margin-top: 30px;
    z-index: 100;
}

.second-section__button a{
    color: #fff;
    background-color: #3c39e6;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 700;
}

.third-section{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-top: 50px;
}

.third-section__card{
    width: 30%;
    min-height: 300px;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
}

.third-section__card h3{
    text-align: center;
    width: 100%;
}

.third-section__card svg{
    width: 55px;
    height: 55px;
    padding: 10px;
    fill: #fff;
}

.third-section__card--icon{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.third-section__card--icon div{
    background-color: #898F99;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.third-section__card p{
    text-align: center;
    color: #898F99;
}

.third-section__card a{
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    color: #3c39e6;
}

.fourth-section{
    background-color: #1D3C7E;
    margin: 40px 0;
    padding: 60px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fourth-section h2{
    font-size: 30px!important;
    text-align: center;
    width: 100%;
    color: #fff;
}

.fourth-section p{
    text-align: center;
    width: 100%;
    color: #fff;
    font-size: 18px!important;
}


.fourth-section form{
    display: flex;
    align-items: center;
    justify-content: center;
}

.fourth-section form label{
    max-width: 250px;
}

.fourth-section form input{
    border-radius: 5px;
    max-width: 250px;
}

.fourth-section form button{
    border: none;
    background-color: #2EA3F2;
    color: #fff;
    padding: 10px 20px;
}

.search-form .search-submit {
    margin: 0px 0 0 -2px!important;
}

.fifith-section{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    margin: 40px 0;
}

.fifith-section h2{
    font-size: 30px!important;
}

.fifith-section p{
    font-size: 18px!important;
    width: 50%;
    margin: 15px 0;
}

.fifith-section a{
    border: #2EA3F2 solid 2px;
    box-shadow: 0px 12px 30px 8px rgba(100, 100, 100, 0.15);
    background-color: #fff;
    color: #2EA3F2;
    font-weight: 600;
    padding: 10px 20px;
    font-size: 18px;
}

.fifith-section a:hover{
    background-color: #898F99;
    border: #fff solid 2px;
    color: #fff;
}

.post-CreatedByhHuman, .post-Cotacao{
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.post-CreatedByhHuman p{
    max-width: 300px;
    background-color: #0C71C3;
    color: #fff;
    border-radius: 20px;
    padding: 15px 10px;
}

.post-Cotacao a{
    background-color: #E09900;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    padding: 15px 15px;
}

.post-Cotacao a:hover{
    color: #fff;
}

@media(max-width: 700px){
    .posts-articles{
        grid-template-columns: 1fr;
    }

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

    .third-section__card{
        width: 100%;
        margin: 30px 0;
    }

    .third-section{
        flex-direction: column;
    }

    .third-section__card p{
        text-align: center;
        color: #898F99;
        font-size: 16px!important;
    }

    .fourth-section h2{
        font-size: 28px!important;
    }
    
    .fourth-section p{
        font-size: 16px!important;
    }
    
    .fifith-section h2{
        font-size: 26px!important;
    }
    
    .fifith-section p{
        font-size: 16px!important;
        width: 80%;
    }
}

