﻿/* ======================================================
   BASE STYLES
   ====================================================== */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

body {
    font-family: Verdana;
    margin-bottom: 60px;
    min-height: 100vh;
    background-image: url('/images/blueGradient.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* ======================================================
   BUTTONS
   ====================================================== */
.btn-begin {
    background-color: #006fa1;
    color: #fff;
    font-weight: bold;
    border-radius: 1px;
    border: 1.5px solid black;
    width: 200px;
    height: 40px;
}

 .btn-begin:hover {
        background-color: #009CDE;
        color: #fff;
        border: 1.5px solid black;
 }

.btn:focus {
    box-shadow: none;
}

/* ======================================================
   HEADER / FOOTER
   ====================================================== */
.header {
    color: #006fa1 !important;
    font-size: 20px;
    margin-top: -71px;
    margin-left: 320px;
    font-family: Verdana;
}

.footer-logo {
    max-height: 25px;
}

.footer-text {
    font-size: 10px;
    font-weight: 600;
    font-family: var(--bs-body-font-family);
}

.enter-text {
    font-size: 14px;
    font-weight: 500;
    font-family: Verdana;
}

/* ======================================================
   CONTAINERS / FORM / IMAGES
   ====================================================== */
.container {
    max-width: 95%;
    border-radius: 0.75rem !important;
}

.surveycode-err {
    color: rgb(255, 0, 0);
    font-weight: 450;
    text-align: center;
}

.img-fluid.w-75 {
    width: 75%;
    max-width: none;
}

.form-control:focus {
    box-shadow: none;
}

/* ======================================================
   MEDIA QUERIES
   ====================================================== */

/* Medium devices (≥768px) */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Small mobiles (300px - 480px) */
@media (min-width: 300px) and (max-width: 480px) {
    .btn-begin {
        width: 90px;
        height: 35px;
        border-radius: 1px;
        border: 1.5px solid black;
        box-shadow: 0px 0px 0px 0px black, 1px 1px 0 0px #000;
    }

        .btn-begin:hover {
            color: #ffffff;
        }

    .header {
        font-size: 11px;
        margin-top: -38px;
        margin-left: 116px;
        text-align: center;
    }

    .container {
        width: 94%;
    }

    footer .row {
        text-align: center;
        display: flex;
        flex-direction: column-reverse;
    }

    footer .col-auto {
        justify-content: center !important;
    }

    .footer-text {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 22px;
    }

    .desktop-break {
        display: none;
    }
}

/* Very small screens (319px - 320px) */
@media (min-width: 319px) and (max-width: 320px) {
    .header {
        margin-left: 89px;
        margin-top: -32px;
        padding: 0px 20px;
        font-size: 7pt;
    }

    .enter-text {
        font-size: 12px;
    }

    .form-control-text {
        width: 62% !important;
    }
}

/* Tablets (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .header {
        font-size: 18px;
        margin-top: -49px !important;
        margin-left: 182px;
    }
}

/* Small desktops (768px - 992px) */
@media (min-width: 768px) and (max-width: 992px) {
    .header {
        margin-top: -54px;
        text-align: center;
    }
}

/* Medium desktops (993px - 1200px) */
@media (min-width: 993px) and (max-width: 1200px) {
    .header {
        margin-top: -68px;
        text-align: center;
    }
}

/* Ultra-wide screens (≥1800px) */
@media (min-width: 1800px) {
    .img-fluid.w-75 {
        max-width: 300px;
    }
}

/* Narrow screens fix (342px - 345px) */
@media (min-width: 342px) and (max-width: 345px) {
    .form-control-text {
        width: 62% !important;
    }
}