@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Montserrat;
    color: white;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
}

body {
    background-color: rgb(24, 0, 0);
}

/* Loading Screen ------------------------------------------ */

.loadingPage {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom,
            rgb(159, 28, 52),
            rgb(239, 51, 73),
            rgb(159, 28, 52));
    position: fixed;
    z-index: 9999;
    transition: 2s;
    opacity: 0;
}

.visible {
    opacity: 1;
}

.loadOff {
    width: 0;
    padding-top: 7px;
    transition: 0.2s;
}

.loadAppear {
    width: 150px;
}

.loading-icon-image {
    box-shadow: 3px 3px 10px 4px rgba(0, 0, 0, .4);
    border-radius: 50%;
}

.preps-place-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: loopingIconAnim 2s ease-in-out infinite alternate;
}

/* Navigation Menu ------------------------------------------ */

.icon {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: 0.5s;
}

.icon:hover {
    transform: translateX(10px);
}

.img-icon {
    border-radius: 50%;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, .4);
}

.name {
    font-family: Montserrat;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    color: white;
    text-shadow: 5px 5px 3px rgba(0, 0, 0, .4);
    padding-top: 14px;
}

.name span {
    font-size: 40px;
}

.nav {
    width: 100%;
    position: fixed;
    display: flex;
    justify-content: center;
    padding: 20px;
    z-index: 10;
}

.inner-nav {
    width: 100%;
    max-width: 1500px;
    padding: 10px;
    background: linear-gradient(to bottom,
            rgba(159, 28, 52, .7),
            rgba(204, 33, 53, .7),
            rgba(159, 28, 52, .7));
    border: 2px solid rgb(104, 27, 41);
    border-radius: 14px;
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: row;
    align-items: center;
}

.links {
    margin-left: auto;
    transition: 0.5s;
    position: relative;
}

.mobileLinks {
    position: absolute;
    opacity: 0;
}

.menuList {
    position: fixed;
    right: 5px;
    top: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    width: 150px;
    height: auto;
    background: linear-gradient(to bottom,
            rgba(159, 28, 52, .7),
            rgba(204, 33, 53, .7),
            rgba(159, 28, 52, .7));
    border: 2px solid rgb(104, 27, 41);
    box-shadow: 0 3px 3px 3px rgba(62, 0, 0, 0.904);
    border-radius: 14px;
    backdrop-filter: blur(3px);
    padding: 5px;
    transition: all 0.2s ease-in-out;
    list-style: none;
    z-index: -30;
}

#menuToggle:checked~.menuList {
    opacity: 1;
    z-index: 5;
}

.menuList li {
    width: 100%;
    text-align: center;
}

.menuList a {
    display: block;
    padding: 5px;
    margin: 5px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 3px 3px 3px rgba(62, 0, 0, 0.904);
    border-radius: 14px;
    transition: all 0.2s ease;
}

.menuList a:hover {
    background-color: rgba(168, 24, 41, 0.7);
}

#menuToggle {
    display: none;
}

.links a {
    font-family: Montserrat;
    font-weight: 700;
    text-decoration: none;
    color: white;
    margin-left: 10px;
    margin-right: 10px;
    border-bottom-style: solid;
    border-bottom-width: 0;
    text-shadow: 3px 3px 3px rgba(0, 0, 0, .4);
    transition: 0.05s;
}

.links a:hover {
    border-bottom-width: 2px;
}

/* Home -> Main Section ------------------------------------------ */

.home {
    width: 100%;
    min-height: 50vw;
    padding: 14.83rem 0;
    position: relative;
}

.home::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.1;
    border-bottom: 5px solid #f55454;
}

