/* Custom Fonts */
@font-face {
    font-family: 'Lato';
    src: url('assets/fonts/Lato/Lato-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'MADE Mirage';
    src: url('assets/fonts/MADE Mirage/MADE Mirage Regular.otf') format('opentype');
}

/* Global Styles */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
    font-family: 'MADE Mirage', sans-serif;
    background: url('assets/backgrounds/Gradient-Background.png') no-repeat center center fixed;
    background-size: cover;
    color: white;
}

/* Investor Page Elements */
.investor-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 20px 0;
    background: transparent;
    margin-bottom: 3rem;
}

.investor-table {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
}

.investor-table td {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.investor-table a {
    text-decoration: none;
    color: inherit;
    display: block;
    font-family: 'Lato';
    font-weight: normal;
}

/* Main Container */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    padding: 0 1rem;
}

/* Title and Subtext */
.page-title-home, .page-title-investor {
    font-weight: normal;
    margin-bottom: 0.1rem;
    font-size: 8rem;
}

.page-title-investor {
    margin-top: 0;
    margin-bottom: 40px;
}

.subtext-home {
    font-family: 'MADE Mirage';
    font-size: 3rem;
    margin-bottom: 8rem;
    font-weight: normal;
}

/* Logo Styles */
.logo-home {
    width: 350px;
    height: auto;
}

.logo-investor {
    width: 280px;
    height: auto;
}

/* Button Styles */
.action-button {
    padding: 0.75rem 1.5rem;
    font-size: 1.3rem;
    cursor: pointer;
    border: none;
    background-color: #ffffff;
    color: #262727;
    border-radius: 20px;
    font-family: 'Lato';
    margin-bottom: 3rem;
}

/* Modal Styles */
.modal {
    position: fixed;
    left: 50%;
    top: 110%; /* Start off-screen */
    transform: translate(-50%, 0);
    width: 600px;
    max-width: 90%;
    height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
    url('assets/backgrounds/Gradient-Background@2x.png') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: top 0.5s ease-out, transform 0.5s ease-out, opacity 0.5s ease-out;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
    font-family: "MADE Mirage";
    font-size: 40px;
    font-weight: normal;
}

.modal.active {
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.modal:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* Modal Logo and Form */
.modal-logo {
    width: 250px;
    height: auto;
    margin-bottom: 0.2rem;
}

.modal-input {
    width: 50%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.modal-submit {
    padding: 0.75rem 1.5rem;
    font-size: 1.3rem;
    cursor: pointer;
    border: none;
    background-color: #ffffff;
    color: #262727;
    border-radius: 20px;
    font-family: 'Lato';
}

/* Copyright */
.copyright {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 0.9rem;
    color: #ffffff;
    font-family: 'Lato';
}

/* Media Queries for Responsiveness */
@media only screen and (max-width: 768px) {
    /* Reduce title and subtitle sizes */
    .page-title-home, .page-title-investor {
        font-size: 4rem;
    }
    .subtext-home {
        font-size: 2rem;
        margin-bottom: 4rem;
    }
    /* Scale down logos */
    .logo-home {
        width: 250px;
    }
    .logo-investor {
        width: 200px;
    }
    /* Adjust button size */
    .action-button {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    /* Modal adjustments */
    .modal {
        width: 80%;
        height: auto;
        padding: 1rem;
        font-size: 2rem;
    }
    .modal-input {
        width: 70%;
    }
}

@media only screen and (max-width: 480px) {
    /* Further reduce title and subtitle sizes for mobile phones */
    .page-title-home, .page-title-investor {
        font-size: 3rem;
    }
    .subtext-home {
        font-size: 1.5rem;
        margin-bottom: 3rem;
    }
    /* Adjust button styling */
    .action-button {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
    /* Modal further adjustments */
    .modal {
        width: 90%;
        padding: 0.5rem;
        font-size: 1.5rem;
    }
    .modal-input {
        width: 80%;
    }
}
