@media screen and (max-width: 510px) {
    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        font-family: Arial, Helvetica, sans-serif; 
        overflow-x: hidden;
    }
    
    body {
        background-color: antiquewhite;
    }
    
    header {
        width: 100vw;
        color: white;
        display: flex;
        justify-content: start;
        align-items: center;
        background: url('../images/pexels-pixabay-326333.jpg');
    }
    
    main {
        width: 100vw;
    }
    
    .apresentacao {
        width: 100%;
        height: 300px;
        font-size: 20px;
        text-align: center;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    #titulo_principal {
        width: 100%;
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 55px;
        color: #9b9191;
        padding: 20px;
        text-align: center;
        font-family: "Roboto", sans-serif;
    }
    
    main img {
        border: 2px solid rgba(0, 0, 0, 0.918);
        border-radius: 10px;
    }
    
    .imagens_geral{
        width: 100vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }
    
    .link {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }
    
    a {
        width: 25%;
        text-align: center;
        color: rgb(0, 0, 0);
        text-decoration: none;
        font-weight: bolder;
        background-color: rgb(255, 255, 255);
        border: 3px solid #413425;
        padding: 20px;
        border-radius: 7px;   
    }
    
    a:hover {
        width: 25%;
        text-align: center;
        color: rgb(0, 0, 0);
        text-decoration: none;
        font-weight: bolder;
        background-color: #b9b9b9;
        border: 3px solid #413425;
        padding: 20px;
        border-radius: 7px;   
    }

    /* ------------------------------------- */

    .imgs_01 {
        position: relative;
        width: 100vw;
        height: 100%;
        background-color: antiquewhite;   
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        gap: 50px;
    }
    
    .imgs_02 {
        width: 100vw;
        height: 100%;
        background-color: antiquewhite;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        gap: 50px;
    }
    
    #slides {
        position: relative;
        width: 400px;
        height: 350px;
        border-radius: 05px;
        box-shadow:0 2px 3px 0 rgba(0, 0, 0, 0.651);
        transition: all 0.6s cubic-bezier(0.65, 0.84, 0.44, 1);
    }
    
    #slides::after{
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 10px;
        box-shadow:0 5px 16px 0 rgba(0, 0, 0, 0.3);
        transition: all 0.6s cubic-bezier(0.65, 0.84, 0.44, 1);
    }
    
    #slides:hover{
        transform: scale(1,1);
    }
    
    #slides_02 {
        position: relative;
        width: 400px;
        height: 550px;
        border-radius: 05px;
        box-shadow:0 2px 3px 0 rgba(0, 0, 0, 0.651);
        transition: all 0.6s cubic-bezier(0.65, 0.84, 0.44, 1);
    }
    
    #slides_02::after{
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 10px;
        box-shadow:0 5px 16px 0 rgba(0, 0, 0, 0.3);
        transition: all 0.6s cubic-bezier(0.65, 0.84, 0.44, 1);
    }
    
    #slides_02:hover{
        transform: scale(1,1);
    }

    #slides_03 {
        position: relative;
        width: 400px;
        height: 400px;
        border-radius: 05px;
        box-shadow:0 2px 3px 0 rgba(0, 0, 0, 0.651);
        transition: all 0.6s cubic-bezier(0.65, 0.84, 0.44, 1);
    }
    
    #slides_03::after{
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 10px;
        box-shadow:0 5px 16px 0 rgba(0, 0, 0, 0.3);
        transition: all 0.6s cubic-bezier(0.65, 0.84, 0.44, 1);
    }
    
    #slides_03:hover{
        transform: scale(1,1);
    }
}