@font-face {
font-family: 'brynda';
src:    url('brynda.otf') format('woff');
font-weight: normal;
font-style: normal;
}

body { 	
    font-family: 'brynda', serif;		
    background-color: #1b1d22;
    color:#fff;
    font-size: clamp(1rem, 2vh, 2rem);
    background-image: url('images/town.png'); /* Set background image */
    background-size: cover; /* Make the image cover the entire background */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    justify-content: center; /* Center the container horizontally */
    background-attachment: fixed;
}

.centered-container {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 20vw;
    height: auto;
}

.flag-container {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    z-index: 1000; /* Ensures the container is on top of other elements */
    width: 100%; /* Full width of the viewport */
    padding-top: 10px; /* Optional: padding from the top */
    height: auto
}

.flag {
    width: 45%; /* Adjust the width of the flags as needed */
    height: auto; /* Maintain the aspect ratio */
    margin: 10px; /* Optional: space between flags */
}

.content {
    display: grid;
    grid-template-columns: 10% 80% 10%;
}

.logo-and-socials {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 20vw; /* Adjust size as needed */
    height: auto;
    margin: 30px; /* Optional: space from the edges */
}

.logo-and-socials-mobile {
    justify-content: center;
    display: none;
    height: auto;
    margin: 30px; /* Optional: space from the edges */
}

.slothwerks-logo {
    width: 5vw; /* Adjust size as needed */
    height: auto;
    margin: 10px; /* Optional: space from the edges */
}

.slothwerks-logo-mobile {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 5vh; /* Adjust size as needed */
    height: auto;
    margin: 10px; /* Optional: space from the edges */
    display: none;
}

.nav {
    display: flex;
    justify-content: center; /* Center the divs horizontally */
    align-items: center; /* Center the divs vertically */
    height: 5vh;
    padding-top: 3vh;
    padding-bottom: 3vh;
}

.glow-text {
    font-size: 30px;
    color: #fff;
    text-shadow: none;
    transition: text-shadow 0.3s ease-in-out;
    padding-left: 2vw;
    padding-right: 2vw;
}

.glow-text:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7),
    0 0 20px rgba(255, 255, 255, 0.6),
    0 0 30px rgba(255, 255, 255, 0.5),
    0 0 40px rgba(255, 255, 255, 0.4),
    0 0 50px rgba(255, 255, 255, 0.3); /* Glowing effect with multiple shadows */
}

a.glow-text:link, a.glow-text:visited {
    color: #fff;
    text-decoration: none;
}

.left-rail {
    padding: 20px;
    background-image: url('images/left-bar.png'); /* Set background image */
    background-size: cover; /* Make the image cover the entire background */
    background-repeat: no-repeat; /* Do not repeat the image */
}

.center-body {
    padding: 20px;
    justify-content: center;
    text-align: center;
}

.trailer {
    width: 40vw; /* 60% of the viewport width */
    height: calc(40vw * 9 / 16); /* Maintain 16:9 aspect ratio */
    max-height: 500px;
    max-width: 889px;
}

.right-rail {
    padding: 20px;
    background-image: url('images/right-bar.png'); /* Set background image */
    background-size: cover; /* Make the image cover the entire background */
    background-repeat: no-repeat; /* Do not repeat the image */
}

.description { 
    text-align: center;
    padding-left: 12vw;
    padding-right: 12vw;
    font-size: 1.5vw;
}

.copyright {
    padding: 10px;
    font-size: 14px;
    color: #999999;
}

.animated-bramble {
    position: fixed;
    bottom: -40px;
    right: -100px;
    width: 25vw; /* Adjust the size as needed */
    height: auto;
    z-index: 1000; /* Ensures it renders on top of other elements */
}

.animated-bramble video {
    width: 100%;
    height: auto;
}

.social-icon {
    width: 40px;
    height: 40px;
    margin-left: 2px;
    margin-right: 2px;
}

.social-icon:hover {
    filter: drop-shadow(0 0 10px rgba(255, 255, 0, 0.7));
}

a.social-icon:link, a.social-icon:visited {
    color: #fff;
    text-decoration: none;
}

.steam-icon {
    width: 30px;
}

@media (orientation: portrait) {
    .container {
        grid-template-columns: 1fr; /* Makes the container a single column */
        height: auto; /* Adjust height for single column layout */
    }

    .logo-and-socials {
        display: none;
    }
    
    .logo-and-socials-mobile {
        display: block;
    }

    .slothwerks-logo-mobile {
        display: block;   
    }
    
    .left-rail,
    .right-rail {
        display: none; /* Hides the left and right rails */
    }

    .center-body {
        width: 90vw; /* Ensures center body takes full width */
    }

    .nav {
       
    }
    
    .steam-icon {
        width: 15px;
    }

    .logo {
        max-width: 30vh;
    }

    .glow-text {
        margin: 5px 0; /* Adjust margin for vertical spacing */
        font-size: 25px;
    }

    .animated-bramble {
        width: 25vh; /* Adjust the size as needed */
        right: -50px;
    }

    .flag-container {
        top: -20px;
        height: 60px;
    }

    .trailer {
        width: 90vw; /* 60% of the viewport width */
        height: calc(90vw * 9 / 16); /* Maintain 16:9 aspect ratio */
        max-height: 500px;
        max-width: 889px;
    }

    .description {
        margin-top: 20px;
        padding-left: 5vw;
        padding-right: 5vw;
        font-size: 1.5vh;
    }

    .copyright {
        
        padding: 5px;
        font-size: 10px;
        color: #999999;
    }
}