body{
    margin: 0;
    padding: 0;
    align-items: center;
    background-color: #1D68AF;
    color:#ffffff;
    font-family:'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 10px;
    background-color: #18568f;
    position: sticky;
    top: 0px;
}


a{
    padding: 30px;
    text-decoration: none;
    font-weight: bold;
    color:#ffffff;
}

a:hover{
    color:#4ca5f9;
}


h1{
    text-align: center;
    text-shadow: 4px 4px 6px #0e2d4a;
}

h2{
    padding-top: 30px;
    text-shadow: 4px 4px 6px #0e2d4a;
    text-align: center;
}

h3{
    padding: 10px;
    text-shadow: 4px 4px 6px #0e2d4a;
    text-align: center;
}


.container{
    width: 95%;
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: row;
    gap: 10px;
    
}
.card{
    width: 40%;
    box-shadow: 10px 10px 10px #0e2d4a;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;  
    border: 3px solid #ffffff;
    border-radius: 20px;
    padding: 20px;
    margin: 30px;
    
}

.card img{
    float: left;
    margin: 10px;
    width: 60%;
    border-radius: 20px;
}

.card p{
    padding: 10px;
    text-align: left;
    flex-grow: 1;
    flex-shrink: 1;
}

.card a{
    font-size: 24px;
    width: 90%;
    box-shadow: 4px 4px 6px #0e2d4a;
    height: 25px;
    border-radius: 10px;
    background-color: #06437b;
    color: #ffffff;
    padding: 5px;
    
}

    
/*---------------------------FORMULARIO DE CONTACTO------------------------------------------
---------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------*/
    
.formulario{
    display: flex;
    width: 80%;
    background-size: 100vw 100vh;
    margin: auto;
    background: rgba(0,0,0,.1);
    border-radius: 10px;
    text-align: center;
    align-items: center;
}

form{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    width: 90%;
}

input{
    margin: 20px;
    width: 40%;
    height: 30px;
    
}

textarea{
    margin: 20px;
    width: 40%;
    resize: none;
}

.enviar-btn{
    width: 30%;
    height: 30px;
    text-align: center;
    background-color: #06437b;
    font-size: 1.5 rem;
    font-family: 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
    font-weight: bold;
    color: #ffffff;
    border-radius: 7px;
    box-shadow: 4px 4px 6px #0e2d4a;

}




/*FOOTERS PAGINAS 
------------------------
------------------------*/
footer{
    text-align: center;
    text-shadow: 4px 4px 6px #0e2d4a;
    font-size: .9em;
    margin: 20px;
    padding: 20px;
}

/*------------------------------------EDIAM----------------------------------
-----------------------------------------------------------------------------
---------------------------------------------------------------------------*/

@media (max-width: 1000px){
    .navbar{
        height: 70px;
        flex-direction: column;
        background-color: #18568f;
        text-align: center;
        position: sticky;
        margin: 0;
        padding: 10px;
        top: 0px;
    }
    
    .logo img{
        width: 90%;
    }
    
    a{
        text-decoration: none;
        font-size: 2 em;
        padding: 10px;
        font-weight:normal;
        color:#ffffff;
    }

    h1{
        margin: 5px;
    }

    h2{
        padding-top: 30px;
        text-shadow: 4px 4px 6px #0e2d4a;
        text-align: center;
    }
    .container{
        width: 100%;
        flex-direction: column;
        justify-content: center;
    }

    .card{
        margin: 10px;
        padding-bottom: 20px;
        width: 80%;
        flex: 100%;
        
    }


    .card a{
        padding: 5px;
        background-color: #06437b;
        font-family: 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
        color: #ffffff;
        box-shadow: 4px 4px 6px #0e2d4a;
        
        
    }


    form{
        flex-direction: column;
        text-align: center;
        padding: 20px;
        width: 90%;
        display: flex;
        
        
    }
    
    input{
        
        width: 90%;
        height: 30px;
        margin: 10px
    }
    
    textarea{
        margin: 10px;
        width: 90%;
        resize: none;
    }

}