* {
	padding:0;
	margin:0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
body{
    margin: 0;
    background-color: #000;
    color: #eee;
    font-family: Poppins;
    font-size: 12px;
}
a{
    text-decoration: none;
}

/* Barra fija de redes sociales */
.social-bar {
    position: fixed;
    top: 4%;
    left: 80%;
    width: 100%;
    background-color: rgb( 70, 140, 190, 0 );
    padding: 10px 0;
    z-index: 999;
    display: flex;
   /* justify-content:flex-end;*/
}

.social-bar a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-size: 18px;
}

.social-bar a:hover {
    color: #213967;
}

/*Estilos del header*/
header{
    width: 1140px;
    max-width: 80%;
    margin: auto;
    height: 50px;
    display: flex;
    align-items: center;
    position: relative;
   /* z-index: 100;*/
}
header a{
    color: #eee;
    margin: 0 20px;
}

/* Estilos menú de navegación */

header nav {
	z-index:100;
	max-width: 1000px;
	width:95%;
	margin:20px 50px;
}
img{
	width: 15%;
}

.logo{
	position: fixed;
	left: 5%;
	top: 1%;
}
.logo2{
	position: fixed;
	left: 5%;
	top: 86%;
	width: 10%;
	/*left: 64%;
	top: 4%;*/
	width: 9%;
}
header nav ul {
	list-style:none;
	margin-top: 6%;
}
header nav ul li {
	display:inline-block;
	position: relative;
	background-color: #213967;
	border-radius: 5px;
}
header nav ul li:hover {
	background-color: rgb(201,151,0);
}

header nav ul li a {
	color:#fff;
	display:block;
	text-decoration:none;
	padding: 10px;
	text-transform: uppercase;
	font-weight:600;
	font-size:16px;
}
header nav ul li:hover .children {
	display:block;
	
}
header nav ul li a span {
	margin-right:10px;
}
header nav ul li .children {
	display: none;
	background-color: rgb( 70, 140, 190, 0.5 );
	position: absolute;
	width: 125%;
	z-index:1000;
	margin-top: 0%;
	margin-left: 0%;
}

header nav ul li .children li {
	display:block;
	overflow: hidden;
	background: none;
}

header nav ul li .children li a {
	display: block;
}

header nav ul li .children li:hover {
	background-color: rgb(201,151,0);
}

header nav ul li .children li a span {
	float: right;
	position: relative;
	top:3px;
	margin-right:0;
	margin-left:10px;
}

header nav ul li .caret {
	position: relative;
	top:1px;
	margin-left:10px;
	margin-right:0px;
}

/* carousel */
.carousel{
    height: 100vh;
    margin-top: -50px;
    width: 100vw;
    overflow: hidden;
    position: relative;
}
.carousel .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}
.carousel .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel .list .item .content{
    position: absolute;
    top: 30%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 20%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
}
.carousel .list .item .content2{
    position: absolute;
    top: 25%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 20%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
}
.carousel .list .item .author{
    font-weight: bold;
    letter-spacing: 10px;
	font-size: 130%;
}
.carousel .list .item .title,
.carousel .list .item .topic{
    font-size: 5em;
    font-weight: bold;
    line-height: 1.3em;
}

