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

body, html {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-weight: bold;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    color: #fff;
    transition: background-color 0.5s ease;
    background-color: #282c34;
}

h1 {
    font-size: 3.5em;
    margin-top: 20px;
}

p {
    font-size: 1.5em;
    color: #1b0000;
}

#logo {
    width: 250px;
    height: 250px;
    margin-bottom: 20px;
}

#welcomeContent, #aboutContent, #contactContent {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    transition: transform 0.5s ease;
    width: 50vw;
    padding: 20px;
}

#welcomeContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

#aboutContent, #contactContent {
    transform: translateX(-200%);
    top: 70%;
}

#aboutContent.slide-in {
    transform: translateX(0);
}

#contactContent.slide-in {
    transform: translateX(0);
}

#navigation, #socials {
    position: absolute;
    display: flex;
    gap: 20px;
    z-index: 2;
    transition: color 0.3s ease;
}

#navigation {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

#navigation a, #socials a img {
    transition: transform 0.3s ease, color 0.3s ease;
}

#navigation a {
    color: #1b0000;
    font-size: 1.2em;
    text-decoration: none;
}

#navigation a:hover { color: #721616; }
#socials a:hover img { transform: scale(1.1); }

#socials {
    bottom: 10px;
    right: 10px;
}

#socials a img { width: 32px; }

#aboutContent p { color: white; }

@media only screen and (max-width: 600px) {
    body, html {
        font-size: 14px;
        overflow: hidden;
    }

    #welcomeContent, #aboutContent, #contactContent, #navigation, #socials {
        padding: 20px;
        text-align: center;
    }

    #logo {
        width: 150px;
        height: 150px;
    }

    h1 { font-size: 2em; margin-top: 10px; }
    p { font-size: 1em; }
    
    #navigation a { display: block; margin: 5px 0; }
}

