/* Estilos para el encabezado */
header {
  /*background-color: #0072C6;*/
  color: white;
  padding: 20px;
  text-align: center;

  background: linear-gradient(to right, #1e5799, #207cca);
  overflow-x: auto;
}
/* Estilos para el botón de menú */
.menu-toggle {
  display: none; /* Ocultar el botón en dispositivos no móviles */
  
}

/* Estilos para el menú */
.menu-container {
  display: block; /* Mostrar el contenedor del menú en dispositivos no móviles */
}



.menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu li {
  display: inline-block;
  margin-right: 10px;
}

.menu li a {
  text-decoration: none;
  
}

/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block; /* Mostrar el botón en dispositivos móviles */
  }

  .menu-container {
    display: none; /* Ocultar el contenedor del menú en dispositivos móviles */
  }

  .menu {
    display: none; /* Ocultar la lista del menú por defecto en dispositivos móviles */
    /* Estilos adicionales para el menú desplegable */
  }
}

  
}
.custom-image-left {
    text-align: right;
    width: 50%;
  }
  
.custom-image-right {
    text-align: left;
    width: 50%;
  }
  
.custom-image-left img {
    margin-right: 12px;
    margin-left: 0;
    width: 50%;
  }
  
.custom-image-right img {
    margin-right: 0;
    margin-left: 12px;
    width: 50%;
  }
.banner {
  background-color: #811136;
  color: white;
  font-family: Arial , sans-serif;
  font-size: 1rem;
  text-align: center;
  padding: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}
.banner a{
	color:yellow;
}
header h1 {
  margin: 0;
  font-family: Avenir, "Arial Narrow", Tahoma, Verdana, sans-serif;
  font-size: 48px;
}
.cargar-mas {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}


/* Estilos para la barra de navegación */
nav {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #00508C;
  background: linear-gradient(to bottom, #2E86C1, #1B4F72);
  width: fit-content;
  margin-bottom:-10px;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  white-space: nowrap;

}
nav li {
  display: inline-block;
  margin-right: 10px;
}
nav ul li {
  margin: 0 10px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
}
nav ul li a:hover {
  color: #0b92f2;
  text-decoration: none;
  font-weight: bold;
  font-size: 19px;
}
#mapa{
	align-content: center;
	display: block;
	align-self: center;
}
/* Estilos para las columnas del contenido */
section {
  /*display: flex;*/
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
}
.logo h1{
	font-size: 25px;
}

.columna {
  width: calc(33.33% - 20px);
  background-color: #FFF;
  border: 1px solid #0072C6;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  text-align: center;
}

.columna h2 {
  font-size: 24px;
  margin: 0;
  margin-bottom: 10px;
}

.columna ul {
  margin: 0;
  padding: 0;
  list-style: none;
    text-align: center;
}

.columna ul li {
  margin: 0;
  margin-bottom: 10px;
  
}

.columna ul li a {
  color: #0072C6;
  text-decoration: none;
}

