html{
    box-sizing: border-box;
}

*, *:after ,*:before{
    box-sizing: inherit;
}

body{
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
    background-color: #f2f2f2;
}
/* Estilos Generales */
a{
    text-decoration: none;
}

li{
    list-style: none;
}

.contenedor{
    max-width: 1100px;
    margin:  0 auto;
}

img{
    max-width: 100%;
    overflow: hidden;
}

/* Header */
.hero{
    height: 100vh;
    background-repeat:no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

.header{
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
}

.barra{
    position: absolute;
    width: 100%;
    min-height: 80px;
    top:0px;
    background-color: #fff;
    border-bottom: 1px solid rgb(212, 217, 221);
}

.barra .contenedor{
    display: flex;
    flex-direction: column;
}


@media screen and (min-width:768px){
    .barra .contenedor{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .contenedor h1{
        text-align: left;
    }
}

.logo, .navegacion{
    text-align: center;
    margin-top: 0px;
}

.logo-img{
    max-width: 6rem;
}

.navegacion ul{
    padding: 0px;
}

@media screen and (min-width: 768px) {
    .navegacion ul{
        display: flex;
        flex-direction: row;
    }
}

.navegacion ul li{
    padding: 5px  10px;
}

.navegacion ul li a{
    font-family:fantasy;
    font-size: 18px;
    color: #000;
}

.navegacion ul li a:hover{
    color: #e50914;
    border-top: 2px solid #e50914;
}

/*Fomulario de contacto*/

form{
    max-width: 1105px;
    margin: 100px 0px;
    display: flex;
    justify-content: center;
    flex-direction: column;

}

label{
    font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 25px;
    margin-bottom: 10px;
}

form .caja{
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}



form .caja .input{
    padding: 20px;
    font-size: 25px;
    outline: none;
}

form .caja .input:focus{
    color: rgb(78, 75, 75);
}

.buttons{
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.enviar, .eliminar{
    color: blue;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 20px;
    padding: 20px;
    border: 1px solid black;
    margin-left: 10px;
}


.eliminar{
    color: red;
}

svg, path{
    width: 18px;
}

.borde-error{

    color:#e50914;
}

.error{
    font-family:sans-serif;
    font-size: 18px;
    display: inline-block;
    width: 700px;
    margin:  15px auto;
    border-radius: 5px;
    padding: 10px;
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    text-align: center;
}

.exito{
    font-family:sans-serif;
    font-size: 18px;
    display: inline-block;
    width: 700px;
    margin:  15px auto;
    border-radius: 5px;
    padding: 10px;
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    text-align: center;
}



/* Spinner */

#spinner{
    display:none;
    margin: 0 auto;
}
.sk-chase {
    width: 40px;
    height: 40px;
    position: relative;
    animation: sk-chase 2.5s infinite linear both;
}
  
  .sk-chase-dot {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0; 
    animation: sk-chase-dot 2.0s infinite ease-in-out both; 
  }
  
  .sk-chase-dot:before {
    content: '';
    display: block;
    width: 25%;
    height: 25%;
    background-color:blue;
    border-radius: 100%;
    animation: sk-chase-dot-before 2.0s infinite ease-in-out both; 
  }
  
  .sk-chase-dot:nth-child(1) { animation-delay: -1.1s; }
  .sk-chase-dot:nth-child(2) { animation-delay: -1.0s; }
  .sk-chase-dot:nth-child(3) { animation-delay: -0.9s; }
  .sk-chase-dot:nth-child(4) { animation-delay: -0.8s; }
  .sk-chase-dot:nth-child(5) { animation-delay: -0.7s; }
  .sk-chase-dot:nth-child(6) { animation-delay: -0.6s; }
  .sk-chase-dot:nth-child(1):before { animation-delay: -1.1s; }
  .sk-chase-dot:nth-child(2):before { animation-delay: -1.0s; }
  .sk-chase-dot:nth-child(3):before { animation-delay: -0.9s; }
  .sk-chase-dot:nth-child(4):before { animation-delay: -0.8s; }
  .sk-chase-dot:nth-child(5):before { animation-delay: -0.7s; }
  .sk-chase-dot:nth-child(6):before { animation-delay: -0.6s; }
  
  @keyframes sk-chase {
    100% { transform: rotate(360deg); } 
  }
  
  @keyframes sk-chase-dot {
    80%, 100% { transform: rotate(360deg); } 
  }
  
  @keyframes sk-chase-dot-before {
    50% {
      transform: scale(0.4); 
    } 100%, 0% {
      transform: scale(1.0); 
    } 
  }












