@font-face {
    font-family: "Attractive-bold"; 
    src: url("../../fonts/Attractive-bold.TTF") format("truetype"); 
    font-style: normal; 
    font-weight: normal; 
}
@font-face {
    font-family: "Attractive-heavy"; 
    src: url("../../fonts/Attractive-heavy.TTF") format("truetype"); 
    font-style: normal; 
    font-weight: normal; 
}
@font-face {
    font-family: "card"; 
    src: url("../../fonts/Attractive-Regular.ttf") format("truetype"); 
    font-style: normal; 
    font-weight: normal; 
}

/* Animation for arrows */
.next-page img,
.prew-page img,
.home img,
.restart img{
    transition: .5s ease-in-out;
}
.next-page:hover img{
    transform: translateX(10px);
}
.prew-page:hover img{
    transform: translateX(-10px) rotate(-180deg);
}
.home:hover img{
    transform: scale(-1,1);
}
.restart:hover img{
    transform: rotate(90deg);
}
/*****************************/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Attractive-bold;
}
header, footer{
    width: 100%;
    background: #F78447;
}
header{
    height: 10vh;
}
.container{
    padding: 0 10%;
    height: inherit;
}
header .logo{
    vertical-align: middle;
    margin-top: 1.8vh;
}
header .logo img{
    height: 70%;
}
header .container, nav{
    display: flex;
    justify-content: space-between;
}
nav{
    width: 70%;
}
nav a{
    position: relative;
    display: inline-block;
    margin: auto 0;
    text-decoration: none;
    color: #4b80c0;
    font-size: 20px;
    transition: color .3s ease-in-out ;
}
nav .buy-btn{
    color:#fff;
    background-color: #4b80c0;
    border-radius: 5px;
    padding: 7px 15px 10px;
}
nav a:hover{
    color:#fff;
}
@keyframes doteAfterLink{
    from{
        width: 0;
        height: 0;
        bottom: .5em;
        right: -.5em;
    }
    to{
        width: .8em;
        height: .8em;
        bottom: .1em;
        right: -1em;
    }
}
nav a:hover::after{
    animation: doteAfterLink .3s ease-in-out;
    position: absolute;
    display: block;
    bottom: .1em;
    right: -1em;
    content: '';
    width: .8em;
    height: .8em;
    border-radius: 50%;
    background: white;
}
nav .buy-btn:hover::after{
    display: none;
    bottom: .5em;
}

/* Burger menu */

.menu-btn {
	width: 60px;
	height: 60px;
	position: relative;
	z-index:22;
	overflow: hidden;
    display: none;
    margin: auto 0;
}

.menu-btn span {
    display: block;
	width: 60px;
	height: 4px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #4b80c0;
	transition: all 0.5s;
}

.menu-btn span:nth-of-type(2) {
	top: calc(50% - 15px);
}
.menu-btn span:nth-of-type(3) {
	top: calc(50% + 15px);
}

.menu-btn.active span:nth-of-type(1) {
  display: none;
}
.menu-btn.active span:nth-of-type(2) {
  top: 50%;
  transform: translate(-50%, 0%) rotate(45deg);  
}
.menu-btn.active span:nth-of-type(3) {
  top: 50%;
  transform: translate(-50%, 0%) rotate(-45deg); 
}

.menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 50vw;
	height: fit-content;
	padding: 15px;
    background: #005195;
	transform: translateX(100vw);
	transition: transform 0.9s;
    z-index: 20;
}
.menu nav{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 10vh;
}
.menu.active {
	transform: translateX(50vw);
    padding-right: 50px;
}
.menu nav a{
    color: #4b80c0;
    display: block;
    font-size: 2em;
    margin-bottom: 25px;
    text-align: right;
}

