@font-face {
    font-family: 'OSRSFont';
    src: url('content/osrsfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('content/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    cursor: url('content/cursor.cur'), auto;
    font-family: 'OSRSFont', sans-serif;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 0;
    pointer-events: none;
    transition: background-color 0.3s ease;
}

body.content-visible::before {
    background-color: rgba(0, 0, 0, 0.4);
}

.banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    max-width: 80%;
    max-height: 80vh;
    width: auto;
    height: auto;
}

.banner-button {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 80%;
    max-width: 80%;
    height: 80vh;
    max-height: 80vh;
    background: transparent;
    border: none;
    cursor: url('content/cursor.cur'), auto;
    padding: 0;
    margin: 0;
}

.logo {
    position: relative;
    z-index: 1;
    display: none;
    margin: 0 auto;
    max-width: 300px;
    width: auto;
    height: auto;
    padding-top: 40px;
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

.main-image {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    max-width: 56%;
    max-height: 56vh;
    width: auto;
    height: auto;
    animation: float 3s ease-in-out infinite;
    display: none;
}

.button-container {
    position: fixed;
    top: calc(50% + 35vh);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: none;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.ca-text {
    position: fixed;
    top: calc(50% + 45vh);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: #FFFF00;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    display: none;
    font-family: 'OSRSFont', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.social-button {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: url('content/cursor.cur'), auto;
    transition: transform 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.social-button:hover {
    transform: scale(1.05);
}

.social-button img {
    max-width: 120px;
    max-height: 10vh;
    width: auto;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .button-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .social-button img {
        max-width: 100px;
    }
}

