body{
    margin: 0;
    padding: 0;
    color: white;
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
}

#myVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#title{
    font-family: "Orbitron", monospace;
    font-size: 38px;
    font-weight: 900;
    color: #f32525;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.index{
    display: flex;
    flex-direction: column;
    position: absolute;
    height: 90vh;
    width: 90%;
    gap: 10px;
    padding: 3%;
    justify-content: space-between;
}

#me{
    display: flex;
    width: 24%;
    right: 5px;
    bottom: 30px;
    position: absolute;
}

.mouth{
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    position: relative;
    z-index: 1;
    justify-content: center;
    align-items: center;
}

.mouthpic{
    display: inline-block;
    animation-name: mouth;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    transform-origin: center center;
}

.mouthpic img{
    display: block;
    max-width: 100%;
    height: auto;
}

@keyframes mouth {
    0%   { transform: scale(0.5) rotate(0deg); }
    25%  { transform: scale(1) rotate(0deg); }
    50%  { transform: scale(0.5) rotate(0deg); }
    75%  { transform: scale(1) rotate(360deg); }
    100% { transform: scale(0.5) rotate(0deg); }
}

#startButton {
    position: relative;
    width: 220px;
    height: 50px;
    border: none;
    outline: none;
    background: #f32525;
    color: #fff;
    cursor: pointer;
    border-radius: 10px;
    font-family: "Orbitron", monospace;
    font-size: 16px;
    font-weight: 700;
    overflow: hidden;
    transition: all 0.3s ease;
}

.button-text {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#startButton:hover .button-video {
    opacity: 1;
}

#startButton:hover .button-text {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}