/* CUSTOM TYPEFACES */

@font-face {
    font-family: Gothic;
    src: url("./typefaces/LeagueGothic-Regular-VariableFont_wdth.ttf");
}

@font-face {
    font-family: Rockit;
    src: url("./typefaces/Rockit.ttf");
}

@font-face {
    font-family: Script;
    src: url("../static/typefaces/DancingScript-VariableFont_wght.ttf");
}

/* DEFAULT STYLES */

body {
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif
}

a {
    color: #c6b55d;
}

p {
    color: #2B3181;
}

h3 {
    color: #2B3181;
}

h1 {
    color: #c6b55d;
}

hr {
    max-width: 850px;
    width: 90vw;
    margin: 0 auto;
    color: #2B3181;
}

.wave {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

.non-selectable {
    -webkit-user-select: none; 
    -moz-user-select: none;    
    -ms-user-select: none;     
    user-select: none;         
    pointer-events: none;      
}

/* .no-overflow {
    overflow-x: hidden;
} */

.smoke {
    background-color: #f5f5f5;
}

.flash {
    color: #ee6f57;
    text-align: center;
}

/* HEADER STYLES */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(255, 255, 255, 1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 5px;
    transition: top 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
    display: none;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    display: inline-block;
    margin-right: 20px;
    font-family: Gothic;
}

.navbar ul li a {
    color:  #2B3181;
    text-decoration: none;
    font-size: 30px;
}

/* BUTTON STYLES */

.cool-button {
    width: 150px;
    white-space: nowrap;
    border-radius: 10px;
    padding: 10px;
    background-color: #c6b55d;
    color: white !important;
    transition: background-color 1s ease, color 1s ease, padding 1s ease;
}

.arrow {
    position: absolute;
    right: 10px; 
    top: 50%;
    transform: translateY(-50%) translateX(-100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.cool-button:hover .arrow {
    padding-right: 15px;
    transform: translateY(-50%) translateX(0);
    opacity: 1;
}

.cool-button:hover {
    padding-right: 40px;
    background-color: white;
    color: #2B3181 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* FOOTER STYLES */

footer {
    background-color: #436343;
}

footer p {
    color: white;
}

.icons {
    display: flex;
    justify-content: center;
}

.fa-icon {
    margin: 10px;
    display: block;
    color: #c6b55d;
    transition-duration: 500ms;
}

.fa-icon i {
    font-size: 30px;
}

.fa-icon:hover {
    color: white;
}

.footer-container {
    width: 100%;
    overflow: hidden;
}

.copyright {
    display: flex;
    justify-content: space-between;
}

.copyright p {
    margin: 20px 20px;
}

/* VIDEO SYTLES */

.title {
    padding-top: 180px;
    text-align: center;
    font-family: Gothic;
    font-size: 100px;
}

.sub-title {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    max-width: 720px;
}

.sub-title h2 {
    color: #2B3181;
}

.video-box {
    display: flex;
    justify-content: center;
    margin-bottom: 40px
}

.video {
    width: 720px;
    /* height: 450px; */
    aspect-ratio: 16 / 9;
}

.contact-us {
    text-align: center;
}

.contact-us h2 {
    color: #c6b55d;
}

/* FORM STYLES */

.flash-success {
    color: green;
    text-align: center;
}

.form-box {
    margin-left: auto;
    margin-right: auto;
    border: #2B3181 solid;
    border-radius: 10px;
    max-width: 500px;
    background-color: white;
    padding-bottom: 40px;
}

#form-heading {
    color: #2B3181;
    text-align: center;
}

.form {
    display: grid;
    text-align: center;
    width: 100%;
    font-size: 20px;
}

#submit {
    background-color: #2B3181;
    border-color: #2B3181;
    color: white;
    width: 100%;
}

#submit:hover {
    background-color: white;
    color: #2B3181;
}

.form-check-input {
    border: #2B3181 solid;
    border-radius: 10px;
}

.form-check label {
  display: flex;
  text-align: left;
  color: #2B3181;
  border-bottom: #2B3181 solid;
  border-left: #2B3181 solid;
  border-radius: 10px;
  margin-bottom: 10px;
}

.form-label {
    color: #2B3181;
}

@media (max-width: 800px) {
    .video {
        width: 360px;
        height: 225px;
    }

    .logo {
        padding-top: 5px;
        width: 150px;
    }

    .navbar {
        max-height: 54px;
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        background-color: white;
        position: relative;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 0;
        margin: 0;
        box-shadow: 0 4px 8px rgba(43, 49, 129, 0.5);
    }

    .navbar ul.active {
        display: flex;
    }

    .menu-toggle svg line {
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .menu-toggle.active svg line {
        transition: transform 0.25s ease, opacity 0.25s ease;
    }
    
    .menu-toggle.active svg line:nth-child(1) {
        transform: translateX(7px) translateY(-3px) rotate(45deg);
    }
    
    .menu-toggle.active svg line:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active svg line:nth-child(3) {
        transform: translateX(-10px) translateY(6px) rotate(-45deg);
    }

    .navbar li {
        width: 100%;
        margin: 0;
    }

    .navbar a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #ddd;
        font-size: 16px;
    }

    .menu-toggle {
        margin-right: 15px;
        cursor: pointer;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: right;
    }

    .menu-toggle.active {
        position: absolute;
        top: 0;
        left: -10px;
        width: 100%;
        height: 100%;
    }
}

/* -----------------------------CSRF ERROR STYLES----------------------------------- */

.csrf-error {
    display: grid;
    place-items: center;
    width: 50%;
    margin: 0 auto;
    margin-top: 30vh;
    border: 2px solid #2B3181;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    max-width: fit-content;
    padding: 5px;
}

.csrf-error p {
    font-size: 20px;
    text-align: center;
}

.csrf-error a {
    color: white;
    background-color: #c6b55d;
    padding: 5px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.csrf-error a:hover {
    background-color: white;
    color: #2B3181;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}
