@charset "utf-8";

* {margin: 0; padding: 0;}

html, body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #ffc183;
}

.contenedor{
	margin: 10px;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin-top: 50px;
  margin-right: 100px;
  margin-left: 100px;
  margin-bottom: 50px;
}

.subcontenedor {
  width: auto;
}

#logo {
  width: auto;
}

#home {
  width: auto;
}

.subcontenedor {
  display: flex;
  flex-direction: row;
}

.iconos {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contactos {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  font-family: "arial narrow bold", arial, sans-serif;
  margin-left: 10px;
  
}

.flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 50px;
  margin-left: 150px;
  margin-right: 150px;
}

#img {
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
  transform: scale(1);
}

#imagenes1 {
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
  margin: 20px;
}

#imagenes2 {
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
  margin: 20px;
}

#imagenes3 {
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
  margin: 20px;
}

#imagenes4 {
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
  margin: 20px;
}


#imagenes:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 0px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  margin-top: 0px;
  width: 100%;
  transform: scale(0.8);
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  transform: scale(2);
  max-width: 700px;
  text-align: center;
  color: #ccc;
  margin-top: -160px;
  padding: 90px 0;
  height: 20px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(0.8)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(0.8)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}
  
  





/*--------------*/
/*  Responsive  */
/*--------------*/


/* hasta como máximo 1080px */
@media screen and (max-width: 1080px){
	
  .contenedor {
    margin: 10px;
  }
	
  header {
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 10px;
  }
  
  #logo {
    width: auto;
    height: 180px;
    transform: scale(0.8);
    margin-right: -60px;
  }
  
  #home {
    width: auto;
    height: 180px;
    transform: scale(0.8);
    margin-right: -60px;
  }

  .subcontenedor {
    width: auto;
    transform: scale(0.75);
  }

  .iconos {
    justify-content: space-around;
    transform: scale(1.1);
  }

  .contactos {
    margin-left: 20px;
  }

  .flex-container {
    padding: 20px;
    margin-left: 20px;
    margin-right: 20px;
  }

  #img {
    margin-left: -180px;
    margin-right: -180px;
    margin-top: -100px;
    margin-bottom: -40px;
    transform: scale(0.65);
  }

  #imagenes1 {
    margin: 20px;
  }

  #imagenes2 {
    margin: 20px;
  }
  
  #imagenes3 {
    margin: 20px;
  }
  
  #imagenes4 {
    margin: 20px;
  }

  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }

/* Modal Content (image) */
  .modal-content {
    margin: auto;
    display: block;
    margin-top: -35px;
    width: 100%;
    transform: scale(0.85);
  }

/* Caption of Modal Image */
  #caption {
    margin: auto;
    display: block;
    width: 100%;
    transform: scale(0.85);
    text-align: center;
    color: #ccc;
    margin-top: 200px;
    padding: 90px 0;
    height: 150px;
  }

  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(0.85)}
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(0.85)}
  }
  
  /* The Close Button */
  .close {
    top: 10px;
    right: 30px;
    font-size: 35px;
  }
  
  
}


/* hasta como máximo 720px */
@media screen and (max-width: 720px){

  .contenedor {
    margin: auto;
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
  }
	
  header {
    margin-top: -10px;
    margin-left: 0px;
    margin-right: 10px;
    margin-bottom: 20px;
    height: 120px;
    justify-content: space-between;
  }
  
  #logo {
    width: auto;
    height: 180px;
    transform: scale(0.5);
    margin-top: -25px;
    margin-right: -150px;
    margin-left: -60px;
  }
  
  #home {
    width: auto;
    height: 180px;
    transform: scale(0.6);
    margin-top: -25px;
    margin-right: -90px;
    margin-left: -50px;
  }

  .subcontenedor {
    width: auto;
    height: 40px;
    transform: scale(1.25);
    margin-right: 50px;
    margin-top: 45px;
  }

  .iconos {
    flex-direction: row;
    justify-content: space-around;
    transform: scale(1);
    width: 180px;
  }

  .contactos {
    margin-left: 10px;
    display: none;
  }

  .flex-container {
    padding: 10px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 20px;
    justify-content: space-between;
  }

  #img {
    margin-left: -180px;
    margin-right: -180px;
    margin-top: -130px;
    margin-bottom: -70px;
    transform: scale(0.45);
  }

  #imagenes1 {
    margin: 0px;
  }

  #imagenes2 {
    margin: 0px;
  }
  
  #imagenes3 {
    margin: 0px;
  }
  
  #imagenes4 {
    margin: 0px;
  }

  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }

/* Modal Content (image) */
  .modal-content {
    margin-top: -50px;
    transform: scale(0.8);
  }

/* Caption of Modal Image */
  #caption {
    margin: auto;
    display: block;
    width: 100%;
    transform: scale(0.65);
    text-align: center;
    color: #ccc;
    margin-top: 200px;
    padding: 90px 0;
    height: 150px;
  }

  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(0.8)}
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(0.8)}
  }
  
  /* The Close Button */
  .close {
    top: 10px;
    right: 30px;
    font-size: 35px;
  }

  
}

/* hasta como máximo 480px */
@media screen and (max-width: 480px){

  .contenedor {
    margin: auto;
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 50px;
  }
	
  header {
    margin-right: 0px;
    margin-bottom: 0px;
  }
  
  #logo {
    width: auto;
    height: 180px;
    transform: scale(0.45);
    margin-top: -30px;
    margin-right: -60px;
    margin-left: -70px;
  }
  
  #home {
    display: none;
  }

  .subcontenedor {
    margin-right: 50px;
    margin-top: 35px;
  }

  .iconos {
    transform: scale(0.9);
  }

  .flex-container {
    padding: 0px;
    padding-top: 10px;
    flex-direction: column;
    flex-wrap: nowrap;
  }

  #img {
    margin-left: 0px;
    margin-right: 0px;
    margin-top: -130px;
    margin-bottom: -50px;
    transform: scale(0.5);
    align-self: center;
  }

  #imagenes1 {
    margin: 0px;
  }

  #imagenes2 {
    margin: 0px;
  }
  
  #imagenes3 {
    margin: 0px;
  }
  
  #imagenes4 {
    margin: 0px;
  }

  /* The Modal (background) */
  .modal {
    padding-top: 0px;
  }

/* Modal Content (image) */
  .modal-content {
    margin-top: 170px;
    margin-left: -30px;
    transform: scale(1) rotate(90deg);
  }

/* Caption of Modal Image */
  #caption {
    transform: scale(1.2) rotate(90deg);
    margin-left: -200px;
    margin-top: -230px;
    height: 20px;
  }

  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0) rotate(0deg)} 
    to {-webkit-transform:scale(1.2) rotate(90deg)}
  }
  
  @keyframes zoom {
    from {transform:scale(0) rotate(0deg)} 
    to {transform:scale(1.2) rotate(90deg)}
  }
  
  /* The Close Button */
  .close {
    top: 10px;
    right: 100px;
    font-size: 25px;
  }

  

}