@media screen and (max-width: 320px) {



    .titulo1 {
        font-size: 3em;
    }

    .fundo1 {
        height: 200vh;
    }

    .box1 {
        width: 100%;
        margin-left: 0%;
        margin-top: 100vh;
    }
        
    .foto1 {
        width: 60%;
        margin-left: 20%;
        transition: opacity 1.5s ease-in;
        transform: translate(0, 0vh);
        
        
    }

    .side1 {
        padding: 2em;     
        font-size: 0.8em;
        transition: opacity 1.5s ease-in, transform 1.7s ease-in-out;
        transform: translate(0,0vh);
    }

    .box1:hover .side1{
        opacity: 1;
        transform: translate(0, 0vh);
        transition: 1.4s ease-in-out;
        
    }

    .fundo2 {
        height: 140vh;
    }

    .titulo2 {  
        margin-top: 10vh;
        font-size: 2em;
    }


    .foto2 {
        width: 80%;
        height: 30vh;
        margin-left: 10%;
        margin-top: 20vh;
        z-index: 0;
        transition: width 500ms ease-in-out 300ms, height 500ms ease-in-out 300ms , transform 500ms ease-in-out 300ms, z-index 2s ;
        
    }

    .foto2:hover {
        width: 80%;
        height: 30vh;
        transform: translate(0%, 0vh);
        z-index: 1;
        transition: 1s;
    }
        
    .info1 {
        width:  80%;
        height: 30vh;
        display: block;
        margin-top: 50vh;
        padding-top: 1em;
        background-color: transparent;
        margin-left: 10%;
        position: absolute;
        z-index: 1;
        font-size: 0.5em;
        color: rgb(255, 255, 255);
        transition: z-index 0s, height 300ms ease-in-out, font-size 300ms ease-in, padding 300ms ease-in, color 300ms ease-in;
        
    }
    
        
    .foto2:hover +.info1{
    
        height: 30vh;
        
        opacity: 1;
        z-index: 1;
        font-size: 0.5em;
        padding: 0;
        color: white;
        transition: 800ms, height 800ms 1s, font-size 800ms 1s, padding 800ms 1s, color 1s 1s;
    }


    .foto3 {
        width: 80%;
        height: 30vh;
        margin-left: 10%;
        margin-top: 80vh;
        z-index: 0;
        transition: width 500ms ease-in-out 300ms, height 500ms ease-in-out 300ms , transform 500ms ease-in-out 300ms, z-index 2s ;
        
    }

    .foto3:hover {
        width: 80%;
        height: 30vh;
        transform: translate(0%, 0vh);
        z-index: 1;
        transition: 1s;
    }
        
    .info2 {
        width:  80%;
        height: 30vh;
        display: block;
        margin-top: 110vh;
        padding-top: 1em;
        background-color: transparent;
        margin-left: 10%;
        position: absolute;
        z-index: 1;
        font-size: 0.5em;
        color: rgb(255, 255, 255);
        transition: z-index 0s, height 300ms ease-in-out, font-size 300ms ease-in, padding 300ms ease-in, color 300ms ease-in;
        
    }
    
        
    .foto3:hover +.info2{
    
        height: 90vh;
        
        opacity: 1;
        z-index: 1;
        font-size: 1em;
        padding: 2em;
        color: white;
        transition: 800ms, height 800ms 1s, font-size 800ms 1s, padding 800ms 1s, color 1s 1s;
    }



    .info3 {
        font-size: 0.5em;
    }




    .contactos {
        position: absolute;
        width: 80%;





    .icon {
        width: 50px;
    }





















}