@font-face {
    font-family: "Myfont";
    src: url('Myfont-Regular.ttf') format('truetype');
}
@font-face {
    font-family: "VCR";
    src: url('VCR_OSD_MONO_1.001.ttf') format('truetype');
}

h1, h2, span, div, .navbar
{
    font-family: 'Myfont', sans-serif;
    font-weight: 900;
    font-style: normal;
}

h1{
    font-size: 3.2em!important;
        text-decoration: underline;
}
body {
    box-sizing: border-box;
  margin: 0;
  min-height: 100vh;
  background-color: #f8fbff;
  background-image: 
    linear-gradient(to right, rgba(59, 130, 246, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.2) 1px, transparent 1px);
  background-size: 30px 30px;
  overflow-x: hidden;
}
.navbar{
    font-size: 1.5em;
    box-shadow: 0 0 3px 3px rgba(102, 131, 184, 0.5);
    li{
        margin: 0 20px;
    }

    .navbar-brand { 
        width: 15%;
        img{
            width: 100%;
        }
    }
}

#about, #team, #contact{
    min-height: 100vh;
    width: 100vw;
} 

#about{
    margin-top: 5%;
    h2{
        margin-top: 20px;
        font-size: 2em;
        letter-spacing: calc(2em * -0.01);
    }
    .row{
        margin-top: -10%;
    }
}

.logo{
    width: 40%;
}
.container{
    width: 100dvw;
    height: 90dvh;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    
    .col{
        display: flex;
        align-items: center; 
        
        div{
            width: 100%;
            display: block!important;
        }
    }

    #logo{
        width: 80%;
    }
}

#team{
    padding: 5%;
}

#teamContainer{
    margin-bottom: 1em;
    padding: 5%;
    padding-bottom: 10px;
    background-color: rgb(255, 212, 125);
    background-image: 
    linear-gradient(to bottom, rgba(139, 139, 139, 0.4) 1px, transparent 1px);
    background-size: 30px 30px;
    border-radius: 10px;
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.2);

    h1{
        width: 100%;
        text-align: center;
        text-decoration: underline;
    }
    .teammembers{
        text-align: left;
        margin: 2% 0% 3% 0;
    }
    .teammember
    {
        height: 100%;
        font-size: 1.1em;
        padding: 20px;
        margin: 0 auto;
        
        h2{
            font-size: 2em;
            margin: 0;
        }
        h3{
            margin-top: -10px;
            font-size: 1em;
            color: rgba(0, 0, 0, 0.5);            
        }
    }
    .teammemberdescription{
        padding: 20px;
        letter-spacing: calc(2em * -0.01);
    }
    .teampicture{
        width: 100%;
    }
}
#game-trailer{

    .award{
        img{
            width: 25%;
            margin: 2em 0;
        }
    }
    width: 100%;
    video{
        width: 100%;
    }

    .game-description{
        text-align: left;
    }
    #game-details{
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.8);
        position: fixed;
        z-index: 9999;
        top: 0; left: 0;
        display: none;

        #header{             
            #close-details{
                position: fixed;
                top: -20px; right: 20px;
                font-size: 2em;
                
            }
            h1, h2, a{
                font-family: 'VCR', sans-serif;
            }
            div{
                font-family:Arial, Helvetica, sans-serif;
                font-weight: 300;
            }

            a{
                margin: 2em 0;
            }
            text-align: center;
            padding: 5em;
            background-color: rgb(7, 18, 40);
            display: inline-block;
            position: absolute;
            min-width: 80%;
            left: 50%; top: 50%;
            border-radius: 20px;
            transform: translate(-50%, -50%);
            box-shadow: 0 0 15px 15px rgba(0, 0, 0, .75);
            color: white;
        }
    }
}

#contact{
    text-align:center;
    padding: 5%;
    
    .container-fluid{   
        top: 50%;
            
        form{
            input, textarea, button{
                font-family:sans-serif;
                font-size: 1em;
                width: 60%;
                margin: 10px 0;

                border: 2px solid black;
                border-radius: 5px;
                padding: 10px;
            }
            textarea{
                min-height: 10em;
            }

            button{
                border-bottom: 6px solid black;                
            }
            button:focus{
                border-bottom: 2px solid black;
                transform: translateY(4px);
            }
        }
    }
}