/* Font-face definitions */
@font-face {
    font-family: 'Standerd';
    src: url('/assets/fonts/standerd-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Standerd';
    src: url('/assets/fonts/standerd-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Standerd';
    src: url('/assets/fonts/standerd-medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Standerd';
    src: url('/assets/fonts/standerd-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* General body styles */
body {
    font-family: 'Standerd', Arial, sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
    height: 100vh;
    box-sizing: border-box;

    /* Animated background */
    background: linear-gradient(-45deg, #1d2327, #242b31, #1d2327, #1f2429);
    background-size: 400% 400%;
    animation: backgroundShift 8s ease infinite;
}

@keyframes backgroundShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Grid container */
.grid-container {
    display: grid;
    grid-template-rows: 7vh 88vh 5vh; /* Adjust heights for navbar, content, footer */
    height: 100vh;
    grid-template-areas: 
        "navbar" 
        "content" 
        "footer";
}

/* Navigation bar */
.navbar {
    grid-area: navbar;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 20px;
}

/* Logo on the left side */
.navbar-left .logo {
    height: 100%;
    max-height: 60px;
    width: auto;
}

/* Navigation links on the right */
.navbar-right ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-right ul li {
    margin-right: 20px;
}

.navbar-right ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 10px;
        justify-content: space-between;
    }

    .navbar-right {
        width: 80%;
    }

    .logo {
        max-height: 40px;
    }
}

/* Main content area */
.content {
    grid-area: content;
    display: flex;
    width: 50%;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    padding: 40px;
    overflow-y: auto;
}

/* Footer */
.footer {
    grid-area: footer;
    background-color: #1D2327;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Typography */
h1, h2, h3, h4, p {
    font-family: 'Standerd', Arial, sans-serif;
    color: #f4f4f4;
    margin: 0;
    padding: 0;
}

h1 {
    font-weight: 500;
    font-size: 100px;
    line-height: 1;
    text-align: left;
}

h2 {
    font-size: 26px;
    line-height: 1;
}

h3 {
    font-size: 12px;
    line-height: 0.5;
    text-align: left;
}

h4 {
    font-size: 10px;
    color: #fff;
    line-height: 0.5;
    text-align: left;
}

p {
    font-size: 22px;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    padding-bottom: 2px;
    margin-bottom: 5px;
    display: inline-block;
    transition: border-color 0.3s ease;
}

a:hover {
    border-color: currentColor;
}

h2 a {
    color: inherit;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    padding-bottom: 3px;
    margin-bottom: 5px;
    display: inline-block;
    transition: border-color 0.3s ease;
}

h2 a:hover {
    border-color: currentColor;
}

/* Image styling */
img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
}

/* Form styling */
form {
    background: transparent;
    padding: 0;
    width: 60%;
    margin: 0 auto;
    text-align: center;
}

.input-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

/* Button styling */
button {
    font-family: 'Standerd', Arial, sans-serif;
    font-weight: 400;
    font-size: 28px;
    padding: 15px 30px;
    background-color: #323232;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    background-color: #3f3d49;
}
