/*Impotación de fuentes.*/

@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');

/*Características generales de la página.*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    display: none;
}

html {
    scroll-behavior: smooth;
}

#container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

/*Estructuras semánticas*/

header, main, footer {
    width: 100%;
}

header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    gap: 10px;
    height: 720px;
    padding-bottom: 25px;
    background-color: rgb(0, 0, 0);
    border-bottom: 5px solid rgba(83, 81, 75, 0.7);
    box-shadow: 0px 10px 10px lightgray;
}

/*Menú mobile*/

#mobile {
    display: none;
}

/*Menú superior de la web*/

header {
    background: black url("../img/cabecera.jpg") no-repeat center / 120%;
}

header img {
    width: 550px;
    filter: drop-shadow(0px 0px 10px rgb(5, 5, 5));
    transform: rotate(45deg);
    pointer-events: none;
}

header nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    list-style-type: none;
    gap: 10px;
}

header nav ul li {
    min-width: 100px;
    text-align: center;
    padding: 10px 0px 10px 0px;
    border-radius: 3px;
    transition: 0.15s;
}

header nav ul li:hover a{
    color: white;
}

header nav ul li a {
    font-size: 0.9rem;
    font-family: "oswald";
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgb(226, 226, 226);
    text-decoration: none;
    padding: 10px 50px;
    border: 1px solid rgb(204, 204, 204);
    background: rgba(13, 13, 13, 0.75);
    border-radius: 31px;
    text-decoration: none;
    transition: .5s all;
}

header nav ul li a:hover {
    background: #111;
}

/*Slider de imágenes*/

#container-slider
{
    position: relative;
    display: block;
    width: 100%;
    border-bottom: 5px solid rgba(83, 81, 75, 0.8);
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.3);
}
#slider {
    position: relative;
    display: block;
    width: 100%;
    height: 100vh;
    min-height: 500px;
}
#slider li {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    height: 100%;
    display: block;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -ms-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
    z-index: -1;
    opacity: 0;
}

/*Configuración de botones de desplazamiento*/

#container-slider .arrowPrev, #container-slider .arrowNext{
    font-size: 30pt;
    color: rgba(204, 204, 204, 0.65);
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50px;
    z-index: 2; 
    transition:all 0.4s;
}

#container-slider .arrowPrev:hover,
#container-slider .arrowNext:hover {
    color: rgba(49, 49, 49, 0.9);
}

#container-slider .arrowNext {
    left: initial;
    right: 50px !important;
}
.content_slider{
    padding: 15px 30px;
    color: #FFF;
    width: 100%;
    height: 100%;
}
.content_slider div{
    text-align: center;
}

/*Configuración de los elementos informativos del slider*/

.content_slider h2{
    font-family: 'oswald';
    font-size: 30pt;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0px 0px 5px rgb(54, 54, 54);
}
.content_slider p {
    font-size: 15pt;
    font-family: 'oswald';
    color: #FFF;
    margin-bottom: 40px;
    text-shadow: 0px 0px 5px rgb(54, 54, 54);
}
#slider li .content_slider{
    background: rgba(0, 0, 0, 0.08);
    padding: 10px 125px;
}
.content_slider{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btnSlider{
    color: rgb(255, 255, 255);
    font-size: 15pt;
    font-family: 'arial';
    letter-spacing: 1px;
    padding: 10px 50px;
    border: 1px solid #CCC;
    background: rgba(13, 13, 13, 0.55);
    border-radius: 31px;
    text-decoration: none;
    transition: .5s all;
}
.btnSlider:hover{
    background: rgb(17, 17, 17);
}
.listslider {
    position: absolute;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    left: 50%;
    bottom: 5%;
    list-style: none;
    z-index: 2;
    transform: translateX(-50%);
}
.listslider li {
    border-radius: 50%;
    width: 10px;
    height: 10px;
    cursor: pointer;
    margin: 0 5px;
}
.listslider li a {
    background: #CCC;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: block;
}
.listslider li a:hover {
    background-color: rgb(17, 17, 17);
}
.item-select-slid {
    background: rgb(17, 17, 17)  !important;
}

/*Sección de historia del juego*/

.historia-bloque {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 800px;
    background-image: url("../img/historia/uno.jpg");
    background-position: center center;
    background-size: cover;
    border-bottom: 5px solid rgba(83, 81, 75, 0.7);
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.3);
}

