/* CSS Document */

/* -------------------------------------------- */
/* ----------- MAIN HOME SECTION  -------------- */
/* -------------------------------------------- */

.home-section-container { 
	display: flex;	
	flex-direction: column;
	flex-wrap: wrap;
	position: relative;
	padding: 80px;
	min-height: 600px;
	text-align: center;
	margin-left: auto;
  margin-right: auto;	
	justify-content: center;
}

.home-section-container::before {
    content: "";
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    background: url("../imagenes/fondo1.jpg") center/cover no-repeat;
    filter: grayscale(100%);
    z-index: -1; /* behind content which we put at z-index:1 below */
    pointer-events: none;
}

.home-main-title {	
	font-size: 4.2rem;
	color: #FFF;
	font-weight: 700;	
/*	font-style: italic;*/
	font-family: "Perpetua-bold", "Open Sans", sans-serif;
	text-shadow: 4px 4px 10px #000;
/*	text-transform: uppercase;*/
/*	transform: scaleY(1.1)*/
	
}

.home-texto {
	background: #000;	
	height: auto;
	margin-inline: auto;
	font-family: "Courier New", sans-serif;
	margin-top: -20px;
	padding: 20px 40px;
	line-height: 1.4;
	letter-spacing: .03em;
	border-radius: 5px;
	color: #FFF;
	font-size: 1.15rem;
}

/*  EFFECT TYPEWRITER */

.typewriter, .typewriter p {
	font-family: "Courier New", sans-serif;		
	white-space: pre-line;	
}

#typewriter-text::after {
  content: '▋';
  display: inline;
  animation: blink 0.7s steps(1) infinite;  
  color: #FFF; 
  right: -0.4em; 
  text-shadow: 0 0 5px #ff0000; 
}

#typewriter-text.done::after {
  content: '▋'; /* hide the cursor */
	visibility: hidden;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Sound toggle button */
.sound-toggle {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.sound-toggle:focus,
.sound-toggle:focus-visible {
    outline: none;
    outline-offset: 0;
}


/*
	======================
	  RESPONSIVE DESIGN
	======================
*/

@media screen and (max-width: 760px) {
	
	.home-section-container {
		padding-inline: 20px;
		flex-wrap: nowrap;
	}
	.home-main-title {
	    font-size: 3rem;		
	}
	.home-texto {
		padding-inline: 20px;
	}	
}



