/*? global clearing */
html,
body {
    margin: 0;
    padding: 0;
}

:root {
    --light: #d3d3d3;
    --dark: #222222;
    --gap-primary: 16px;
    --gap-secondary: 8px;
}

.navigation{
    color:white;
}

/* navigation */
.nav{
    padding:10px 25px;
}

.text-white{
    color:white;
}

.text-center{
    text-align: center;
}

body {
    background-color: var(--dark);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;    
    font-family: 'M PLUS 1 Code', sans-serif;
}

nav {
    overflow: hidden;
    background-color: rgb(191, 219, 254)
}

nav a {
    float: left;
    display: block;
    color: var(--dark);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

nav a:hover {
    background-color: #dddddd;
    color: black;
}

nav a.active {
    background-color: rgb(22, 136, 212);
    color: white;
}

nav .icon {
    display: none;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: var(--gap-primary);
}

.container__header{
    background-color: rgba(191, 219, 254,0.5);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 380px;
    position: relative;
    border-radius: 0px 0px 20px 20px;
    border-bottom: 1px solid white;
}

.container__image{
    z-index: -1;
    overflow: clip;
    height: 380px;
    position: absolute;
    border-radius: 0px 0px 25px 25px;
}

.container__image > img{
    width: 100%;
    height: auto;
}

.container__title{
    font-size: 50px;
    font-weight: bold;
    margin:0px 20px;
    text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
}

.container__desc{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.desc{
    margin-top: 30px;
    width:50%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 20px;
}

.desc_lang{
    list-style: none;
}

.desc_lang > li{
    float: left;
    margin:5px 10px;
}

.navigation-link{
    position: relative;
    margin-top:20px;
}

.navigation-button{
    display: inline-block;
    border-radius: 4px;
    border:1px solid white;
    background-color: aquamarine;
    text-align: center;
    transition: all 0.5s;
    cursor: pointer;
    margin:20px 10px;
    padding:20px ;
    font-size: 20px;
}

.navigation-button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.navigation-button span:after{
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.navigation-button:hover span{
    padding-right: 25px;
}

.navigation-button:hover span:after{
    opacity: 1;
    right: 0;
}

.btn {
    border: none;
    padding: var(--gap-secondary);
    background-color: var(--light);
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: all .5s ease-in-out;
    border-radius: 8px;
}

.btn:hover {
    background-color: tomato;
    color: var(--light);
}

.glowingTitle {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    -webkit-animation: glow 1s ease-in-out infinite alternate;
    -moz-animation: glow 1s ease-in-out infinite alternate;
    animation: glowingTitle 1s ease-in-out infinite alternate;
}

.modal{
    width: 100%;
    top: 120px;
    left: 0;
    z-index: 1;
    position: absolute;
}

.modal__content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    background-color: aliceblue;
    border:1px solid black;
    border-radius: 20px;
    margin:0 20px;
    padding: 20px;
}

.modal__header{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal__header > i{
    font-size: 20px;
    cursor: pointer;
    margin-right: 20px;
}

.modal__header > p{
    font-size: 20px;
}

.modal__content > ol{
    margin:20px 0px;
}

.hidden{
    display: none;
}

.container__body{
    width: 100%;
    height: 530px;
    position: relative;
    display: flex;
    justify-content: center;
}

.container__body:before{
    background-image: url('../assets/images/asset_matrix.gif');
    position:absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.5;
    content: "";
    background-size: cover;
}

footer{
    bottom: 0;
    position: fixed;
    z-index: 0;
    margin:20px 0px;
    width: 100%;
    color: var(--light);
}

.footer__main{
    border-radius: 20px;
    border:1px solid white;
    background-color: black;
    display: flex;
    justify-content: space-between;
    margin:0px 20px;
    padding:0px 15px;
}

.lang{
    color:white;
    background-color: black;
    border: 2px solid white;
    margin:20px;
    padding:10px;
    border-radius: 10px;
    position:relative;
}

/* ============================= RESPONSIVE SECTION ===================== */
@media screen and (max-width: 600px) {
    nav a:not(:first-child) {display: none;}
    nav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .container__title{
        font-size: 35px;
    }

    .navigation-button{
        font-size: 15px;
    }
    
    .container__image > img{
        width: 100%;
        height: 100%;
    }
    
    .container__desc{
        margin:0px 10px;
    }
    .desc{
        width: auto;
    }
    nav.responsive { position: relative; }
    nav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    nav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}

@media screen and (max-width:350px) {
    .footer__main{
        flex-direction: column;
        align-items: center;
    }
    .footer__main > p{
        margin: 0;
        padding:8px 0px;
    }
    .navigation-button{
        font-size: 13px;
    }
}

/* 
@-webkit-keyframes glowingTitle {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;
    }
    to {
        text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
    }
} */