#historia > h2, #colosos > h2, #gameplay > h2, #contacto > h2 {
    width: 100%;
    text-align: center;
    font-family: "oswald";
    letter-spacing: 2px;
    padding: 10px 0px;
    color: white;
    background-color: rgba(0, 0, 0, 0.85);
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.9);
}

.historia-bloque .historia-texto {
    width: 50%;
    font-family: "oswald";
    color: white;
    background-color: rgba(17, 17, 17, 0.8);
    border: 1px solid rgb(204, 204, 204);
    border-radius: 5px;
    margin-left: -20px;
    padding: 30px 20px 30px 40px;
    box-shadow: 0px 10px 20px rgb(82, 77, 54);
}

.historia-texto p {
    padding: 5px 0px;
}

/*Sección de los colosos*/

.colosos-bloque {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
    height: 900px;
    background-image: url("../img/colosos/dos.jpg");
    background-position: left center;
    background-size: cover;
    border-bottom: 5px solid rgba(83, 81, 75, 0.7);
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.3);
}

.colosos-bloque div {
    width: 250px;
    min-height: 356px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    font-family: "oswald";
    color: white;
    background-color: rgba(17, 17, 17, 0.8);
    border: 1px solid rgb(204, 204, 204);
    border-radius: 5px;
    margin-left: -5px;
    padding: 30px;
    box-shadow: 0px 10px 20px rgb(82, 77, 54);
}

.colosos-bloque img {
    width: 80px;
    filter: drop-shadow(0px 0px 10px black);
}

.colosos-bloque h1 {
    padding: 10px 0px 10px 0px;
}

.colosos-bloque i {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 15pt;
    color: rgba(204, 204, 204, 0.65);
    cursor: pointer;
    transition:all 0.4s;
    filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.9));
}

.colosos-bloque i:hover {
    color: rgb(230, 230, 230);
}

/*Imágenes ampliadas*/

#bloque-imagen-ampliada {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    opacity: 0;
    transition: all 0.4s;
}

#bloque-imagen-ampliada i {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s;
}

#bloque-imagen-ampliada i:hover {
    color: rgb(58, 58, 58);
    cursor: pointer;
}

/*Sección de gameplay*/

.gameplay-bloque {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
    height: 900px;
    background-image: url("../img/gameplay/tres.jpg");
    background-position: left center;
    background-size: cover;
    border-bottom: 5px solid rgba(83, 81, 75, 0.7);
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.3);
}

.gameplay-bloque video {
    width: 500px;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

.gameplay-bloque div {
    position: relative;
    border-radius: 5px;
    background-color: rgba(17, 17, 17, 0.8);
    border: 1px solid rgb(204, 204, 204);
    box-shadow: 0px 10px 20px rgba(41, 41, 41, 0.7);
    overflow: hidden;
}

.gameplay-bloque div p {
    width: 100%;
    position: absolute;
    top: -65px;
    transition: all 0.4s;
    padding: 20px;
    text-align: center;
    font-family: "oswald";
    letter-spacing: 1px;
    color: rgb(221, 219, 219);
    background-color: rgba(17, 17, 17, 0.8);
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.3);
}

.gameplay-bloque div:hover p {
    top: 0px;
}

/*Sección de contacto*/

.contacto-bloque {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
    height: 900px;
    background-image: url("../img/contacto/cuatro.jpg");
    background-position: left center;
    background-size: cover;
    border-bottom: 5px solid rgba(83, 81, 75, 0.7);
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.3);
}

form {
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    padding: 60px 20px 40px 20px;
    border-radius: 5px;
    background-color: rgba(17, 17, 17, 0.8);
    border: 1px solid rgb(204, 204, 204);
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.3);
}

input:not(input:last-child), textarea {
    width: 95%;
    height: 60px;
    font-family: "oswald";
    font-size: 1.1rem;
    padding: 0px 0px 0px 10px;
    border: 1px solid rgb(65, 64, 64);
    border-radius: 3px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3) inset;
    transition: all 0.4s;
}

textarea {
    resize: none;
}

input:not(input:last-child):focus {
    border: 1px solid rgb(204, 204, 204);
    outline: none;
}