.wrap {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.wrapHeader {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    padding: 14px 0;
    font-size: 2.5rem;
    max-width: 70%;
    text-align: center;
    text-shadow: 3px 3px 3px rgba(251, 0, 0, 0.4);
}

.marker {
    color: rgb(255, 148, 169);
}

.buttons {
    padding: 13px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gamesBtn {
    margin: 7px;
    background: linear-gradient(to bottom,
            rgba(194, 32, 62, 0.8),
            rgba(230, 40, 63, 0.8),
            rgba(194, 32, 62, 0.8));
    box-shadow: 0 3px 3px 3px rgba(97, 1, 1, 0.939);
    text-shadow: 3px 3px 3px rgb(59, 2, 2);
    padding: 10px;
    width: auto;
    font-size: 1.2em;
    font-weight: 600;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

.gamesBtn:hover {
    transform: scale(1.04);
}

.description {
    max-width: 50%;
    text-align: center;
    font-size: 1.4em;
    color: rgb(255, 201, 201);
    text-shadow: 3px 3px 3px rgba(251, 0, 0, 0.4);
    padding: 13px;
}

/* Experiences -> Game Section ------------------------------------------ */

.experiences::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/bg2.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.03;
    /* border-bottom: 5px solid #f55454; */
}

.experiences {
    width: 100%;
    min-height: 40vw;
    padding: 6rem 0;
    position: relative;
    border-bottom: 5px solid rgba(245, 84, 84, .1);
}

.wrapE {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.wrapEHeader {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

h3 {
    color: #ff5076;
}

h2 {
    padding: 15px 0;
    font-size: 2.2rem;
}

.gameArea {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.card {
    width: 100%;
    max-width: 500px;
    min-height: 300px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom,
            rgba(159, 28, 52, .8),
            rgba(204, 33, 53, .8));
    box-shadow: 0 3px 3px 3px rgba(97, 1, 1, 0.939);
    border-radius: 14px;
    transition: all 0.4s ease !important;
}

.card:hover {
    box-shadow: 0 6px 3px 3px rgba(97, 1, 1, 0.939);
    transform: translateY(-5px) !important;
    transition: 0.3s;
}

.card h3 {
    text-shadow: 0 3px 3px rgba(97, 1, 1, 0.939);
    font-size: 1.55rem;
}

.card-img {
    width: 100%;
    height: 300px;
    background-image: url('assets/ppts.webp');
    background-size: cover;
    margin: 10px 0;
    border-radius: 14px;
    box-shadow: 0 0 5px #f55454;
}

.bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.bottom a {
    margin: 0 3px 0 auto;
    padding: 6px;
    border-radius: 5px;
    text-decoration: none;
    background: linear-gradient(to bottom,
            rgba(194, 32, 62, 0.8),
            rgba(230, 40, 63, 0.8),
            rgba(194, 32, 62, 0.8));
    font-weight: 600;
    box-shadow: 0 3px 3px 3px rgba(97, 1, 1, 0.939);
    text-shadow: 0 3px 3px rgba(97, 1, 1, 0.939);
    transition: 0.2s;
}

.bottom a:hover {
    transform: scale(1.05);
}

.stats {
    display: flex;
    flex-direction: row;
}

.stats span {
    font-weight: 600;
    text-shadow: 0 3px 3px rgba(36, 0, 0, 0.939);
}

/* About Us -> Third Section ------------------------------------------ */

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/bg3.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.1;
    border-bottom: 5px solid #f55454;
}

.about {
    width: 100%;
    min-height: 30vw;
    padding: 6rem 0;
    position: relative;
    background: linear-gradient(to bottom,
            rgba(44, 2, 2, 0.5),
            rgba(44, 3, 3, 0.5));
}

.mainAbout {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.aboutHeader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.aboutText {
    padding: 14px 0;
}

.aboutText p {
    font-size: 1.15rem;
    text-shadow: 3px 3px 3px rgb(10, 0, 0);
    padding: 14px 0;
}

/* Team -> Fourth Section ------------------------------------------ */

.team::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/bg4.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.03;
    /* border-bottom: 5px solid #f55454; */
}

.team {
    width: 100%;
    min-height: 50vw;
    padding: 6rem 0;
    position: relative;
    border-bottom: 5px solid rgba(245, 84, 84, .1);
}

.mainTeam {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.teamHeader {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.teamDisplay {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.teamMember {
    width: 100%;
    max-width: 300px;
    min-height: 250px;
    max-height: 321px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(to bottom,
            rgba(159, 28, 52, .8),
            rgba(204, 33, 53, .8));
    border-radius: 14px;
    transition: all 0.4s ease !important;
}

.teamMember:hover {
    box-shadow: 0 0 5px #f55454, 0 0 10px #ff5076;
    transform: translateY(-8px) !important;
    transition: 0.3s;
}

.teamMember h3 {
    color: white;
    text-shadow: 3px 3px 3px rgb(70, 8, 8);
}

.teamMember h4 {
    color: rgb(255, 179, 179);
    text-shadow: 3px 3px 3px rgb(70, 8, 8);
}

.member-icon {
    border-radius: 50%;
    margin: 10px 0;
    transform: scale(0.8);
    box-shadow: 0 0 5px #f55454, 0 0 10px #ff5076;
}

.roblox-link {
    border: 2px solid rgb(104, 27, 41);
    border-radius: 14px;
    background-color: rgb(50, 5, 5);
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    text-decoration: none;
    box-shadow: 2px 3px 3px 1px rgba(62, 0, 0, 0.904);
    transition: all 0.2s ease;
}

.roblox-link:hover {

    transform: translateY(-3px);
}

.dev-function {
    margin: 5px 0;
    font-weight: bold;
    font-size: 0.8rem;
    text-shadow: 3px 3px 3px rgb(70, 8, 8);
}

/* News -> Fifth Section ------------------------------------------ */

.news::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/bg5.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.05;
    /* border-bottom: 5px solid #f55454; */
}

.news {
    width: 100%;
    min-height: 20vw;
    padding: 6rem 0;
    position: relative;
    background-color: #25050c;
    border-bottom: 5px solid rgba(245, 84, 84, .1);
    text-align: center;
}

.mainNews {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.recentNews {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.newsCard {
    width: 100%;
    max-width: 300px;
    min-height: 260px;
    max-height: 321px;
    padding: 10px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(to bottom,
            rgba(159, 28, 52, .8),
            rgba(204, 33, 53, .8));
    box-shadow: 0 3px 3px 1px rgba(62, 0, 0, 0.904);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s ease !important;
}

.newsCard:hover {
    box-shadow: 0 6px 3px 1px rgba(62, 0, 0, 0.904);
    transform: translateY(-5px) !important;
    transition: 0.3s;
}

.newsCard img {
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 3px 3px 1px rgba(62, 0, 0, 0.904);
    border-radius: 14px;
}

.newsCard h3 {
    text-shadow: 3px 3px 3px rgb(70, 8, 8);
}

.newsCard h4 {
    text-shadow: 3px 3px 3px rgb(70, 8, 8);
}

.newsCard h4.date {
    color: rgb(192, 192, 192);
    text-shadow: 3px 3px 3px rgb(70, 8, 8);
}

/* Contact Us -> Sixth Section ------------------------------------------ */

.contact {
    width: 100%;
    min-height: 20vw;
    padding: 6rem 0;
    position: relative;
    background-color: #1f060b;
    border-bottom: 5px solid rgba(245, 84, 84, .1);
    text-align: center;
}

.mainContact {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.contactHeader {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contactSec {
    width: 100%;
    max-width: 300px;
    min-height: 100px;
    margin: 20px 0;
    background: linear-gradient(to bottom,
            rgba(159, 28, 52, .8),
            rgba(204, 33, 53, .8));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    box-shadow: 0 0 5px #f55454, 0 0 10px #ff5076;
}

.contactSec a {
    text-decoration: none;
    text-shadow: 3px 3px 3px rgba(251, 0, 0, 0.4);
    border: 2px solid #f55454;
    border-radius: 5px;
    background: linear-gradient(to bottom,
            rgba(159, 28, 52, .8),
            rgba(204, 33, 53, .8));
    padding: 5px;
    box-shadow: 0 3px 3px 1px rgba(62, 0, 0, 0.904);
    transition: all 0.3s ease;
}

.contactSec a:hover {
    box-shadow: 0 6px 3px 1px rgba(62, 0, 0, 0.904);
    transform: translateY(-3px) !important;
}

/* Footer ------------------------------------------ */

footer {
    width: 100%;
    min-height: 10vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mainFooter {
    width: 100%;
    max-width: 300px;
    margin: 14px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preps-place-icon-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.social {
    width: 100%;
    max-width: 600px;
    min-height: 3vw;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
}

.socialElement {
    border: 2px solid rgb(104, 27, 41);
    border-radius: 14px;
    width: 50px;
    height: 50px;
    background-color: rgb(50, 5, 5);
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.socialElement:hover {
    box-shadow: 0 0 3px #f55454, 0 0 6px #ff5076;
    box-shadow: 0 3px 3px 3px rgba(62, 0, 0, 0.904);
    transform: translateY(-3px);
}

.desc {
    font-size: 0.9em;
    color: grey;
    text-align: center;
    margin: 10px 0;
}

/* Modal -> The pop-up view of news ------------------------------------------ */

.modalNews {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    margin: 0;

    padding: 0 20px;
    z-index: -5;
    border: none;
    background-color: rgba(0, 0, 0, .4);

    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;

    transition: display 0.4s allow-discrete, overlay 0.4s allow-discrete, opacity 0.4s ease;
    opacity: 0;
}

.modalNews::backdrop {
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.modalNews[open] {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    z-index: 30;
}

.mainModal {
    width: 100%;
    max-width: 500px;
    height: 70vh;
    max-height: 70vh;
    padding: 10px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    /* align-items: center;
    text-align: center; */
    background: linear-gradient(to bottom,
            rgba(159, 28, 52, 1),
            rgba(204, 33, 53, 1));
    box-shadow: 0 0 3px 5px rgb(76, 5, 5);
    border-radius: 14px;
    box-sizing: border-box;
    transition: all 0.4s ease !important;
}

@starting-style {
    .modalNews[open] {
        opacity: 0;
    }

    .modalNews[open] .mainModal {
        transform: scale(0.7);
        opacity: 0;
    }
}

.contentHeader {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contentHeader h2 {
    text-shadow: 3px 3px 3px rgba(84, 7, 7, 0.995);
}

.contentHeader h4 {
    color: rgb(175, 175, 175);
    text-shadow: 3px 3px 3px rgba(84, 7, 7, 0.995);
}

.contentArea {
    padding: 5px;
    margin: 14px 10px;
    height: 90%;
    overflow-y: auto;
    text-align: left;
    scrollbar-width: none;
}

.contentArea p {
    text-shadow: 3px 3px 3px rgba(84, 7, 7, 0.995);
    text-align: left;
    margin: 10px 0;
}

.offArea {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.closeModalButton {
    border: 2px solid rgb(104, 27, 41);
    border-radius: 14px;
    width: 150px;
    height: 40px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;

    background: linear-gradient(to bottom,
            rgba(194, 32, 62, 0.8),
            rgba(230, 40, 63, 0.8),
            rgba(194, 32, 62, 0.8));
    font-weight: 600;
    box-shadow: 0 2.5px 3px 3px rgba(97, 1, 1, 0.939);
    text-shadow: 0 3px 3px rgba(97, 1, 1, 0.939);

    transition: all 0.2s ease;
    cursor: pointer;
}

.closeModalButton:hover {
    box-shadow: 0 5px 3px 3px rgba(97, 1, 1, 0.939);
    transform: translateY(-3px);
}

/* Animaions ------------------------------------------ */

@keyframes loopingIconAnim {
    from {
        transform: scale(1);
        opacity: 1;
    }

    to {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@media (max-width: 700px) {
    .links {
        opacity: 0;
        position: absolute;
    }

    .mobileLinks {
        opacity: 1 !important;
        margin-left: auto;
        position: relative;
    }

    .preps-place-icon {
        flex-direction: column !important;
    }

    .preps-place-icon div {
        padding: 14px 0 !important;
    }

    .wrapHeader h1 {
        font-size: 30px;
        max-width: 100%;
    }

    .wrapHeader p {
        font-size: 20px;
        max-width: 100%;
    }

    .name {
        text-align: center;
    }
}

.fade-in {
    opacity: 0 !important;
    transform: translateY(50px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.fade-in.appear {
    opacity: 1 !important;
    transform: translateY(0);
}