@import url('https://fonts.googleapis.com/css2?family=Trirong:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --black: #130f40;
    --white: #fff;
    --gradient: linear-gradient(#1b1b1b, #939393, #606060);
    --background: rgba(28, 28, 28, 0.9);
    --box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .3);
    --border: .1rem solid rgba(255, 255, 255, .1);
    --border-top: .1rem solid rgba(63, 63, 63, 0.6);
    --border-left: .1rem solid rgba(255, 255, 255, .3);

}


* {
    font-family: "Trirong", serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .3s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 10rem;
}

html::-webkit-scrollbar {
    width: 1rem;
}

html::-webkit-scrollbar-track {
    background: var(--gradient);
}

html::-webkit-scrollbar-thumb {
    background: var(--white);
    border-radius: 5rem;
}

section {
    padding: 2rem 9%;
}


.btn {
    margin-top: 1rem;
    display: inline-block;
    transition: .2s linear;
    background: var(--white);
    color: var(--black);
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    padding: .8rem 3rem;
    font-size: 1.7rem;
    cursor: pointer;
}

.btn:hover {
    letter-spacing: .1rem;
}

.gradient-background {
    height: 100vh;
    width: 100%;
    background: var(--gradient);
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

.heading {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--white);
    text-transform: uppercase;

}


.message {
    position: sticky;
    top: 0;
    /* max-width: 1500px; */
    width: 100%;
    margin: 0 auto;
    z-index: 1100;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem;
}

.message span {
    font-size: 2rem;
    color: #333533;
}

.message i {
    color: #333533;
    cursor: pointer;
    font-size: 2.5rem;
}

.message i:hover {
    transform: rotate(90deg);
}



.header {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 95%;
    background: var(--background);
    border: var(--border);
    border-top: var(--border-top);
    border-left: var(--border-left);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--box-shadow);
    padding: 1rem 3rem;
    border-radius: .5rem;
    backdrop-filter: blur(.4rem);
}

.header .logo {
    font-size: 1.7rem;
    color: var(--white);
}

.header .logo img{
    height: 4.5rem;
    vertical-align: middle;
}




.header .navbar a {
    font-size: 1.7rem;
    margin-left: 2rem;
    color: var(--white);
}

.header .navbar a:hover {
	color: #ff0;
    text-shadow: 0 0 15px #ff0,
        0 0 30px #ff0,
        0 0 40px #ff0,
        0 0 60px #ff0

}

#menu-btn {
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--white);
    display: none;
}


.home {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    background: url(../images/yiggo-games-home-image-04.jpg) no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding: 0;

}

.home .content {
    width: 75rem;
    text-align: center;
    margin-top: 65rem;
}

.home .content h3 {
    color: var(--white);
    text-transform: uppercase;
    font-size: 4rem;
    line-height: 1.8;
    text-shadow: 0 .5rem 1rem rgba(0, 0, 0, .5);
}

.home .content p {
    font-weight: 300;
    color: var(--white);
    font-size: 2rem;
    line-height: 1.8;
    padding: 1rem 0;
        text-shadow: 0 .5rem 1rem rgba(0, 0, 0, .7);

}



.courses .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.courses .box-container .box {
    text-align: center;
    background: var(--background);
    border-radius: .5rem;
    box-shadow: 0 .5rem 1rem rgba(47, 6, 66, .2);
    padding: 2rem;
    backdrop-filter: blur(.4rem);
    overflow: hidden;
}

.courses .box-container .box:hover{
    box-shadow: 0 0 5px #ccff00,
        0 0 10px #ccff00,
        0 0 20px #ccff00,
        0 0 40px #ccff00;
}


.courses .box-container .box .image {
    height: 25rem;
    overflow: hidden;
    position: relative;
}

.courses .box-container .box .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.courses .box-container .box .image h3 {
    font-size: 1.5rem;
    text-transform: capitalize;
    color: #130f40;
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1.5rem;
    background: #fff;
    border-radius: .5rem;
}

.courses .box-container .box .content {
    padding: 2rem;
    text-align: center;

}

.courses .box-container .box .content h3 {
    font-size: 2rem;
    text-transform: capitalize;
    color: white;
}

.courses .box-container .box .content p {
    padding: 1rem 0;
    font-size: 1.6rem;
    line-height: 1.5;
    color: white;
}

.courses .box-container .box .content .icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 0.1rem solid #7c1f4c;
}

.courses .box-container .box .content .icons span {
    font-size: 1.5rem;
    text-transform: capitalize;
    color: #7c1f4c;
}

.courses .box-container .box .content .icons span i {
    color: #7c1f4c;
    padding-right: 0.5rem;
}





.contact form {
    max-width: 60rem;
    margin: 1rem auto;
    text-align: center;
    background: var(--background);
    border-radius: .5rem;

    box-shadow: 0 .5rem 1rem rgba(47, 6, 66, .2);
    padding: 2rem;
    backdrop-filter: blur(.4rem);
}

.contact form .box {
    width: 100%;
    background: var(--background);
    border-radius: .5rem;
    margin: .7rem 0;
    box-shadow: var(--box-shadow);
    padding: 1rem 1.2rem;
    font-size: 1.6rem;
    color: var(--white);
    text-transform: none;
    font-weight: 300;
            	border: 1px solid #3a3a3a;

}

.contact form .box::placeholder {
    color: #eee;
    text-transform: capitalize;
}

.contact form textarea {
    height: 15rem;
    resize: none;
}

.contact form input:focus,
.contact form textarea:focus {
	outline: none;
	border-color: #ff0;
    box-shadow: 0 0 3px #ff0,
        0 0 6px #ff0,
        0 0 9px #ff0,
        0 0 12px #ff0

}


.footer {
    text-align: center;
    padding: 1rem 0;
}

.footer .share {
    padding: 1rem 0;
}

.footer .share a {
    margin: 0 1rem;
    font-size: 3rem;
    color: var(--black);
}

.footer .share a:hover {
    color: #ff0;
    text-shadow: 0 0 5px #ff0,
        0 0 10px #ff0,
        0 0 15px #ff0,
        0 0 20px #ff0

}

.footer .credit {
    border-top: var(--border-top);
    padding: 1rem 0;
    font-size: 1.8rem;
    color: var(--black);
    text-transform: none;
    justify-content: center;
    align-items: center;
}

.footer .credit img {
    height: 3.5rem;
    vertical-align: middle;
}









/* MEDIA QUERIES - MEDIA QUERIES  */

@media(max-width:991px) {
    html {
        font-size: 55%;
    }

    section {
        padding: 2rem;
    }
}


@media(max-width:768px) {
    #menu-btn {
        display: initial;
        transition: .2s linear;
    }

    #menu-btn.fa-times {
        transform: rotate(180deg);
    }

    .header .navbar {
        position: absolute;
        top: 115%;
        left: 0;
        right: 0;
        background: var(--gradient);
        border-radius: .5rem;
        transition: .3s linear;
        box-shadow: var(--box-shadow);
        padding: .5rem 1.5rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    .header .navbar.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);

    }

    .header .navbar a {
        font-size: 2rem;
        display: block;
        background: var(--background);
        border-radius: .5rem;
        margin: 1.2rem 0;
        padding: 1.5rem;
        border: var(--border);
        border-top: var(--border-top);
        border-left: var(--border-left);
        box-shadow: var(--box-shadow);
    }

    .home .content h3 {
        font-size: 3.5rem;
    }

    .home .content p {
        font-size: 1.6rem;
    }
}


@media(max-width:450px) {
    html {
        font-size: 50%;
    }

    .heading span {
        font-size: 3rem;
    }
}