input:last-child {
    color: #FFF;
    font-size: 15pt;
    font-family: 'arial';
    letter-spacing: 1px;
    padding: 10px 50px;
    margin: 20px 0px 0px 0px;
    border: 1px solid #CCC;
    background: rgba(13, 13, 13, 0.55);
    border-radius: 31px;
    text-decoration: none;
    transition: .5s all;
}

input:last-child:hover {
    cursor: pointer;
    background: rgb(34, 34, 34);
}

textarea {
    height: 250px;
    padding: 10px 0px 0px 10px;
    margin-bottom: 10px;
    border: 1px solid rgb(65, 64, 64);
    transition: all 0.4s;
}

textarea:focus {
    border: 1px solid rgb(204, 204, 204);
    outline: none;
}

/*Pie de página*/

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: black;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

.footer-bloque {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0px 20px 0px;
}

.footer-bloque img {
    width: 200px;
}

.footer-bloque div:hover {
    animation-name: movimiento;
    animation-duration: 1.2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes movimiento {
    0% {
        transform: scale(1,1);
    }
    25%{
        transform: scale(0.95,0.95);
    }
    50%{
        transform: scale(0.9,0.9);
    }
    75% {
        transform: scale(0.95,0.95);
    }
    100% {
        transform: scale(1,1);
    }
}

.subfooter {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    color: white;
    background-color: rgb(39, 39, 39);
    border-radius: 3px;
}

.subfooter ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    list-style-type: none;
    padding: 10px;
}

.subfooter ul, .subfooter a {
    font-family: arial;
    font-size: 0.7rem;
    text-decoration: none;
    color: rgb(189, 185, 185);
    transition: all 0.4s;
}

.subfooter a:hover {
    color: rgb(230, 230, 230);
}

/*Flecha para subir*/

.flecha-subir {
    font-size: 30pt;
    color: rgba(204, 204, 204, 0.65);
    cursor: pointer;
    transition:all 0.4s;
    position: fixed;
    bottom: 10px;
    right: 10px;
    filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.9));
    z-index: 10;
    opacity: 0;
}

.flecha-subir:hover {
    color: rgb(230, 230, 230);
}


/*Control de tamaños de los elementos*/

/*Caracteristicas para el cambio de resolución del slider en dispositivos móviles*/

@media screen and (max-width: 460px){
	.content_slider h2 {
	    font-size: 15pt !important;
	}
	.content_slider p {
	    font-size: 12pt !important;
	}
	#container-slider .arrowPrev, #container-slider .arrowNext{
		font-size: 20pt;
	}
	#container-slider .arrowPrev{
		left: 15px;
	}
	#container-slider .arrowNext{
		right: 15px !important;
	}
	#slider{
		height: 400px;
		min-height: 400px;
	}
	#slider li .content_slider{
		padding: 10px 35px;
	}
	.btnSlider{
		padding: 10px 30px;
    	font-size: 10pt;
	}

}

/*Control de tamaños en el resto de secciones*/

@media screen and (min-width: 912px) and (max-width: 1400px) {

    .colosos-bloque {
        align-content: center;
        height: 900px;
    }

    .gameplay-bloque {
        align-content: center;
        height: 1100px;
        gap: 30px;
    }
}

@media screen and (min-width: 636px) and (max-width: 911px) {
    
    header nav ul li a {
        font-size: 0.8rem;
        padding: 10px 25px;
    }

    .colosos-bloque {
        align-content: center;
        height: initial;
        padding: 40px 0px 40px 0px;
        gap: 10px;
    }

    .gameplay-bloque {
        align-content: center;
        height: initial;
        padding: 40px 0px 40px 0px;
    }

    .footer-bloque {
        flex-direction: column;
        gap: 40px;
        padding: 40px 0px 40px 0px;
    }
}

