@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
*{
	margin: 0;
	padding: 0;
}
body{
  background-color: #E5C622;
  font-family: "Montserrat", sans-serif;
}
nav{
	width: 100%;
	height: 10vh;
	background-color: #CF1D1D;
	padding-bottom: 15px;
}
ul{
	list-style-type: none;
}
h1{
  font-size: 100px;
  font-style: bold;
  color: #CF1D1D;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}
a{
	text-decoration: none;
	color: #CF1D1D;
}
header{
  padding-top: 30px;
}
p{
  font-weight: 500;
  color: #CF1D1D;
}
.sucursal{
  background-color: #eace1c;
  border-radius: 20px;
  font-size: 20px;
  color: #CF1D1D;
}
.sucursal:hover{
  background-color: #F8E107;
  
}
.sucursales{
 padding-top: 100px;
 padding-bottom: 100px;
}
.sucursales hr{
  border-top: 1px solid red;
}
.sucursales h4{
  color: #CF1D1D;
}
.sucursales img{
  width: 100%;
}
.col-5th {
  width: 19%;
  float: left;
  padding: 15px;
  margin: 7px;
  box-sizing: border-box;
}


/* Footer
    *******************************************************************************/
.footer{
  background-color: #242426;
  width: 100%;
  padding: 50px 0 0;
  margin: 0px 0 0;
  display: inline-block;
  position: relative;
  background-image: none;
}
.footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-image: -webkit-linear-gradient(0deg, #f8a824 25%, #f05d21 25%, #f05d21 50%, #8ac349 50%, #8ac349 75%, #22bab8 75%, #22bab8 100%);
  background-image: -ms-linear-gradient(0deg, #f8a824 25%, #f05d21 25%, #f05d21 50%, #8ac349 50%, #8ac349 75%, #22bab8 75%, #22bab8 100%);
  background-size: 100%; 
}
.footer ul li a{
  color: #fff;
}
.footer ul li a:hover{
  color: #f05d21;
}
#social li{
  display: inline;
  padding-left:10px;
  padding-right:10px;
  font-size: 30px;
}
#social li a i{
  color: #5c5c5c;
  transition: all .15s ease;
}
#social li a.facebook:hover i{
  color: #3b5998;
}
#social li a.instagram:hover i{
  color: pink;
}
#social li a.twitter:hover i{
  color: #1da1f2;
}
#social li a.youtube:hover i{
  color: #de2825;
}
.derechos{
  background-color: #000;
  color: #fff;
}
.caso{
  padding-top: 200px;
}


@media (max-width: 480px){
  h4{
    font-size: 17px; 
    font-weight: bolder;
  }
  .col-5th {
      width: 45%;
      float: left;
      padding: 15px;
      margin: 8px;
      box-sizing: border-box;
  }
  nav{
  width: 100%;
  height: 9vh;
  background-color: #CF1D1D;
  padding-bottom: 15px;
}
  header{
  padding-top: 20px;
}
header img{
  width: 100px;
}
header h1{
  font-size: 40px;
}
p{
  font-weight: 500;
  color: #CF1D1D;
}
.sucursal{
  background-color: #eace1c;
  border-radius: 20px;
  font-size: 20px;
  color: #CF1D1D;
}
.sucursales{
   padding-top: 20px;
}
.sucursales hr{
  border-top: 1px solid red;
}
.sucursales h4{
  color: #CF1D1D;
}
.sucursales img{
  width: 100%;
}
}