@font-face {
    font-family: Artifakt-Element;
    src: url("/Universal/assets/ArtifaktElement.ttf");
}

@font-face {
    font-family: 'Helvetica';
    src: url("/Universal/assets/Helvetica.ttf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* add squiggle blue background between title, hero-left and rest of site with no svg image */
.background-svg-container {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* Place it behind the content */
    pointer-events: none; /* Allows clicks to pass through to elements behind the SVG */
}

.background-svg-container svg {
    display: block;
    width: 105%;
    height: 101%;
}

.page1 {
    flex: 0 1 100vh;
    display: flex;
    flex-direction: column;
}

.page2 {
    flex: 0 1 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, rgb(0,216,255), rgb(0, 150, 255));
}

.page3 {
    flex: 0 1 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #0096FF;
    gap: 50px;
}

.header {
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Artifakt-Element', sans-serif;
    gap: 50px;
}

.page_title {
    font-family: Helvetica, sans-serif;
    font-size: 2.5rem;
    color: #333;
    font-style: italic;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    font-family: 'Helvetica', sans-serif;
    transition: 0.3s;
}

.nav a:hover {
    color: #5fafff;
}

.login_btn {
    background-color: #5fafff;
    color: #fff!important;
    padding: 10px 20px;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Helvetica', sans-serif;
    transition: background-color 0.3s, transform 0.3s;
}

.login_btn:hover {
    background-color: #4a8cd9;
    transform: scale(1.05);
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero_right {
    width: 50%;
    padding: 20px;
}

.student_image {
    max-width: 100%;
    display: block;
    max-height: 580px;
}

.student_image_container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    width: 100%;
}

.hero_left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero_text {
    width: 80%;
}

.hero_title {
    font-family: 'Helvetica', sans-serif;
    font-size: 4rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: bolder;
}

.hero_blurb {
    font-family: 'Artifakt-Element', sans-serif;
    color: #666;
    font-weight: bolder;
    text-indent: 30px;
    padding: 20px;
}

.cta_btn_container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.cta_btn {
    background-color: #409fff;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: 'Helvetica', sans-serif;
    transition: 0.3s;
    text-decoration: none;
}

.cta_btn:hover {
    background-color: #338cd9;
}

.ctn_btns_container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.about {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.footer_content {
    font-family: 'Helvetica', sans-serif;
    color: #b7eaff;
    font-size: 1rem;
    font-weight: bold;
}

.about_container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.about_title_container {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about_title {
    font-family: 'Helvetica', sans-serif;
    font-size: 3rem;
    color: #333;
    font-weight: normal;
}

.about_text_container {
    flex: 1 1 50%;
    padding: 20px;
    font-family: 'Artifakt-Element', sans-serif;
    color: #555;
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: justify;
    font-weight: bold;
    margin: 0 20px;
    max-width: 800px;
}

.cta_resource_btn_container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    font-weight: normal;
}

.cta_resource_btn {
    background-color: #005ab6;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: 'Helvetica', sans-serif;
    transition: 0.3s;
    text-decoration: none;
}

.cta_resource_btn:hover {
    background-color: #004080;
}

.hamburger_menu {
    display: none; /* Hide by default */
    flex-direction: column;
    cursor: pointer;
    z-index: 1000; /* Ensure it appears above other content */
}

.hamburger_menu div {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 5px;
    display: block;
}

.active .line1 {
    transform: rotate(45deg) translate(10px, 5px);
}

.active .line2 {
    opacity: 0;
}

.active .line3 {
    transform: rotate(-45deg) translate(10px, -5px);
}

.resource_preview {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.resource_preview_title {
    font-family: 'Helvetica', sans-serif;
    font-size: 3rem;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    font-weight: normal;
}

.resource_preview_table tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.resource_card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    gap: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    width: 300px;
    text-align: center;
    font-family: 'Helvetica', sans-serif;
    height: 500px;
}

.resource_card_image_container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.resource_card_image {
    max-width: 100%;
    max-height: 200px;
    border-radius: 10px;
}

.resource_card_image_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    height: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.resource_card_image_overlay:hover {
    background-color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.arrow {
    border: solid #fff;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.resource_card_text_container {
    padding: 10px;
    font-size: 1.2rem;
    color: #333;
    font-weight: bold;
}

.resource_card_title {
    font-size: 1.5rem;
    color: #005ab6;
    font-weight: bold;
    margin-bottom: 10px;
}

.resource_card_description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}

.view_resources_btn_container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.resource_card_btn {
    background-color: #005ab6;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Helvetica', sans-serif;
    transition: 0.3s;
    text-decoration: none;
    font-weight: normal;
}

.resource_card_btn:hover {
    background-color: #004080;
}

.view_all_resources_btn_container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.view_all_resources_btn {
    background-color: #005ab6;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: 'Helvetica', sans-serif;
    transition: 0.3s;
    text-decoration: none;
}

.view_all_resources_btn:hover {
    background-color: #004080;
}

.resources {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.resource_preview_title_hr {
    width: 70vw;
    height: 2px;
    background-color: #0087e7;
    border: none;
}

@media (max-width: 1100px) {
    .cta_btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

@media (max-width: 1000px) {
    .hero_title {
        font-size: 3rem;
    }
}

@media (max-width: 850px) {
    .ctn_btns_container {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
}

@media (max-width: 800px) {

    .hero_title {
        font-size: 2.5rem;
    }

    .hero_blurb {
        font-size: 0.7rem;
    }

    .student_image {
        max-height: 400px;
    }

    .about_container {
        flex-direction: column;
        align-items: center;
    }

    .about_title_container, .about_text_container {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 600px) {

    .ctn_btns_container {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .background-svg-container {
        display: none; /* Hide the background SVG on smaller screens */
    }

    .hero {
        flex-direction: column;
        align-items: center;
    }

    .hero_title {
        font-size: 2rem;
        text-align: center;
        color: #333;
    }

    .hero_right, .hero_left {
        width: 100%;
    }

    .student_image_container {
        justify-content: center;
    }

    .hero_text {
        width: 90%;
    }

    .hero_blurb {
        font-size: 1rem;
        text-align: center;
        padding: 10px;
    }

    .cta_btn_container {
        flex-direction: column;
        align-items: center;
    }

    .hamburger_menu {
        display: flex; /* Show the hamburger menu on smaller screens */
    }

    .nav {
        display: none; /* Hide the navigation links on smaller screens */
        position: absolute;
        top: 0;
        right: 0;
        background-color: #409fff;
        width: 100vw;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 999; /* Ensure it appears above other content */
        transition: 0.3s;
    }

    .nav a:hover {
        color: #fff;
    }

    .login_btn {
        background-color: #005ab6;
    }

    .login_btn:hover {
        background-color: #004080;
    }

    .resource_preview_title {
        font-size: 2rem;
    }
}

@media (max-width: 450px) {
    .about_text_container {
        font-size: 1rem;
        padding: 30px;
    }
}

