@media screen and (max-width: 600px) {
	body {
		background-color: blue;
	}
}

/* Reset de box-sizing */
* {
	box-sizing: border-box; 
	border: none;
}

/* Cuerpo de la página */
body {
	background-image: url('FONDO/fondo3.png');
}

h1 {
	font-size: 45px;
	color: white;
	font-family: Impact, fantasy;
	text-align: center;
}

.img1 {
	width: 100%;
	height: auto;
}

/* Botón de iconos */
button1 {
	float: right;	
}

/* Diseño encabezado */
header {
	background-color: #06821e;		
	text-align: right;
	color: #1251c8;
	font-family: Impact, fantasy;
	font-size: 20px;
}

nav {
	max-width: 200px;
	margin: auto;
	background-color: inherit;
	font-size: 20px;
	margin-top: 0px;
	color: #0d7d09;
	font-family: Impact, fantasy;
}

/* Opciones de elección en algunas páginas */
.menu1 {
	list-style: none;
	display: flex;
	justify-content: space-around;
	padding: 0;
}

.menu1 > li > a {
	display: block;
	padding: 10px 15px;
	color: #0a337e;
	text-decoration: none;
	font-family: Impact, fantasy;
	font-size: 30px;
}

.menu1 > li:hover {
	background-color: #05a500;
}

.menu2 {
	position: absolute;
	display: none;
	list-style: none;
	width: 200px;
	background-color: #05a500;
	color: #1251c8;
	font-family: Impact, fantasy;
	font-size: 25px;
}

.menu1 li:hover .menu2 {
	display: block;
}

.menu2 li:hover {
	background-color: #a6e3a6;
}

.menu2 li a {
	display: block;
	color: #0a337e;
	padding: 0;
	font-family: Impact, fantasy;
}

nav ul {
	list-style-type: none;
	padding: 0;
}

article {
	padding: 20px;
	width: 70%;
}

/* Pie de página */
footer {
	background-color: #06821e;
	padding: 10px;
	text-align: right;
	color: white;
}

.contact-buttons {
    display: flex;
    flex-direction: column; /* Apilar en móviles */
    margin-top: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 10px 0; /* Espaciado entre elementos */
}

/* Tab */
.tab2 {
	display: flex;
	overflow-x: auto;
	border: 1px solid #ccc;
	background-color: #05951b;
	font-size: 15px;
	color: white;
	font-family: Impact, fantasy;
	text-decoration: none;
}

.tab2 button {
	background-color: #05951b;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 5px 25px;
	transition: 0.3s;
	font-size: 15px;
	color: white;
	font-family: Impact, fantasy;
	text-decoration: none;
}

.tab2 button:hover {
	background-color: #05a500;
}

/* Encabezado por carreras y niveles */
.tab {
	display: flex;
	overflow-x: auto;
	border: 1px solid #ccc;
	background-color: #06821e;
}

.tab button {
	background-color: transparent;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 10px 15px;
	font-size: 18px;
	color: white;
	font-family: Impact, fantasy;
}

.tab select {
	background-color: #06821e;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 0;
	font-size: 18px;
	color: white;
	font-family: Impact, fantasy;
}

.tab button:hover {
	background-color: transparent;
}

.tab button.active {
	background-color: transparent;
}

/* Contiene la información de la cabecera en el inicio */
.tabcontent {
	text-align: center;
	display: none;
	padding: 0 6px;
	border-top: none;
	font-size: 25px;
	color: #dbe6f1;
	font-family: Arial, sans-serif;
}

.tab3 {
	display: flex;
	overflow-x: auto;
	background-color: #e7cd2a;
	font-size: 15px;
	color: white;
	font-family: Impact, fantasy;
	text-decoration: none;
}

.tab3 button {
	background-color: #e7cd2a;	
	border: none;
	outline: none;
	cursor: pointer;
	padding: 5px 25px; 
	transition: 0.3s;
	font-size: 15px;
	color: white;
	font-family: Impact, fantasy;
	text-decoration: none;
}

.tab3 button:hover {
	background-color: #e7cd2a;
}

.video1 {
	border: none;
	cursor: pointer;	
	width: 200px;
	height: 100px;
}

/* Videos en las páginas de carreras y niveles */
video {
	width: 100%;
	height: 100%;
}

.pres video {
	width: 1920px;
	height: 1080px;
}

/* Selector de opciones en las páginas para listas de útiles, carreras, documentos */
.custom-select {
	position: relative;
	font-family: Arial, sans-serif;
}

.custom-select select {
	display: none; 
}

.select-selected {
	background-color: #fbf8f8;
}

.select-selected:after {
	position: absolute;
	content: "";
	top: 14px;
	right: 10px;
	width: 0;
	height: 0;
	border: 6px solid transparent;
	border-color: #fbf8f8 transparent transparent transparent;
}

.select-selected.select-arrow-active:after {
	border-color: transparent transparent #fbf8f8 transparent;
	top: 7px;
}

.select-items div, .select-selected {
	color: #ffffff;
	padding: 8px 16px;
	border: 1px solid transparent;
	border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
	cursor: pointer;
}

.select-items {
	position: absolute;
	background-color: #fbf8f8;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 99;
}

.select-hide {
	display: none;
}

.select-items div:hover, .same-as-selected {
	background-color: rgba(0, 0, 0, 0.1);
}

/* Carrusel de fotos */
.container {
	overflow-x: hidden;
	height: 100vh;
}

.img-carrousel {
	position: relative;
}

.slide {
	position: relative; 
	top: 0;
	left: 100vw;
	height: 100vh;
	display: block;
	width: 100%;
}

.slide:nth-child(1) {
	background: orange;
}

.slide:nth-child(2) {
	background: pink;
}

.slide:nth-child(3) {
	background: lightgreen;
}

.slide:nth-child(4) {
	background: brown;
}

.slide:nth-child(5) {
	background: yellow;
}

.img-carrousel__slide--animatable {
	transition: all 1.5s;
	transition-delay: 1.5s;
}

.img-carrousel__slideMovement {
	transform: translateX(-100vw);
}

.img-carrousel__slideNoVisible {
	display: none;
}
