﻿/* Local font faces - Source Sans Pro */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/SourceSansPro-Light.ttf') format('truetype');
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/SourceSansPro-SemiBold.ttf') format('truetype');
}

html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background: #191d1e;
    font-family: 'Source Sans Pro', sans-serif;
    color: #ffffff;
}

#backgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

.mainContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.4;
    letter-spacing: 0.5rem;
    width: 90%;
    z-index: 10;
}

.mainContent a {
    font-weight: 500;
    font-size: 2rem;
    font-weight: 600;
    line-height: 3;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 225px;
    padding: 10px;
    border: 1px solid #ffffff;
    transition: background-color 0.3s ease;
    text-align: center;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.mainContent a:last-child {
    margin-right: 0;
}

.mainContent a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.mainContent .nameHeading {
    font-weight: 600;
    font-size: 2.25rem;
    line-height: 1;
    letter-spacing: 2.6rem;
    display: inline-block;
    margin-right: -2.6rem;
}

.mainContent .description {
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.65;
}

.mainContent .socialLinks {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.mainContent .socialLinks a {
    font-size: 1.15rem;
    font-weight: 500;
}

.mainContent .nameHeading .nameContainer {
    text-align: center;
}

/* Vertical layout for screens with a max-width of 768px */
@media screen and (max-width: 768px) {
    .mainContent .nameHeading .nameContainer {
        display: block;
        text-align: center;
    }

    .mainContent .nameHeading .first {
        letter-spacing: 5.6rem;
        margin-left: 50px;
        margin-bottom: 5px;
        opacity: 0.5;
    }
    .mainContent .nameHeading .second {
        letter-spacing: 2.6rem;
        margin-left: 0px;
        font-size: 24px;
    }

    .mainContent .socialLinks {
        flex-direction: column;
        align-items: center;
    }
}