.carousel .list .item .topic {
    color: rgba(228,179,30,1.00);
	text-shadow: 2px 2px 2px #fff;
}
.carousel .list .item .des{
    font-size: 21px;
}
.carousel .list .item .buttons{
    display: grid;
    grid-template-columns: repeat(2, 160px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}
.carousel .list .item .buttons2{
    display: grid;
    grid-template-columns: repeat(2, 200px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}
.carousel .list .item .buttons button{
    border: none;
    background-color: #eee;
    letter-spacing: 3px;
    font-family: Poppins;
    font-weight: 500;
}
.carousel .list .item .buttons2 button{
    border: none;
    background-color: #eee;
    letter-spacing: 3px;
    font-family: Poppins;
    font-weight: 500;
	color: black;
}
.carousel .list .item .buttons button:nth-child(2){
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
}
.carousel .list .item .buttons2 button:nth-child(2){
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
}

.carousel .list .item .buttons button:hover{
    background-color: rgb(27,95,170);
	color: #eee;
	border: none;
}
.carousel .list .item .buttons2 button:hover{
    background-color: rgb(27,95,170);
	color: #eee;
	border: none;
}

/* thumbail */
.thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}
.thumbnail .item{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.thumbnail .item .content{
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}
.thumbnail .item .content .title .title2{
    font-weight: 500;
}
.thumbnail .item .content .description{
    font-weight: 300;
}
/* arrows */
.arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.arrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
}
.arrows button:hover{
    background-color: #fff;
    color: #000;
}

/* animation */
.carousel .list .item:nth-child(1){
    z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons,
.carousel .list .item:nth-child(1) .content .buttons2,
.carousel .list .item:nth-child(1) .content2 .author,
.carousel .list .item:nth-child(1) .content2 .title,
.carousel .list .item:nth-child(1) .content2 .topic,
.carousel .list .item:nth-child(1) .content2 .des,
.carousel .list .item:nth-child(1) .content2 .buttons,
.carousel .list .item:nth-child(1) .content2 .buttons2
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
.carousel .list .item:nth-child(1) .content .title{
    animation-delay: 1.2s!important;
}
.carousel .list .item:nth-child(1) .content .topic{
    animation-delay: 1.4s!important;
}
.carousel .list .item:nth-child(1) .content .des{
    animation-delay: 1.6s!important;
}
.carousel .list .item:nth-child(1) .content .buttons{
    animation-delay: 1.8s!important;
}
.carousel .list .item:nth-child(1) .content .buttons2{
    animation-delay: 1.8s!important;
}

.carousel .list .item:nth-child(1) .content2 .title{
    animation-delay: 1.2s!important;
}
.carousel .list .item:nth-child(1) .content2 .topic{
    animation-delay: 1.4s!important;
}
.carousel .list .item:nth-child(1) .content2 .des{
    animation-delay: 1.6s!important;
}
.carousel .list .item:nth-child(1) .content2 .buttons{
    animation-delay: 1.8s!important;
}
.carousel .list .item:nth-child(1) .content2 .buttons2{
    animation-delay: 1.8s!important;
}
/* create animation when next click */
.carousel.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}
@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
    z-index: 100;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}
.carousel.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}

/* running time */

.carousel .time{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 3px;
    background-color: #f1683a;
    left: 0;
    top: 0;
}

.carousel.next .time,
.carousel.prev .time{
    animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
    from{ width: 100%}
    to{width: 0}
}


/* prev click */

.carousel.prev .list .item:nth-child(2){
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.carousel.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
    pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons,
.carousel.prev .list .item:nth-child(2) .content .buttons2,
.carousel.prev .list .item:nth-child(2) .content2 .author,
.carousel.prev .list .item:nth-child(2) .content2 .title,
.carousel.prev .list .item:nth-child(2) .content2 .topic,
.carousel.prev .list .item:nth-child(2) .content2 .des,
.carousel.prev .list .item:nth-child(2) .content2 .buttons,
.carousel.prev .list .item:nth-child(2) .content2 .buttons2
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}

