/* Define Colors */
:root {
    --primary-color: #363249;
    --secondary-color: #C9DEF4;
    --tertiary-color: #E4778D;
}

/* Font */
@font-face {
    font-family: 'Woodland';
    src: url('assets/PPWoodland-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'NeueMontreal';
    src: url('assets/PPNeueMontreal-Book.otf') format('opentype');
}

/* Global Styles */
body {
    margin: 0;
    overflow-x: hidden;
    background: hsla(211, 66%, 87%, 1);
    background: linear-gradient(80deg, hsla(211, 66%, 87%, 1) 0%, hsla(348, 67%, 88%, 1) 50%, hsla(272, 26%, 72%, 1) 100%);
    background: -moz-linear-gradient(65deg, hsla(211, 66%, 87%, 1) 0%, hsla(348, 67%, 88%, 1) 50%, hsla(272, 26%, 72%, 1) 100%);
     background: -webkit-linear-gradient(111deg, hsla(211, 66%, 87%, 1) 0%, hsla(348, 67%, 88%, 1) 50%, hsla(272, 26%, 72%, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#C9DEF4", endColorstr="#F5CCD4", GradientType=1 );
}

/* Container Styles */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary-color); /* Text color */
    text-align: center;
    padding: 20px; /* Padding for both mobile and desktop */
}

.container p {
    font-size: 1.618rem;
    font-family: 'Woodland', Arial, sans-serif;
    text-align: justify;
    margin: 0;
}

.container h1 {
    font-size: 4.236rem;
    font-family: 'Woodland', Arial, sans-serif;
    text-align: left; /* Align left */
    margin-bottom: 10px;
    width: 100%; /* Full width */
}

.small-paragraph {
    font-size: 1.3rem !important;
    font-family: 'NeueMontreal' !important;
    text-align: justify;
    margin-top: 20px !important;
    width: 100%; /* Full width */
}

/* Navigation Styles */
nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--primary-color); /* Text color */
}

nav h1 {
    font-size: 4.236rem;
    font-family: 'Woodland', Arial, sans-serif;
    text-align: left;
    margin-bottom: 10px;
    width: 100%; /* Full width */
}

.nav-columns {
    column-count: 2;
    column-gap: 150px;
    column-width: auto;
    max-width: 80%;
    text-align: left;
}

nav a {
    font-size: 1.618rem;
    font-family: 'Woodland', Arial, sans-serif;
    text-decoration: none;
    color: var(--primary-color); /* Text color */
    margin: 0;
    display: block;
}

nav a:hover {
    transform: translateX(2px);
    transition: text-decoration-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Selection Highlighting */
::selection {
    background-color: var(--tertiary-color);
    color: var(--primary-color);
}

/* Media Query for Mobile */
@media only screen and (max-width: 600px) {

    .container p {
        font-size: 1.277rem;
    }

    .container h1 {
        font-size: 2.082rem;
    }

    nav h1 {
        font-size: 2.658rem;
        width: 100%; /* Full width */
    }

    nav a {
        font-size: 1.277rem;
    }

    .small-paragraph {
        font-size: 1.13rem !important;
    }

    .nav-columns {
        column-count: 1;
        column-width: auto;
        max-width: 100%;
        text-align: left;
    }

    .container, nav {
        flex-direction: column;
        justify-content: center;
        box-sizing: border-box;
        padding: 8.75rem 1.25rem 8.75rem 1.25rem;
    }
}

/* Media Query for Desktop */
@media only screen and (min-width: 600px) {
    .container, nav {
        padding: 11rem;
        flex-direction: column;
        justify-content: center;
        box-sizing: border-box;
        height: 100vh;
    }

    .nav-columns {
        column-count: 2;
        column-gap: 150px;
        column-width: auto;
        max-width: 80%;
        text-align: left;
    }
}
