* {
    font-family: "Karla", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow: hidden;
    background-color: #f0f8ff;
}

#rotation-warning,
#full-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    width: 100vw;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 1);
    transition: 0.3s;
    display: none;
}

#rotation-warning .content,
#full-screen .content {
    background: linear-gradient(270deg, rgb(145, 145, 8), pink, blue, green, purple);
    background-size: 300% 300%;
    background-position: 0% 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    color: #333;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    text-align: center;
    animation: bg-slide 6s linear infinite;
}

#full-screen .content {
    animation: button-pulse 2s infinite, bg-slide 6s linear infinite;
}

.content span {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #ff6f00;
}

.content img {
    width: 120px;
    margin-bottom: 15px;
}

@keyframes button-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes bg-slide {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
	100% {
		background-position: 0% 50%;
	}
}

@media (orientation: portrait) {
    #rotation-warning,
    #full-screen {
        display: flex;
    }
}

@media (orientation: landscape) {
    #rotation-warning {
        display: none;
    }
    #full-screen {
        display: flex;
    }
}
