@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat/Montserrat/Montserrat-VariableFont_wght.ttf'), format('truetype'),
        url('../fonts/Montserrat/Montserrat/Montserrat-VariableFont_wght.ttf'), format('truetype');
    font-weight: normal;
    font-style: normal;
}

/*
---------------------------------------------------------------------------
                        ** General Styles **
---------------------------------------------------------------------------
*/

* {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: royalblue;
}

.puffer {
    padding: 20px;
}


h1 {
    display: flex;
    font-style: italic;
    color: rgb(243, 167, 179);
    font-weight: 800px;
    text-align: center;
    justify-content: center;
    margin-top: 200px;
    flex-wrap: wrap;
}

h2 {
    display: flex;
    font-style: italic;
    font-size: 3em;
    text-align: center;
    margin-bottom: 0px;
    justify-content: center;
}

a {
    list-style-type: none;
    text-decoration: none;
    background-color: royalblue;
    font-size: 100 px;
    color: rosybrown;
    text-align: center;
    font-style: italic;
    font-weight: 200px;
}

a:hover {
    color: wheat;
}

.content {
    padding: 50px;
}


/* 
------------------------------------------------------------------------------------------------------------------------
                            ** Navbar ** 
------------------------------------------------------------------------------------------------------------------------
*/

.mobile_navbar {
    display: none;
}

#navWrapper {
    height: 3em;
}

#navbar {
    display: flex;
    justify-content: space-around;
    font-style: normal;
    font-size: 1.5em;
    align-items: center;
    height: 3em;
    opacity: 0.95;
}

a.active {
    color: aliceblue;

}


.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}



.platzhalter {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 
------------------------------------------------------------------------------------------------------------------------
                            ** Mobile Navbar ** 
------------------------------------------------------------------------------------------------------------------------
*/


.hamburger {
    display: none;
    cursor: pointer;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem;
    background: royalblue;
    z-index: 10;
}



.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #333;
}

.mobile_navbar {
    display: none;
}

.mobile_nav_menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    z-index: 100;
}

.nav_item {
    margin-left: 3rem;
    z-index: 999;
}

.nav_link {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
}



/* 
------------------------------------------------------------------------------------------------------------------------
                ** Index.php javaScript display ** 
------------------------------------------------------------------------------------------------------------------------
*/

.index_img_container img {
    display: none;
}

div {
    background: royalblue;
    color: rgb(243, 167, 179);
    text-align: center;

}

.drag_container {
    font-style: italic;
    font-weight: 800px;
    height: 70vh;
}

.drag {
    display: block;
    justify-content: space-around;
    align-items: center;
    font-size: 2em;

}


#das {
    position: absolute;
    left: 350px;
    top: 40vh;
    width: 100px;
    height: 100px;
}


#ist {
    position: absolute;
    left: 550px;
    top: 40.5vh;
    width: 100px;
    height: 100px;

}

#eine {
    position: absolute;
    left: 650px;
    top: 40vh;
    width: 150px;
    height: 100px;

}

#website {
    position: absolute;
    left: 830px;
    top: 39.5vh;
    width: 250px;
    height: 100px;

}

#home {
    font-size: 1rem;
}

/* 
------------------------------------------------------------------------------------------------------------------------
                            ** About.php ** 
------------------------------------------------------------------------------------------------------------------------
*/

.about_img_container {
    padding-top: 2em;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 10px
}


#about_img {
    max-width: 70%;
    max-height: auto;
    border-radius: 5px;
}

.peter {
    flex-direction: inherit;
    font-size: .8em;
}

#lebenslauf {
    display: grid;
    grid-template-rows: repeat(auto-fill, max-content);
    grid-template-columns: 0.5fr;
    justify-content: center;
    align-items: center;
    line-height: 1.6em;
    color: rgb(240, 230, 232);

}

p {
    text-align: justify;
    font-size: large;
}

.bottom-links {
    margin: 1em;
    font-size: x-large;
}

/* 
------------------------------------------------------------------------------------------------------------------------
                            ** Video.php ** 
------------------------------------------------------------------------------------------------------------------------
*/

.cookie_container {
    text-align: center;
}

.media_container {
    margin-top: 2%;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.vid_1_text {
    font-style: italic;
    font-weight: 200px;
    opacity: 0.5;
    color: azure;
    pointer-events: none;
    position: absolute;
    transition: opacity 150ms linear;
}

#finger {
    width: 560px !important;
    height: 315px !important;
}

.finger:hover>div {
    opacity: 1;
}

/* 
------------------------------------------------------------------------------------------------------------------------
                            ** Music.php ** 
------------------------------------------------------------------------------------------------------------------------
*/

.musik_container {
    display: grid;
    justify-content: center;
    color: white;
    text-align: center;
    font-size: larger;
    text-decoration: none;
}


.audio-player {
    display: grid;
    grid-gap: 10px 10px;
    justify-content: center;
    align-items: center;
}


/* 
------------------------------------------------------------------------------------------------------------------------
                            ** Game.php ** 
------------------------------------------------------------------------------------------------------------------------
*/

