@charset="utf-8"
  /* tipografia roboto en regular peso 400 y bold peso 700 disponibles */  
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');
/* reglas generales */
/*@font-face {
    font-family: roboto;
    src: url(roboto/Roboto-Regular);
}*/
*{
    
    box-sizing: border-box;
}
img{
    align-self:center; 
    width: 50%;
    height: 50%;
    border: 1em solid white;
    object-fit: contain;
    
    
}

body{
    background-image: url(../imgs/bg.jpg);
    background-repeat: no-repeat;
    background-color: black;
    background-size:cover;
    
    background-position:left;
    padding: 0;
    margin: 0;
    
    display: block;
    flex-direction: column;
    min-height: 100%;
   
}

section{
    
    display: flex;
    width: 70%;
    height: 50%;
    margin: 10vh 24vh 8vw 25vw;
    padding: 2em;
    background-image: linear-gradient(hsla(212, 12%, 22%, 0.6),hsla(212, 12%, 22%, 1));
    
    border-radius: 1.5em;
    border: 0.2em solid #767879;
    
}

section div{
    font-family: 'Roboto', sans-serif;
    margin-left: 1em;
    padding: 1em;
    display: flex;
    flex-direction: column;
    align-self: center;
    flex-flow: wrap;
}
h1{
    font-weight: 700;
    font-size: 2vw;
    text-transform: uppercase; 
    text-align: left;
    color: #d3d3d3;
    margin: 0;
    margin-bottom: 1rem;
}
p{
    
    width: auto;
    margin: 0;
    font-size: 1vw;
    color: #d3d3d3;
    margin-bottom: 2rem;
}
form{
    display: flex;
    justify-content: flex-end;
    align-self:center;
}
button{
    width: 25vw;
    height: 20vh;
    background-image: linear-gradient(#c1b7b7,#262627);
    border-radius: 0.5em;
    font-weight: 700;
    text-transform: uppercase; 
    font-family: 'Roboto', sans-serif;
    font-size: 4vw;
    color: white;
}
footer{
    font-family: 'Roboto', sans-serif;
    background-color: black;
    color: white;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    padding-top: 0.5rem;
    font-size: 0.8rem;
    
  }





@media only screen and (orientation: portrait){
    body{
        background-image: url(../imgs/bgm.jpg);
        background-size:cover;
         background-position:left;
        display: flex;
        flex-flow: column;
        height: 100vh;
    }
    section{
        flex-direction: column;
        margin: auto;
        margin-bottom: 3vh;
       width: auto;
        height: auto;
        padding: 5%;
        width: 80vw;
        margin-top: 3vh;
        background-color: hsla(212, 12%, 22%, 0.8);
        background-image: linear-gradient(hsla(212, 12%, 22%, 0.6),hsla(212, 12%, 22%, 1));
        max-height: 80vh;
    }
    
    img{
        width: 100%;
        margin-bottom: 0;
        align-self: center;
        object-fit: cover;
    }
    section div{
        margin: 0;
        padding-top: 0.5em;
    }
    h1{
        margin-top: ;
        font-size: 6vw;
        text-align: center;
        margin: auto;
        margin-top: 0;
    }
    p{
        font-size: 1.7vh;
        margin-bottom: 1vh;
    }
    
    form{
        
        margin: 0;
        
    }
    button{
        width: 60vw;
    height: 10vh;
    background-image: linear-gradient(#c1b7b7,#262627);
    border-radius: 0.5em;
    font-weight: 700;
    text-transform: uppercase; 
    font-family: 'Roboto', sans-serif;
    font-size: 1.7rem;
    color: white;
    }
    footer{
        position: absolute;
        bottom: 1px;
    }
    footer div p{
        font-size: 0.6rem;
        
    }
}