body {
    min-height: 100vh;
    margin: 0;
    padding-top: 0px; 
    background-color: rgb(5, 5, 5);
}

.logo {
    max-width: 440px; 
    height: auto;
    margin-bottom: 3rem;
    margin-top: 5rem;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0rem;
    text-align: center;
}

.topBlock {
    background-image: url('../img/TopBG.webp');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

@font-face {
    font-family: xolonium;
    src: url('../Xolonium-Regular.otf');
}

.desc {
    font-family: xolonium;
    font-size: 2rem;
    text-shadow: black 1.8px 1.8px;
    text-align: center;
    margin-top: 1rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    color: white;
}


.introText {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    color: #e0e0e0;
    max-width: 600px;
    margin: 1rem auto 2rem auto; 
    line-height: 1.5;
    padding: 0 1.5rem;
}

.platforms {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.0rem;
    text-shadow: black 1.5px 1.5px;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 5rem;
    color: white;
}

.footer {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    font-size: 0.75rem;
    color: #ccc;
    bottom: 0;
    width: 100%;
}

#InfoBlock {
    display: block;
    width: 100%;
    padding-bottom: 5rem; 
    background-image: url('../img/BG.webp');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    padding-top: 5rem;
}

.infoCard {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: white;
    max-width: 90%;
    margin: 0 auto;
    margin-bottom: 2rem;
    padding: 20px; 
}

.textContent {
    flex: 1;
    margin-right: 20px; 
}


.infoCard:nth-child(even) {
    flex-direction: row-reverse;
}

.infoCard:nth-child(even) .textContent {
    margin-right: 0;
    margin-left: 20px; 
}

.infoTitle {
    font-family: 'xolonium', sans-serif; 
    font-size: 1.75rem;
    margin-bottom: 10px; 
}

.infoDesc {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
}

.infoCard img {
    max-width: 40%; 
    height: auto;
    border-radius: 8px; 
}

iframe {
    margin-top: 2rem;
    margin-bottom: 7rem;
    aspect-ratio: 16 / 9;
    width: 95%;
    max-width: 800px; 
    max-height: 600px; 
    height: auto; 
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.someRow {
    display: flex;
    flex-direction: row;
    margin-bottom: 3rem;
}

.someIcon {
    max-width: 6rem; 
    max-height: 6rem; 
}

.someItem {
    position: relative;
    display: inline-block;
    margin-left: 1rem;
    margin-right: 1rem;
}

.someItem .tooltiptext {
    visibility: hidden;
    width: 7rem;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px 5px;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -4rem;
    margin-bottom: 1rem;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.someItem:hover .tooltiptext {
    visibility: visible;
}

.mapRow {
    display: flex;
    flex-direction: row;
    gap: 4em;
}

.mapRow a {
    text-decoration: none;
}


.mapCard {
    width: 20rem;
    min-height: 31rem;
    height: auto;
    padding-bottom: 1.5rem;
    background-color: rgb(29, 29, 29);
    border-radius: 0.1rem;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    /*border: 1px solid transparent;*/
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border 0.2s ease-out;
}

.mapCard:hover {
    transform: translateY(-4px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8); 
    /*border: 1px solid rgba(255, 255, 255, 0.1);*/
}

.mapCard img {
    max-width: 20rem;
    height: 18rem;
    width: 100%;
    border-radius: 0.15rem 0.15rem 0 0; 
    object-fit: cover;
}

.mapCard p {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    text-align: left;
    margin-left: 0.7rem;
    margin-right: 0.7rem;
}

.mapCard h2 {
    font-family: 'xolonium', sans-serif;
    font-size: 1.3rem;
    color: white;
    text-align: left;
    margin-left: 0.8rem;
    margin-right: 0.8rem;
    margin-top: 0.7rem;
}


.playButton {
    font-family: 'xolonium', sans-serif;
    display: block;
    background-color: transparent;
    color: rgb(255, 40, 40); 
    border: 2px solid rgb(255, 40, 40); 
    border-radius: 0.2rem;
    padding: 0.6rem 1.5rem;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    margin-top: auto;
    margin-left: 0.8rem;
    margin-right: 0.8rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.mapCard:hover .playButton {
    background-color: rgb(255, 40, 40); 
    color: white; 
}

/*mobile layout*/
@media screen and (max-width: 768px) {

    .logo {
        max-width: 85%;
        margin-top: 2rem; 
        margin-bottom: 1.5rem;
    }


    iframe {
        margin-top: 1rem;
        margin-bottom: 3rem; 
    }


    .platforms { margin-bottom: 3rem; }
    .someRow { margin-bottom: 1.5rem; }
    

    .mapRow {
        flex-direction: column;
        gap: 2rem; 
        width: 100%;
        align-items: center;
    }
	
	.mapRow a {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .mapCard {
        width: 90%;
        max-width: 350px; 
        min-height: auto;
        height: auto; 
        padding-bottom: 1.5rem; 
    }

    .mapCard img {
        height: 12rem; 
    }


    #InfoBlock {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }


    .infoCard, .infoCard:nth-child(even) {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .textContent, .infoCard:nth-child(even) .textContent {
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 1rem; 
    }
    
    .infoCard img {
        max-width: 100%; 
    }
}

@media screen and (max-width: 480px) {
    .logo {
        max-width: 80%; 
    }
}