@media screen and (min-width: 495px) and (max-width: 635px) {

    #container {
        align-items: stretch;
    }

    header {
        padding: 120px 0px 20px 0px;
        height: initial;
    }

    header img {
        width: 50%;
    }

    #mobile {
        width: 100%;
        display: flex;
        justify-content: center;
        position: fixed;
        top: 0px;
        background: linear-gradient(to top, rgb(0, 0, 0), rgb(83, 81, 75));
        box-shadow: 0px 3px 15px rgba(136, 135, 135, 0.3);
        z-index: 9;
    }

    #mobile ul {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        list-style-type: none;
    }
    
    #mobile ul li {
        width: 100%;
        text-align: center;
        padding: 15px;
        background: linear-gradient(to top, rgb(0, 0, 0), rgb(83, 81, 75));
        transition: 0.15s;
    }

    #mobile ul li:not(li:last-child) {
        border-right: 2px solid rgb(94, 93, 93);
    }
    
    #mobile ul li:hover {
        cursor: pointer;
        background: linear-gradient(to top, rgb(0, 0, 0), rgb(83, 81, 75));
    }
    
    #mobile ul li:hover a{
        color: white;
    }
    
    #mobile ul li a {
        font-size: 0.8rem;
        font-family: "oswald";
        letter-spacing: 1px;
        text-transform: uppercase;
        color: rgb(226, 226, 226);
        text-decoration: none;
    }

    nav {
        display: none;
    }

    .historia-bloque .historia-texto {
        width: 80%;
    }

    .gameplay-bloque video {
        width: 400px;
    }

    .colosos-bloque {
        align-content: center;
        height: initial;
        padding: 40px 0px 40px 0px;
        gap: 10px;
    }

    .gameplay-bloque {
        align-content: center;
        height: initial;
        padding: 40px 0px 40px 0px;
    }

    .footer-bloque {
        flex-direction: column;
        gap: 40px;
        padding: 40px 0px 40px 0px;
    }

}

@media screen and (max-width: 494px){
    #container {
        align-items: stretch;
    }

    header {
        padding: 100px 0px 20px 0px;
        height: initial;
    }

    header img {
        width: 50%;
    }

    #mobile {
        width: 100%;
        display: flex;
        justify-content: center;
        position: fixed;
        top: 0px;
        background: linear-gradient(to top, rgb(0, 0, 0), rgb(83, 81, 75));
        box-shadow: 0px 3px 15px rgba(136, 135, 135, 0.3);
        z-index: 9;
    }

    #mobile ul {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        list-style-type: none;
    }
    
    #mobile ul li {
        width: 100%;
        text-align: center;
        padding: 15px 10px 15px 10px;
        background: linear-gradient(to top, rgb(0, 0, 0), rgb(83, 81, 75));
        transition: 0.15s;
    }

    #mobile ul li:not(li:last-child) {
        border-right: 2px solid rgb(94, 93, 93);
    }
    
    #mobile ul li:hover {
        cursor: pointer;
        background: linear-gradient(to top, rgb(0, 0, 0), rgb(83, 81, 75));
    }
    
    #mobile ul li:hover a{
        color: white;
    }
    
    #mobile ul li a {
        font-size: 0.7rem;
        font-family: "oswald";
        letter-spacing: 1px;
        text-transform: uppercase;
        color: rgb(226, 226, 226);
        text-decoration: none;
    }

    nav {
        display: none;
    }

    .historia-bloque .historia-texto {
        width: 80%;
    }

    .gameplay-bloque video {
        width: 330px;
    }

    .colosos-bloque {
        align-content: center;
        height: initial;
        padding: 40px 0px 40px 0px;
    }

    .colosos-bloque div {
        width: 90%;
    }

    .gameplay-bloque {
        align-content: center;
        height: initial;
        padding: 40px 0px 40px 0px;
    }

    form {
        width: 90%;
        padding: 20px 10px 20px 10px;
    }

    .footer-bloque {
        flex-direction: column;
        gap: 40px;
        padding: 40px 0px 40px 0px;
    }

    .contacto-bloque {
        height: initial;
        padding: 40px 20px 40px 20px;
    }

    .subfooter {
        border-radius: 5px;
        padding: 10px 0px 10px 0px;
    }

    .subfooter ul {
        width: 95%;
        flex-direction: column;
    }

    .subfooter ul li {
        width: 100%;
        text-align: center;
        padding: 10px;
        border-radius: 5px;
        background-color: rgb(48, 47, 47);
    }
}

@media screen and (max-width: 375px){
    #mobile ul li a {
        font-size: 0.65rem;
    }
}

@media screen and (max-width: 360px){
    #mobile ul li a {
        font-size: 0.6rem;
    }
}

@media screen and (max-width: 345px){
    #mobile ul li {
        padding: 15px 5px 15px 5px;
    }
}

