@import url(https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap);
/* Page transition effect */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #250c37;
    opacity: 1;
    z-index: 9999;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

body {
    opacity: 0;
    animation: fadeIn 0.5s 0.1s ease-in forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
:root {
    --primary-color: #250c37;
    --secondary-color: #421862;
    --hover-color: #351252;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: white;
    font-family: roboto, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
        sans-serif;
}

body {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--primary-color);
}

.main {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    height: 100vh;

    opacity: 0;
    animation: fadeInBlur 1.5s ease-in forwards;
    scroll-snap-align: center;
    background-color: var(--primary-color);
    background: linear-gradient(
            to top right,
            rgba(0, 0, 0, 0.4),
            rgba(50, 0, 80, 0.4),
            rgba(0, 0, 50, 0.4)
        ),
        url(2462aec4824aee1c261e.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.main h1 {
    font-family: "League Spartan", sans-serif;
    font-size: clamp(1.5rem, 4vw, 4vw);
}

/* Main CSS */
.main-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 200px;
    gap: 15px;
    scroll-snap-align: center;
    background-color: var(--primary-color);
}

.main-page img {
    width: 150px;
}

.main-page .img-child {
    width: 100px;
}

.main-page p {
    font-size: 20px;
    font-weight: bold;
}

.main-page-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.link-icon {
    text-align: center;
    margin-left: 10px;
    width: 60vw;
}

.fa-brands {
    text-decoration: none;

    font-size: 25px;
    padding: 5px;
}

.info-container {
    margin-top: 1rem;
}

.info-container img {
    align-items: center;
    padding-top: 10px;
}

.button-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.button-link button {
    text-decoration: none;
    padding: 0.8em 1.8em;
    border: 2px solid rgb(75, 17, 129);
    background-color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s;
    z-index: 1;
    font-family: inherit;
    color: rgb(75, 17, 129);
    border-radius: 5px;
    width: 250px;
}

.button-link button::before {
    content: "";
    width: 0;
    height: 300%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgb(75, 17, 129);
    transition: 0.5s ease;
    display: block;
    z-index: -1;
}

.button-link button:hover::before {
    width: 105%;
}

.button-link button:hover {
    background-color: rgb(75, 17, 129);
    color: white;
    cursor: pointer;
}

@media screen and (max-width: 1000px) {
    .main-page-container {
        flex-direction: row;
    }

    .main-page img {
        width: 100px;
    }

    .main-page .img-child {
        width: 60px;
    }

    .link-icon {
        width: 80vw;
    }

    .button-link button {
        width: 80vw;
    }
}

@keyframes fadeInBlur {
    from {
        opacity: 0;
        filter: blur(5px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