@media only screen and (min-width: 320px) and (max-width: 480px){
	.social-bar {
		top: 2.5%;	
		margin-left: -14%;
	}
	.social-bar a {
		margin: 0 7px;
		font-size: 16px;
	}
	img{
	width: 35%;
	}

	.logo{
		position: fixed;
		left: 6%;
		top: 1.5%;
	}
	.logo2{
		left: 10%;
		top: 88%;
		width: 30%;
	}
	header nav ul li .caret {
		top:1px;
		margin-left:10px;
	}
	.carousel .list .item .content{
        padding-right: 0;
		top: 33%;
		max-width: 85%;
    }
	 .carousel .list .item .content .author {
        font-size: 15px;
    }
    .carousel .list .item .content .title {
        font-size: 35px;
    }
	 .carousel .list .item .content .topic{
        font-size: 35px;
    }
	.carousel .list .item .content2{
        padding-right: 0;
		top: 30%;
		max-width: 85%;
    }
	.carousel .list .item .content2 .author {
        font-size: 15px;
    }
    .carousel .list .item .content2 .title {
        font-size: 35px;
    }
	 .carousel .list .item .content2 .topic{
        font-size: 35px;
    }
	.carousel .list .item .buttons {
		display: none;
	}
	.carousel .list .item .buttons2{
    grid-template-columns: repeat(2, 180px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 8px;
}
.carousel .list .item .buttons2 button{
    letter-spacing: 2px;
    font-weight: 500;
	color: black;
}
}
@media only screen and (min-width: 481px) and (max-width: 768px){
	.social-bar {
		top: 5%;	
		margin-left: -8%;
	}
	.social-bar a {
		margin: 0 12px;
		font-size: 20px;
	}
		header nav ul {
		margin: 1% 0% 0;
	}
	img{
	width: 32%;
	}

	.logo{
		position: fixed;
		left: 6%;
		top: 2%;
	}
	.logo2{
		left: 10%;
		top: 88%;
		width: 30%;
	}
	.carousel .list .item .content{
        padding-right: 0;
		top: 37%;
		max-width: 85%;
    }
	 .carousel .list .item .content .author {
        font-size: 15px;
    }
    .carousel .list .item .content .title {
        font-size: 36px;
    }
	 .carousel .list .item .content .topic{
        font-size: 36px;
    }
	.carousel .list .item .content2{
        padding-right: 0;
		top: 37%;
		max-width: 85%;
    }
	.carousel .list .item .content2 .author {
        font-size: 15px;
    }
    .carousel .list .item .content2 .title {
        font-size: 36px;
    }
	 .carousel .list .item .content2 .topic{
        font-size: 36px;
    }
	.carousel .list .item .buttons {
		display: none;
	}
	.carousel .list .item .buttons2{
    grid-template-columns: repeat(2, 180px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 8px;
}
.carousel .list .item .buttons2 button{
    letter-spacing: 2px;
    font-weight: 500;
	color: black;
}
}
@media only screen and (min-width: 769px) and (max-width: 1023px){
	.social-bar {
		top: 1%;
		left: 65%;
	}
	.social-bar a {
		margin: 0 15px;
		font-size: 20px;
	}
	img{
	width: 55%;
	}
	.logo{
		position: fixed;
		left: 6%;
		top: 1.5%;
	}
	
	header nav ul {
		margin: 20% -5% 0 -3%;
	}
	.logo2{
	left: 10%;
	top: 88%;
	width: 30%;
	}
	.carousel .list .item .content{
        padding-right: 0;
		top: 33%;
		max-width: 85%;
    }
	 .carousel .list .item .content .author {
        font-size: 20px;
    }
    .carousel .list .item .content .title {
        font-size: 50px;
    }
	 .carousel .list .item .content .topic{
        font-size: 50px;
    }
	.carousel .list .item .content2{
        padding-right: 0;
		top: 33%;
		max-width: 85%;
    }
	.carousel .list .item .content2 .author {
        font-size: 20px;
    }
    .carousel .list .item .content2 .title {
        font-size: 50px;
    }
	 .carousel .list .item .content2 .topic{
        font-size: 50px;
    }
	.carousel .list .item .buttons {
		display: none;
	}
	.carousel .list .item .buttons2{
    grid-template-columns: repeat(2, 180px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 8px;
}
.carousel .list .item .buttons2 button{
    letter-spacing: 2px;
    font-weight: 500;
	color: black;
}
}
@media screen and (max-width: 800px) {

	header nav {
		width: 100%;	
		height: 100%;
		margin: 28% 0 0;
	}
	header nav ul {
		display: block;
		margin: 5% -5%;
		
	}
	header nav ul li {
		display: block;
		border-bottom:1px solid rgba(255,255,255,.5);
		border-radius: 5px;
	}

	header nav ul li a {
		display: block;
		margin-left: 5%;
	}
/**/
	header nav ul li:hover .children {
	display:block;
	
	}

	header nav ul li .children {
		width: 100%;
		position: relative;
	}

	header nav ul li .children li a {
		margin-left:15%;
	}

	header nav ul li .caret {
		float: right;
	}
}

@media only screen and (min-width: 820px) and (max-width: 1180px){
	.social-bar {
		top: 6%;
		left: 66%;
	}
	.social-bar a {
		margin: 0 15px;
		font-size: 20px;
	}
	img{
	width: 40%;
	}
	.logo{
		position: fixed;
		left: 9%;
		top: 2%;
	}
	header nav {
		margin-left: 2%;
		margin-right: 0%;
	}
	header nav ul {
		margin-top: 50%;
	}
	header nav ul li a {
		font-weight:600;
		font-size:16px;
	}
	header nav ul li .children {
		width: 100%;
	}
}
@media only screen and (min-width: 1024px) and (max-width: 1200px){
	.social-bar {
		top: 7%;
		left: 69%;
	}
	.social-bar a {
		margin: 0 15px;
		font-size: 20px;
	}
	img{
	width: 30%;
	}
	.logo{
		position: fixed;
		left: 10%;
		top: 3%;
	}
	header nav {
		margin-left: 2%;
		margin-right: 0%;
	}
	header nav ul {
		margin-top: 38%;
	}
	header nav ul li a {
		font-weight:600;
		font-size:19px;
	}
	header nav ul li .children {
		width: 100%;
	}
	.logo2{
		left: 10%;
		top: 88%;
		width: 15%;
	}
	.carousel .list .item .content{
        padding-right: 0;
		top: 38%;
		max-width: 85%;
    }
	 .carousel .list .item .content .author {
        font-size: 15px;
    }
    .carousel .list .item .content .title {
        font-size: 50px;
    }
	 .carousel .list .item .content .topic{
        font-size: 50px;
    }
	.carousel .list .item .content2{
        padding-right: 0;
		top: 37%;
		max-width: 85%;
    }
	.carousel .list .item .content2 .author {
        font-size: 15px;
    }
    .carousel .list .item .content2 .title {
        font-size: 50px;
    }
	 .carousel .list .item .content2 .topic{
        font-size: 50px;
    }
	.carousel .list .item .buttons {
		display: none;
	}
	.carousel .list .item .buttons2{
		grid-template-columns: repeat(2, 300px);
		grid-template-rows: 50px;
		gap: 8px;
		margin-top: 12px;
	}
	.carousel .list .item .buttons2 button{
		font-size: 18px;
		letter-spacing: 3px;
		font-weight: 600;
		color: black;
	}
}
@media only screen and (min-width: 1280px) and (max-width: 1601px){
	.social-bar {
		top: 5%;
		left: 80%;
	}
	.social-bar a {
		margin: 0 15px;
		font-size: 20px;
	}
	img{
	width: 20%;
	}
	.logo{
		position: fixed;
		left: 5%;
		top: 2%;
	}
	header nav {
		margin-left: 22%;
	}
	header nav ul {
		margin-top: 8%;
	}
	header nav ul li a {
		font-weight:600;
		font-size:15px;
	}
	header nav ul li .children {
		width: 100%;
	}
	.logo2{
		left: 10%;
		top: 88%;
		width: 15%;
	}
	.carousel .list .item .content{
        padding-right: 0;
		top: 30%;
		max-width: 85%;
    }
	 .carousel .list .item .content .author {
        font-size: 20px;
    }
    .carousel .list .item .content .title {
        font-size: 50px;
    }
	 .carousel .list .item .content .topic{
        font-size: 50px;
    }
	.carousel .list .item .content2{
        padding-right: 0;
		top: 30%;
		max-width: 85%;
    }
	.carousel .list .item .content2 .author {
        font-size: 20px;
    }
    .carousel .list .item .content2 .title {
        font-size: 50px;
    }
	 .carousel .list .item .content2 .topic{
        font-size: 50px;
    }
	.carousel .list .item .buttons {
		display: none;
	}
	.carousel .list .item .buttons2{
		grid-template-columns: repeat(2, 245px);
		grid-template-rows: 40px;
		gap: 5px;
		margin-top: 8px;
	}
	.carousel .list .item .buttons2 button{
		font-size: 20px;
		letter-spacing: 3px;
		font-weight: 600;
		color: black;
	}
}