@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wdth,wght@0,75..100,300..800;1,75..100,300..800&display=swap');

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

body {
    font-family: "Open Sans", serif;
    background: no-repeat url("../../media/img/fundo.jpg"), linear-gradient(215deg, #004AAD, #102550);
    background-size: contain;   
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #C0CFEE;
}

.menu_lateral {
    position: fixed;
    margin-top: 50px;
    left: 0;
    width: 100px;
    height: 80%;
    border-top-right-radius: 20px;
    border-end-end-radius: 20px;
    background-color: rgba(255, 255, 255, .47);
    z-index: 1;
    box-shadow: 5px 5px 40px 5px;
}

.button_menu {
    width: 50px;
    height: 50px;
    margin: 30px auto 10px;
}

.button_menu i {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
}

.button_menu i:hover {
    color: rgb(224, 224, 224);
    transition: all .5s ease-in;
}

.bottom {
    margin-top: 60%;
}

.content_body {
    margin: 0 0 10% 10%;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.content_body > img {
    margin: 2% auto auto;
    width: 400px;
}

.button_link {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    width: 70%;
    height: 20%;
}

.link_btn {
    margin-left: 15%;
    width: 120px;
    height: 120px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, .8);
    font-weight: 700;
    text-align: center;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 12px;
    transition: all .5s ease;
    color: rgba(20, 93, 196, 0.84);
}

.link_btn:hover {
    background-color: rgba(255, 255, 255, .6);
    color: rgba(0, 0, 0, .6);
}

.link_btn #img1 {
    width: 100px;
    
}

.center_text {
    width: 50%;
    letter-spacing: 1.5px;
    margin: 5%;
    text-align: justify;
}

.center_text > p {
    margin-bottom: 5%;
}

.slider {
    position: relative;
    max-width: 70%;
    height: 500px;
    overflow: hidden;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
    transition: all .5s ease-in;
}

.slider:hover {
    max-width: 90%;
    height: 600px;
}

.slides {
    display: flex;
    transition: transform .5s ease-in-out;
    width: 100%;
}

.slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.navigation button {
    background-color: rgba(0, 0, 0, .5);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 50%;
    transition: background-color .3s;
}

.navigation button:hover {
    background-color: rgba(0, 0, 0, .8);
}

.dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dots button {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, .5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color .3s;
}

.dots button.active {
    background-color: rgba(255, 255, 255, 1);
}

@media only screen and (max-width: 460px) {

    body {
        background-image: url("../../media/img/fundo.jpg");
        background-repeat: no-repeat;
        background-size: cover;
    }

    .menu_lateral {
        bottom: 31px;
        width: 90%;
        height: 100px;
        left: 5%;
        background-color: rgba(255, 255, 255, .85);
        box-shadow: 5px 5px 30px 5px;
        border-top-right-radius: 20px;
        border-top-left-radius: 20px;
        border-end-end-radius: 0px;
        display: flex;
    }
    
    .button_menu {
        width: 10px;
        height: 10px;
        margin: 45px 27px;
    }

    .bottom {
        margin-top: 45px;
    }

    .content_body {
        margin-bottom: 300px;
    }

    .button_link {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 10%;
    }

    .link_btn {
        margin-left: 0;
        width: 90px;
        height: 90px;
        border-radius: 10px;
        background-color: rgba(255, 255, 255, .7);
        font-weight: 700;
        text-align: center;
        padding: 0px;
        gap: 5px;
        cursor: pointer;
        font-size: 10px;
    }

    .link_btn #img1 {
        width: 70px;
    }

    .center_text {
        width: 70%;
    }

    .button_menu i {
        color: rgba(18, 117, 255, .64);
    }

    .slider {
        height: 200px;
    }

    .slider:hover {
        max-width: 90%;
        height: 220px;
    }

    .slides img {
        object-position: center center;
    }

    .navigation button {
        font-size: 20px;
        padding: 8px 16px;
    }

    .dots button {
        width: 10px;
        height: 10px;
    }
}