/*---------------------Roots-----------------*/

:root {
    ---red: #e9413a;
    ---white: #ffffff;
    ---grey: #4a4a4a;
    ---black: #134ba1;
    --lightgrey: #858585;
    ---border: #eeeeee;
    ---yellow: #ffe127;
}

/*---------------------Roots-----------------*/

.news {
    margin-top: 130px;
}

.news .container {
    background-image: url(img/contactback.jpg);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 438px;
    border-radius: 20px;
    flex-direction: column;
}

.news .container h1 {
    color: var(---white);
    font-size: 70px;
    text-align: center;
}

.news .container p {
    color: var(---white) !important;
    font-size: 15px;
    font-weight: 500;
    margin-top: 20px;
    text-align: center;
    line-height: 35px;
}

.news .container button {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 250px;
    height: 70px;
    background-color: var(---yellow);
    border-radius: 10px;
    font-size: 16px;
    color: var(---black);
    font-weight: 700;
    padding: 0px 10px;
    cursor: pointer;
}

.news .container button:hover {
    /* color: var(---white); */
}

.news .container button i {
    width: 60px;
    height: 50px;
    border-radius: 10px;
    background-color: var(---red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(---white);
    font-size: 20px;
}

.news .container button:hover i {
    animation: wobble 2s ease infinite;
}

@keyframes wobble {
    0% {
        transform: translateX(0%);
    }

    15% {
        transform: translateX(-25%) rotate(-5deg);
    }

    30% {
        transform: translateX(20%) rotate(3deg);
    }

    45% {
        transform: translateX(-15%) rotate(-3deg);
    }

    60% {
        transform: translateX(10%) rotate(2deg);
    }

    75% {
        transform: translateX(-5%) rotate(-1deg);
    }

    100% {
        transform: translateX(0%);
    }
}

.news .container .button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.news .container #btn2 {
    width: 230px;
    height: 70px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(---black);
    font-size: 16px;
    background-color: var(---yellow);
    margin: 0px 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.news .container #btn2:hover {
    transform: translateY(-5px);
    transition: 0.2s all ease-in-out;
}










/* media quries */

@media (max-width:1772px) {
    section {
        padding: 20px 100px;
    }
}

@media (max-width:1674px) {
    section {
        padding: 20px 80px;
    }

}

@media (max-width:1590px) {
    section {
        padding: 20px 60px;
    }
}

@media (max-width:1486px) {}

@media (max-width:1390px) {
    section {
        padding: 20px 40px;
    }
}

@media (max-width:1280px) {

    html {
        font-size: 80%;
    }

    section {
        padding: 20px 20px;
    }

    .news {
        margin-top: 120px;
    }
}

@media (max-width:1080px) {
    section {
        padding: 20px 15px;
    }

    .news {
        margin-top: 100px;
    }

}

@media (max-width:920px) {
    .news .container {
        height: 320px;
    }

    .news .container h1 {
        font-size: 50px;
    }

    .news .container form input {
        width: 250px;
        height: 60px;
        font-size: 16px;
        padding-left: 15px;
    }

    .news .container button {
        width: 250px;
        height: 60px;
    }

    .news {
        margin-top: 80px;
    }

    .news .container p {
        font-size: 16px;
        margin-top: 20px;
        text-align: center;
        line-height: 30px;
    }
}

@media (max-width:820px) {
    .news .container {
        height: 300px;
    }

    .news .container h1 {
        font-size: 40px;
    }

    .news .container button {
        width: 200px;
        height: 55px;
    }

    .news .container button i {
        width: 50px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width:780px) {

    section {
        padding: 20px 10px;
    }

    .news {
        margin-top: 60px;
    }

    .news .container button {
        font-size: 14px;
        margin-top: 10px;
    }
}

@media (max-width:690px) {}

@media (max-width:550px) {
    .news .container {
        height: 280px;
    }

    .news .container h1 {
        font-size: 30px;
    }

    .news .container button {
        width: 200px;
        height: 55px;
        font-size: 14px;
        margin-top: 10px;
    }

    .news .container button i {
        width: 50px;
        height: 40px;
        font-size: 16px;
    }

    .news {
        margin-top: 40px;
    }

    .news .container p {
        font-size: 16px;
        margin-top: 15px;
    }

    .news .container #paranews {
        font-size: 12px;
        line-height: 25px;
        margin-top: 15px;
    }

    .news .container #btn2 {
        width: 150px;
        height: 50px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(---black);
        font-size: 10px;
        background-color: var(---white);
        margin: 0px 5px;
        margin-top: 15px;
        flex-wrap: wrap;
    }
}

@media (max-width:500px) {}

@media (max-width:430px) {
    .news .container {
        height: 200px;
    }

    .news .container h1 {
        font-size: 25px;
    }

    .news .container button {
        width: 160px;
        height: 55px;
        margin-top: 0px;
        font-size: 10px;
        margin: 0px 0px;
        margin-top: 15px;
    }

    .news .container button i {
        width: 50px;
        height: 40px;
        font-size: 16px;
    }

    .news {
        margin-top: 30px;
    }

    .news .container p {
        font-size: 12px;
    }

    .news .container #paranews {
        font-size: 9px;
        line-height: 18px;
        margin-top: 15px;
    }

    .news .container #btn2 {
        width: 120px;
        height: 45px;
        border-radius: 10px;
        font-size: 8px;
        background-color: var(---white);
        margin: 0px 5px;
        margin-top: 15px;
        flex-wrap: wrap;
    }
}

@media (max-width:400px) {
    .news .container h1 {
        font-size: 22px;
    }

    .news .container #paranews {
        font-size: 8px;
        line-height: 18px;
        margin-top: 15px;
    }
}

/* media quries */