﻿/*body {
    font-family: Arial, sans-serif;
    text-align: center;
    background: #fff;
    margin: 0;
    padding: 0;
  }
*/
  
.contador-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1440px;
    margin: 2rem auto;
    padding: 0 1rem;
    gap: 1rem;
  }

.fondo-contador {
  background-color: var(--govcoSector);
  border-radius: 100px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--govcoWhiteBlue);
}

.box {
    flex: 2;
    height: 4px;
    background-color: #E69E49;
    border-radius: 4px;
    margin: 2vw 2vw 0vw 2vw;
  }
  
.contador-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
.titulo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff7b00;
    margin-bottom: 1rem;
  }
  
.contador {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.75rem;
    font-weight: bold;
  }
  
.contador div {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0.2rem;
  }
  
.etiqueta {
    font-size: 1.4rem;
    margin-top: 0.2rem;
    font-weight: normal;
  }
  
.separador {
    margin: 0 0.2rem;
    font-size: 3rem;
    color: #000;
  }
  
.container-sec-bnr {
	position: relative;
	width: 100%;
	height: 100vh;
/*	max-width: 100vw;*/
	overflow: hidden;
	margin: 0 auto;
	max-height: 680px;
}

/* Video como fondo */
.background-video-bnr {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	}

/* Logo superior derecho */
.logo-sup-bnr {
    position: absolute;
    top: 1rem;
    right: clamp(0vh, 20%, 100vh);
    width: clamp(0vh, 10%, 100vh);
    max-width: 200px;
    min-width: 32px;
    height: auto;
    z-index: 10;
    }

/* Imagen central del contenedor */
.img-cen-sec {
	position: absolute;
	top: 50%;
	left: 30%;
	transform: translate(-50%, -50%);
	width: 20%;
	min-width: 120px;
	height: auto;
	z-index: 20;
}

.img-cen-iot{
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
}

/* Contenedor general */
.content-sec {
	max-width: 87.5rem;
	margin: 0 auto;
	padding: 2rem !important;
	text-align: center !important;
	position: relative;
}

.fondo-sec {
	position: relative;
	z-index: 1;
	width: 100%;
}

/* Imagen */
.img-sec {
	width: 100%;
	height: auto;
	display: block;
}

/* SecciÃ³n derecha */
.right-text-sec {
	z-index: 10;
	color: dimgray;
	width: 40%;
	position: absolute;
	top: 3vw;
	left: 50%;
	padding: 25px;
	font-size: 1.325rem;
	border-radius: 3em;
	border: 0.5rem #E8A045 solid;
	background-color: #FFF;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: left;
	box-sizing: border-box;
}

/* SecciÃ³n izquierda */
.left-text-sec {
	z-index: 1;
	color: dimgray;
	width: 40%;
	position: absolute;
	top: 1vw;
	left: 5rem;
	padding: 25px;
	font-size: 1.325rem;
	border-radius: 3em;
	border: 0.5rem #E8A045 solid;
	background-color: #FFF;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: left;
	box-sizing: border-box;
}

.title-text {
	color: #E69E49 !important;
}

.btn-rent {
	border: 0.2em solid !important;
	background-color: #FFF;
	cursor: pointer;
}

/*seccion videos*/
.video-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 1.5vh;
    padding: 1vh;
    background-color: #f5f5f5;
}

.video-container {
    flex: 1 1 400px;
    max-width: 30vw;
}

video {
    width: 100%;
    height: auto;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
}

@media (min-width:320px)  { /* smartphones, iPhone, portrait 480x320 phones */
	.img-cen-sec {
		width: calc(15vw * 2);
	}
   	.container-sec-bnr {
		height: 15vh;
	}
}

@media (min-width:481px)  { /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
	.img-cen-sec {
		width: calc(15vw * 2);
	}
   	.container-sec-bnr {
		height: 30vh;
	}
}

@media (min-width:641px)  { /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
	.img-cen-sec {
		width: calc(15vw * 2);
	}
   	.container-sec-bnr {
		height: 40vh;
	}
}

@media (min-width:961px)  { /* tablet, landscape iPad, lo-res laptops ands desktops */
	.img-cen-sec {
		width: calc(20vw * 2);
	}
   	.container-sec-bnr {
		height: calc(25vw * 2);
	}
}

@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */
	.img-cen-sec {
		width: calc(18vw * 2);
	}
}

@media (min-width:1281px) { /* hi-res laptops and desktops */
    .contador {
      font-size: 1.5rem;
    }
  
    .etiqueta {
      font-size: 0.6rem;
    }
  
    .titulo {
      font-size: 1.2rem;
    }
   	.container-sec-bnr {
		height: calc(15vw * 2);
	}

	.logo-sup-bnr {
		width: 20vw;
	}

	.img-cen-sec {
		width: calc(10vw * 2);
	}
			
	.right-text-sec,
	.left-text-sec {
		position: relative;
		width: 100%;
		left: 0;
		top: 0;
		padding: 1.5rem;
		font-size: 1rem;
		margin-bottom: 1rem;
		text-align: center;
		align-items: center;
	}

	.content-sec {
		padding: 1rem !important;
		text-align: center !important;
	}

	.img-sec {
		width: 100%;
	}

	.btn-rent {
		width: 100%;
		font-size: 1rem;
	}
}