@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&display=swap');
*{
    padding: 0px;
    margin: 0px;
    overflow: hidden;
    animation: fadeIn 3s;
    font-family: 'Black Ops One', sans-serif;
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

#muteButton {
    position: fixed;
    top: 20px;
    left: 20px;
    cursor: pointer;
}

body{
    cursor: default;
    background-color: black;
    background-size: cover;
    background-repeat: no-repeat;
}

#backgroundVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

h1{
    font-size: 80px;
    color: white;
    text-align: center;
    text-shadow: 3px 2px black;
}
#gameName{
    width: 100vw;
    height: 100vh;
   display: flex;
   justify-content: center;
   align-items: center;
}
#startButton{
    width: 11vw;
    height: auto;
    border: 2px solid white;
    background-color: black;
    font-size: 20px;
    color: white;
    text-align: center;
    position: absolute;
    left: 45vw;
    bottom: 20vh;
    padding: 18px;
    box-shadow: 5px 5px white;
    cursor: pointer;
}
#startButton:hover{
    bottom: 19.5vh;
    left: 45.5vw;
    box-shadow: none;
}
#popup {
    display: none;
    position: fixed;
    top: 40%;
    left: 40%;
    background-color: rgba(44, 31, 120, 0.751);
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
    border-radius: 10px;
    animation: fadeIn 1s;

}

#blur{
    position: absolute;
    background-image: url("./assets/blue.png");
    background-size: cover;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0.7;
    filter: blur(100px);
    z-index: -1;
    animation: fadeIn 1s;

}
#popupContent {
    text-align: center;
    color: white;
    animation: fadeIn 1s;

}

#popup label {
    display: block;
    margin-bottom: 10px;
    animation: fadeIn 1s;

}

#popup input {
    width: 85%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid white;
    border-radius: 5px;
    background-color: black;
    color: white;
    animation: fadeIn 1s;

}

#popup button {
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: 1px solid white;
    border-radius: 5px;
    cursor: pointer;
    animation: fadeIn 1s;

}
#rotate{
    display: none;
}
#popup button:hover {
    background-color: white;
    color: black;
    animation: fadeIn 1s;
}
@media screen and (max-width: 700px) {
    h1{
        font-size: 40px;
    }   
    #startButton{
        width: 20vw;
        left: 35vw;
    }
    #startButton:hover{
        left: 35.5vw;
    }
    #popup {
        width: 80vw;
        height: 30vh;
        right: 0;
        top: 40%;
        left: 5%; 
    }
    #rotate{
        display: block;
    }
}
@media (min-height: 901px) and (min-width:400px ) and (max-height: 1100px) and (max-width: 2000px) {
    #popupContent{
        font-size: 3em;
        width: 20vw;
    }
    #popup input {
        font-size: 0.5em;
    }
    #popup button{
        font-size: 0.5em;
    }
}
