* {
  box-sizing: border-box;
}
*{margin:0; padding:0;}
body{
    width: : 100%;

  }

header{
  width: 100%;
  overflow: hidden;
  background: #0b0c0f;
  margin-bottom: 20px;
}

.wrapper{
  width: 90%;
  max-width: 1000px;
  margin:auto;
  overflow:hidden;
}
header .logo{
  color:#f2f2f2;
  font-size: 30px;
  line-height:100px;
  float:left;

}
header nav{
  float: right;
  line-height: 100px;
}
header nav a {
  display:inline-block;
  color: #fff;
  text-decoration:none;
  padding: 10px 20px;
  line-height: normal; 
  font-size: 20px
  font-weight:bold;
  -webkit-transition:all 500ms ease;
  -o-transition:all 500ms ease;
  transition:all 500ms ease;
}
header nav a:hover {
  background: #1c2c54;
  border-radius: 50px;

}
.header2{
  position:fixed;
  height: 50px;
}
.header2 .logo{
  line-height: 50px;
  font-size: 25px;
}
.header2 nav{
  line-height: 50px;
}
@media screen and (max-width:950px){
  header .logo,
  header nav{
    width: 100%;
    line-height: 100px;
  }
  .header2 {
    height: auto;
  }
  .header2 .logo,
  .header2 nav {
    line-height: 15px
  }
}
body {
 
  font-family: arial, helvetica;
	background-size: 100vw 100vh;
	background-attachment: fixed;
	margin: 0; 
color:#fff;
margin-left: 20px

}
form {
width: 480px;
margin: auto; 
background: rgba(0,0,0,0.9);
padding: 40px 30px
margin-top: 40px
border-radius: 20px;
margin-left: 20px


}
h2{
color: #fff;
text-align: center;
margin: 0;
font-size: 30px;
margin-bottom: 20px


}

input[type=text],[type=number],[type=tel],[type=email],[type=Date],textarea {
  width: 60%;
  padding: 7px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  margin-bottom: 20px;
  margin-left: 20px

}
input[type=Date]{
  width: 60%;
  padding: 7px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
margin-left: 20px
}
input{
  width: 15%;
  padding: 7px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
margin-left: 20px
}
select{
  width: 60%;
  padding: 7px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
margin-left: 20px
}

 input[type=submit],[type=reset]{
  background-color: #008080;
  color: white;
  padding: 8px 18px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: center;
  margin-left: 20px
  
 }
 Edadcalculada{
  margin-left: 20px
  
 }
label{
margin-left: 20px
}

  
#button{
  background-color: #008080;
}

#button:hover {
  cursor: pointer; 
}
.menu{
  list-style: none;
  background: #092327;
  left: 0%;
  top:0%;
  right: 0%;
  
}

.menu li a{
  text-decoration: none;
  color: white;
  padding: 20px;
  display: block;
}

.menu li{
  display: inline-block;
  text-align: center;

}

.menu li a:hover{
  background:#008080;
}

  @media (max-width: 480px) {
  form{
    width: : 100%;

  }
}
.c2{
border-radius: 20px;
  width: 40%;
  height: 58%;
  position: fixed;
    bottom: 0px;
  right: 180px;
  background: rgba(0,0,0,0.9);
}
.galeria {
width: 90%;
margin: auto;
list-style: none;
padding: 10px;
box-sizing: border-box;

display: flex;
flex-wrap: wrap;
justify-content: space-around;
}

.galeria li {
margin: 5px;
}

.galeria img {
width: 550px;
height: 230px;
}

/*Estilos del modal*/

.modal {
display: none;
}

.modal:target {

display: block;
position: fixed;
background: rgba(0,0,0,0.8);
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.modal h3 {
color: #fff;
font-size: 30px;
text-align: center;
margin: 15px 0;
}

.imagen {
width: 100%;
height: 50%;

display: flex;
justify-content: center;
align-items: center;
}

.imagen a {
color: #fff;
font-size: 40px;
text-decoration: none;
margin: 0 10px;
}

.imagen a:nth-child(2) {
margin: 0;
height: 100%;
flex-shrink: 2;
}

.imagen img {
width: 500px;
height: 100%;
max-width: 100%;
border: 7px solid #fff;
box-sizing: border-box;
}

.cerrar {
display: block;
background: #fff;
width: 25px;
height: 25px;
margin: 15px auto;
text-align: center;
text-decoration: none;
font-size: 25px;
color: #000;
padding: 5px;
border-radius: 50%;
line-height: 25px;
}
.banner{
  background: black;
  width: 570px;
  height: 230px;
  border:1px solid gray;
  margin: auto;
  border-radius: 20px;
  
  background-size: 100% 100%;
  animation: banner 10s infinite;
}
@keyframes banner{
0%, 20%{
  background-image: url(kia-picanto.png);
}
25%, 55%{
  background-image: url(Chevrolet-Spark.png);
}
60%, 80%{
  background-image: url(chevrolet-tracker.png);
}
90%, 100%{
  background-image: url(wolsvagen-jetta.png);
}

}