/************************************/
main{
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    /*height: fit-content;*/
    height: 75vh;
    /* background-attachment: fixed; */
}
main::after{
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: no-repeat url('../img/main-bg.png');
    background-size: cover;
    z-index: -2;
    /* background-attachment: fixed; */
}
main::before{
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(#fff, #000);
    opacity: 55%;
    z-index: -1;
    /* background-attachment: fixed; */
}
.text_content{
    position: relative;
    width: 30%;
    color: #fff;
    text-shadow: 2px 2px 2px 50px #005195;
}
.text_content::before{
    content: "";
    position: absolute;
    top: 70%; left: 20%;
    color: transparent;
    width: 60%; height: 0;
    border-radius: 35%;
    box-shadow: 1px 1px 100px 7vw #005195;
    background: radial-gradient(#005195, transparent );
    opacity: 55%;
    z-index: -1;
}
.text_content p{
    margin-top: 15px;
    font-size: 25px;
    line-height: 1.5;
}
h1{
    color: #4b80c0;
    text-transform: uppercase;
    font-size: 6vw;
    font-family: Attractive-heavy;  
}
h1 img{
    width: 35vw;
}
.card{
    color: #fff;
    background: #1481C4;
    margin: 20px 0;
    padding: 10px 30px;
    width: 25vw;
    height: fit-content;
    border: 3px solid transparent;
    font-size: 20px;
    min-height: 266px;
}
.card img {
    width: 50px;
}
.card:hover{
    border: 3px solid #4b80c0;
}
.card h2::after{
    content: '';
    display: block;
    height: 5px;
    width: 5vw;
    background: #F78447;
    margin: 10px 0;
}
.card p{
    width: 100%;
    font-family: attractive-regular;
    font-size: 20px;
    font-weight: 400;
}
.card a{
    font-size: 20px;
    font-weight: bold;
    display: block;
    color: white;
    text-decoration: none;
    background: #F78447;
    padding: 10px;
    margin: 10px auto;
    width: fit-content;
}

.blocks-main {
    display: flex;
    height: fit-content;
}
.cards.bl1 {
    margin-right: 20px;
}
section{
    min-height: 75vh;
}
h2{
    font-size: 25px;
    color: #fff;
    margin: .1em 0 1vw;
}
/**** interactives and audioresources (main)****/
h2.secondary{
    color: #332e2a;
    width: 100%;
    text-align: center;
    padding: 7vh 0 0;
}
h3{
    text-transform: uppercase;
    color: #fff;
    background-color: #f07e20;
    text-align: center;
    margin: 35px 0;
    padding: 5px 0;
    font-size: 25px;
    width: 45%;
}
.h4__main{
    font-size: 25px;
    color: #332e2a;
    width: 45%;
    height: 45px;
    display: flex;
    align-items: center;
    margin: 30px 0 55px;
}
.h4__main::before{
    content: '';
    display: inline-block;
    width: 25%;
    height: 45px;
    background: #f07e20;
    margin-right: 5%;
}
.space{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 89%;
    margin: 0 auto;
}
.space__wide{
    width: 90%;
}
.space .item{
    display: inline-block;
    width: 100%;
    text-decoration: none;
    color: #332e2a;
    font-size: 20px;
    margin: 10px 0;
}
.list-group-item {
    /*margin: auto;*/
}
.space >.item{
    width: 47%;
}
.space .left,
.space .right{
    width: 48%;
}
/*******/
.chapters, .item__footer{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.chapters{
    margin-bottom: 2vw;
}
.chapters .item{
    position: relative;
    background-size: contain;
    width: 44%;
    height: 23.2vw;
    margin: 1vw 0;
}
.chapters.audio .item:first-child{
    background: no-repeat center/contain url('../img/audio1.png');
}
.chapters.audio .item:nth-child(2){
    background: no-repeat center/contain url('../img/audio2.png');
}
.chapters.audio .item:nth-child(3){
    background: no-repeat center/contain url('../img/audio3.png');
}
.chapters.audio .item:last-child{
    background: no-repeat center/contain url('../img/audio4.png');
}
.chapters.inter .item:first-child{
    background: no-repeat center/contain url('../img/interactive1.png');
}
.chapters.inter .item:last-child{
    background: no-repeat center/contain url('../img/interactive2.png');
}
.chapters .item.video{
    width: 48%;
    height: 21vw;
    margin: 0 0 4em;
}
.chapters .item.video p{
    font-size: 1.2em;
    margin-bottom: .3em;
    height: 50px;
    display: table-cell;
    vertical-align: bottom;

}
.h2_black{
    color: #000;
    margin: 2em 0 0;
}
iframe{
    width: 100%;
    height: 100%;
}
.item__footer{
    position: absolute;
    background-color: rgba(343, 122, 32, 0.5);
    width: 100%;
    height: 5vw;
    bottom:0;
    padding: 1vw 2vw;
}
.item__footer p, .item__footer a {
    color: #fff;
    font-size: 20px;
    margin: auto 0;
}
.item__footer a{
    display: inline-block;
    text-decoration: none;
    padding: .5vw 1.5vw;
    background-color: #332d2a;
    border: none;
}
footer{
    background: #F78447;
    width: 100%;
    height: 15vh;
}
footer .container{
    display: flex;
    justify-content: space-between;
}
footer .container div{
    height: fit-content;
    margin: auto 0;
}
footer .social{
    display: flex;
    justify-content: space-between;
    width: 250px;
}
footer .social img{
    width: 35px;
}
.copyright{
    color: #fff;
    margin-top: 10px;
}
@media screen and (max-width: 1200px) {
    main{
        justify-content: space-between;
        padding: 0 5%;
    }
    .container{
        padding: 0 5%;
    }
    .chapters .item{
        height: 26vw;
    }
    .chapters .item.video{
        height: 24vw;
    }
    .item__footer{
        padding: 1vw;
    }
    .item__footer a {
        font-size: 18px;
    }
}
@media screen and (max-width: 992px) {
    .container > nav{
        display: none;
    }
    .menu-btn{
        display: block;
    }
    header{
        position: fixed;
        top:0;
        z-index: 1;
    }
    main{
        margin-top: 10vh;
        flex-wrap: wrap;
        justify-content: center;
        height: fit-content;
        overflow-y: scroll;
        -webkit-overflow-scrolling:touch;
    }
    main .text_content{
        width: 85%;
    }
    h1{
        font-size: 10vw;
        margin-top: 20px;
    }
    h1 img{
        width: 80vw;
    }
    h2{
        margin-top: 1em;
    }
    .card{
        width: 70%;
        margin: 15px auto;
    }
    .chapters .item{
        width: 100%;
        height: 59vw;
        margin: 3vw 0;
    }
    .chapters .item.video{
        width: 100%;
        height: 50vw;
    }
    .item__footer{
        padding: 20px 40px;
        height: fit-content;
    }
    .item__footer a {
        font-size: 20px;
    }
    .card {
        min-height: 358px;
    }
}
@media only screen
  and (min-device-width: 320px)
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2) {
    header{
        height: 7vh;
    }
    main{
        margin-top: 7vh;
    }
    .menu {
        width: 50vw;
    }
    .menu.active {
        transform: translateX(50vw);
    }
    .menu nav{
        margin-top: 7vh;
    }
    .menu nav a{
        font-size: 1em;
    }
    footer{
        height: fit-content;
    }
    footer .container{
        padding: 40px;
    }
    footer .logo img{
        height: 50px;
    }
    footer .social img{
        width: 55px;
    }
    .copyright{
        font-size: 25px;
    }
}
/**** FIXED MENU START****/
.fixed-menu{
    position: fixed;
    top: 16%;
    right: 10%;
}
.fixed-menu button{
    background: #4b80c0;
    color: #fff;
    border: none;
    padding: 7px 15px 10px;
    border-radius: 5px;
    font-family: Attractive-bold;
    font-size: 1.1em;
    cursor: pointer;
}
.fixed-menu .close{
    background: #fff;
    color: #4b80c0;
    float: right;
    padding: 0;
}
.fixed-menu ul{
    border: 1px solid #ccc;
    padding: 10px 20px;
    border-radius: 10px;
    display: none;
    min-width: 150px;
    max-height: 80vh;
    overflow-y: scroll;
}
.fixed-menu li{
    list-style: none;
    padding: 2px 0;
}
.fixed-menu li a{
    color: black;
    text-decoration: none;
}
.fixed-menu li.theme a{
    font-size: 1.1em;
    color: #4b80c0;
}
.fixed-menu li:not(.theme) a{
    padding-left: 15px;
}
/**** FIXED MENU END****/