/* Estilos para el footer */
footer {
  background-color: #00508C;
  color: white;
  padding: 20px;
  text-align: center;
  margin-top: 20px;
  background: linear-gradient(to right, #1e5799, #207cca);/*degradado*/
}

footer p {
  margin: 0;
  font-size: 16px;
}
.columna {
  text-align: center;
}

main{
	background: linear-gradient(to bottom, #9dd1f9, #2980b9);
		
}
body{
	background: linear-gradient(to bottom, #9dd1f9, #2980b9);
	background-color: #2980b9;
	background-repeat: no-repeat;
}

.contenido h2 {
  font-size: 2rem;
  text-align:center;
  margin-bottom: 25px;
}
.pasajeros-titulo{
	  font-size: 2rem;
  text-align:center;
  margin-bottom: 10px;
}
.pasajeros-texto{
	 font-size: 1.4rem;
	   background-color: #f1f1f1;
	  border-radius: 10px;
	  margin-bottom: 15px;
	  padding: 8px;
	  text-align: center;
	  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.contenido-titulo{
	  font-size: 2rem;
  text-align:center;
  margin-bottom: 10px;
}



.contenido-texto{
	 font-size: 1.2rem;
	   background-color: #f1f1f1;
	  border-radius: 10px;
	  margin-bottom: 15px;
	  padding: 8px;
	  text-align: justify;
	  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

 .enlace-a-terminales {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            background-color: #f8f8f8;
        }
        .enlace-a-terminales a {
            display: block;
            padding: 10px 20px;
            text-decoration: underline !important;
            color: #000;
            background-size: contain;
            background-repeat: no-repeat;
        }
        .enlace-a-terminales a:first-child {
            background-image: url('https://agicg.es/wp-content/uploads/apm-terminals-logo.png');
            background-position: left center;
            padding-left: 80px; /* Espacio para el logotipo */
        }
        .enlace-a-terminales a:last-child {
            text-align: right;
            background-position: right center ;
            padding-right: 100px; /* Espacio para el logotipo */
            background-image: url('http://www.ttialgeciras.com/wp-content/uploads/2016/12/logo.png');
        }
.historia h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-align: justify;
}

.historia p {
  font-size: 1.2rem;
  line-height: 1.4;
  text-align: justify;
   background-color: #f1f1f1;
	  border-radius: 10px;
	  margin-bottom: 15px;
	  padding: 20px;
	  
  box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
}
.contenido {
  margin: 50px auto;
  width: 85%;
  background-color: white;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
  padding: 20px;
  display: block;
  text-align: center;
  
}


.iverde{
  margin: 50px auto;
  width: 85%;
  background-color: white;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
  padding: 20px;
  display: block;
  text-align: justify;
  
}
.iverde p{
	text-align: justify;
}
.iverde h1,h2{
	
	text-align: center;
}
.iverde img{
	
	display: flex; justify-content: center; align-items: center;
}
.servicios{
	 
  margin-bottom: 10px;
  text-align: justify;

}
.servicios li{
	   background-color: #f1f1f1;
	  border-radius: 10px;
	  margin-bottom: 15px;
	  padding: 8px;
	  text-align: justify;
	  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.ope{
	 
  margin-bottom: 10px;
  text-align: center;

}
.ope li{
	   background-color: #f1f1f1;
	  border-radius: 10px;
	  margin-bottom: 15px;
	  padding: 8px;
	  text-align: justify;
	  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.ope p{
	   font-size: 1.2rem;
  line-height: 1.4;
  text-align: justify;
   background-color: #f1f1f1;
	  border-radius: 10px;
	  margin-bottom: 15px;
	  padding: 20px;
	  
  box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
}
.servicios h3{
	text-align: center;
}
body {
  
  font-family:  "Arial Narrow", Tahoma, Verdana, sans-serif;
  
}

.historia {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
  text-align: justify;
}
.ofertas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ofertas li {
  background-color: #f1f1f1;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
 ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;

  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.noticias li {
  background-color: #f1f1f1;
  border-radius: 10px;
  padding: 22px;
  width:90%;
  text-align: center;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.noticias{
	  font-size: 1.3rem;
}
.info{
	
	list-style: none;
  margin: 0;
  padding: 0;
  display: grid;

  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}
.infosection{
	
	list-style: none;
  margin: 0;
  padding: 0;
  
}
.eventos{
	/*background-color: #f1f1f1;*/
	border: black;
border-block: gray;

border-block-style: solid;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  /*box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);*/
  display: inline-flex;

}
.eventos ul{
	align-content: center;
	text-align: center;
	
}
.eventos li{
	text-align: center;
	background-color: #f1f1f1;
  border-radius: 10px;
  padding: 22px;
  width:20%;
  
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
/* Estilos para dispositivos móviles */
@media screen and (max-width: 480px) {
  .container {
    max-width: 100%;
    padding: 0 10px;
  }

  .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
  }

  .col {
    width: 100%;
    padding: 10px;
  }

  .card {
    margin-bottom: 20px;
  }
}

/* Estilos para dispositivos de escritorio */
@media screen and (min-width: 481px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
  }

  .col {
    flex: 1;
    padding: 15px;
  }

  .card {
    margin-bottom: 30px;
  }
}