button {
    background-color: royalblue;
    color: rgb(243, 167, 179);
    font-style: italic;
    font-size: 1.5rem;
    text-decoration: none;
    border: none;
    padding-top: 5vh;
    padding-left: 5vh;

}



.container {
    height: 45vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.flexcontainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}


button {
    background-color: royalblue;
    border: none;
    color: wheat;
    padding: 15px 32px;
    text-decoration: none;
    font-size: 16px;
    margin: 4px;
    cursor: pointer;
    border-radius: 15px;
}

button:hover {
    background-color: rgb(169, 183, 224);
}

#gameCount {
    margin-top: 10px;
    text-align: center;
}

#current,
#points,
#result,
#computerWahl,
#spielerWahl,
#gameCount {
    margin-top: 5px;
    color: white;
    font-size: 2rem;
}

/* 
------------------------------------------------------------------------------------------------------------------------
                            ** Impressum.php ** 
------------------------------------------------------------------------------------------------------------------------
*/
.impressum {
    margin-top: 7%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.copy {
    text-align: center; 
    text-align: justify; 
    width: 30rem; 
    color: white;
}

/* 
------------------------------------------------------------------------------------------------------------------------
                            ** Datenschutz style **
------------------------------------------------------------------------------------------------------------------------
*/


.datenschutz_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: -10em;
    line-height: double;
    
}

.datenschutz_text {
    width: 50%;
    font-size: 1.5em;
    text-align: justify;
    margin: 1em;
}


/* 
------------------------------------------------------------------------------------------------------------------------
                                ** Fip style ** 
------------------------------------------------------------------------------------------------------------------------
*/

#fip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}

#fipdb_link {
    margin-bottom: 30px;
    font-style: normal;
    font-size: large;
}

#insert_link_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1em;
}

#insert_form {
    margin: 2em;
}

#table {
    margin-top: 1em;
    margin-bottom: 1em;
    border-collapse: collapse;
    width: 100%;
}

#table td,
#table th {
    border: 1px solid #ddd;
    padding: 8px;
}

#table tr:nth-child(even) {
    background-color: #2e4cde;
}

#table tr:hover {
    background-color: rgb(30, 161, 243);
}

#table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
    background-color: royalblue;
    color: white;
}

/* 
------------------------------------------------------------------------------------------------------------------------
                                ** Todo style ** 
------------------------------------------------------------------------------------------------------------------------
*/


#title {
    border-radius: 5px;
    width: 15em;
    height: 2em;
}


#errorMsg {
    text-align: center;
    font-style: normal;
    position: absolute;
    top: 30%;
    left: 40%;
}



/* 
------------------------------------------------------------------------------------------------------------------------
                            ** Footer ** 
------------------------------------------------------------------------------------------------------------------------
*/

footer {
    bottom: 0;
    color: aliceblue;
    display: flex;
    gap: 10%;
    justify-content: center;
    margin-bottom: 2%;
    margin-top: 15%;
    position: relative;
    text-align: center;
    
}
/*
------------------------------------------------------------------------------------------------------------------------
                                                ** Mobile Styles **
------------------------------------------------------------------------------------------------------------------------
*/

@media only screen and (max-width: 768px) {

    body {
        display: flex;
        flex-direction: column;
        width: 100vw;
        margin: 0;
        padding: 0;
    }

    .puffer {
    padding: 5px;
    }

    .satz {
        display: none;
    }

    #navbar {
        display: none;
    }

    .mobile_navbar {
        display: block;
    }
    
    .mobile_navbar {
        position: fixed;
        top: 0;
        width: 100%;
        padding-top: 1rem;
        background: royalblue;
        z-index: 999;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .mobile_nav_menu {
        position: fixed;
        right: 110%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: royalblue;
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .mobile_nav_menu.active {
        right: 0px;
    }

    .nav_item {
        margin: 16px 0;
    }

    .content{
        padding: 0;
    }

    #navbar {
        display: flex;
        justify-content: space-around;
        font-style: normal;
        font-size: .7em;
        align-items: center;
        height: 3em;
        opacity: 0.95;
    }

    .index_img_container img {
        display: block;
        width: 100vw;
        height: auto;
    }

    .about_img_container {
        width: 100%;
        padding-top: 0;
    }


    #navWrapper {
        height: 8em;
    }


    .drag_container {
        visibility: hidden;
    }
  
    #about_img {
        max-width: 90vw;      
    }

    #lebenslauf {
        grid-template-columns: 1fr;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin-left: 5px;
    }

    iframe {
        width: 95vw;
        height: 50vh;
    }

    .fip {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        max-width: 95vw;
        margin-left: 5px;
    }

    p {
        text-align: left;
    }

    .displayIndex {
        visibility: hidden;
    }

    .bottom-links {
        display: block;
        margin: 0;
    }

    .about_img_container {
        visibility: visible;
        max-width: 100%;
        max-height: 100%;
        border-radius: 5px;
    }

    footer {
        position: relative;
        padding: 0;
        bottom: 0;
        width: 100vw;
        display: flex;
        justify-content: center;
        gap: 20%;
        font-size: .7em;
        margin-top: 35%;
    }

}
