html {
  font-size: 14px;
}

p {
    color: white;
}

span {
    color: white;
}

@media (min-width: 768px) {
  html {
    font-size: 20px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

/* Custom */

/* --- Global --- */
body {
    margin-bottom: 60px;
    background-color: #0F173A;
}

.pfp {
    aspect-ratio: 1/1;
    border: 1px solid black;
    border-radius: 50%;
    width: 20%;
}

.nav-item-right {
    margin-left: auto;
    width: 10%
}

.feedback-text {
    color: white;
}

.dropdown-parent {
    width: 14vw;
    height: 5vh;
    margin: 0.25vw;
}

.dropdown {
    background-color: #18B9D2;
    border: 3px solid #0A5763;
    color: white;
    width: 100%;
    height: 100%;
    padding: 1vh;
}

.text-input-form {
    width: 14vw;
    height: 5vh;
    display: flex;
    justify-content: space-between;
    margin: 0.25vw;
}

.text-input {
    background-color: #18B9D2;
    border: 3px solid #0A5763;
    color: white;
    width: 65%;
    padding: 1vh;
}

.text-input-submit {
    height: 100%;
    width: 30%;
    padding: 1vh;
}

.input-submit, .text-input-submit {
    background-color: #18B9D2;
    border: 3px solid #0A5763;
    color: white;
    border-radius: 10px;
}

.input-submit {
    height: 5vh;
    width: 30%;
    margin-top: 1vh;
}

.title {
    width: 100%;
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-top: 3%;
}

.link-box {
    font-size: 16px;
    padding: 1.5%;
    background-color: #18B9D2;
    border: 2px solid #0A5763;
    display: flex;
    align-items: center;
}

@media (width < 600px) {
    .title {
        font-size: 32px;
    }

    .nav-item-right {
        margin-left: 0;
        width: 100%
    }

    .dropdown-parent {
        width: 50%;
        height: 7%;
        margin: 1vw;
    }

    .dropdown {
        border: 2px solid #0A5763;
    }

    .text-input-form {
        width: 50%;
        height: 8%;
    }

    .text-input {
        border: 2px solid #0A5763;
        padding: 1vh;
    }

    .input-submit, .text-input-submit {
        border: 2px solid #0A5763;
    }

    .file-upload-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: white;
    }

    .link-box {
        font-size: 12px;
        border: 1px solid #0A5763;
    }
}

/* --- Index --- */
.Main-Title {
    font-size: 3.6rem;
    text-align: center;
    font-family: "Graduate", serif;
    margin-bottom: 0;
    color: white;
}

.Main-Subtitle {
    font-size: 18px;
    text-align: center;
    font-family: "Graduate", serif;
    margin-top: 0;
    color: white
}

.home-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55vh;
    flex-direction: column;
}

.overview-index-container {
    width: 100%;
    height: 10vh;

    display: flex;
    align-content: center;
    justify-content: space-evenly;
}

.overview-index-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 2.5%;
    margin-right: 2.5%;
    flex: 1;
}

.overview-link {
    font-size: 16px;
    height: 50%;
    width: 100%;
    background-color: #18B9D2;
    border: 2px solid #0A5763;
    display: flex;
    align-items: center;
    margin-bottom: 6%;
}

.overview-container {
    position: absolute;
    left: 10vw;
    right: 10vw;
    display: flex;
    flex-direction: row;
    padding: 1%;
    background-color: #1E293B;
}

.overview-week-container {
    flex: 1;
    color: white;
    text-align: center;
    margin-left: 0.5%;
    margin-right: 0.5%;
}

.overview-item {
    background-color: #131a26;
    padding: 2%;
    width: 100%;
    margin-bottom: 4%;
}

.late-bar {
    width: 90%;
    height: 7px;
    margin-left: 5%;
    margin-bottom: 5%;
    margin-top: 2.5%;
    border-radius: 5px;
    background-color: red;
}

.not-late-bar {
    width: 90%;
    height: 7px;
    margin-left: 5%;
    margin-bottom: 5%;
    margin-top: 2.5%;
    border-radius: 5px;
    background-color: lawngreen;
}

@media (width < 600px) {
    .overview-index-container {
        width: 0;
        height: 0;
    }

    .overview-index-item {
        width: 0;
        height: 0;
    }

    .overview-link {
        font-size: 0;
    }
    
    .overview-container {
        flex-direction: column;
    }

    .overview-week-container {
        margin-top: 2%;
        margin-bottom: 2%;
    }

    .home-container {
        height: 75vh;
    }

    .Main-Title {
        font-size: 42px;
    }

    .Main-Subtitle {
        font-size: 11px;
    }
}

/* --- BusTimes --- */

.bustimes-search-container {
    width: 100%;
    margin-top: 4vh;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.bustimes-submit-form {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0.25vw;
}

.weekday-dropdown {
    width: 14vw;
    background-color: #18B9D2;
    border: 3px solid #0A5763;
    color: white;
    padding: 1vh;
}

.bustimes-results-container {
    margin-top: 4vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background-color: #1E293B;
    padding: 4%;
}

.bustimes-item {
    background-color: #182231;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    color: white;
    text-align: center;
    padding: 2vh;
    margin: 2%;
}

.inspect-time-between {
    color: white;
    grid-column: 1/3;
    margin: 0;
    text-align: center;
}

.bustimes-link-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

@media (width < 600px) {
    .bustimes-search-container {
        margin-top: 3vh;
    }

    .bustimes-submit-form {
        height: 50%;
        width: 100%;
        margin: 0;
    }

    .weekday-dropdown {
        background-color: #18B9D2;
        border: 2px solid #0A5763;
        color: white;
        width: 50%;
        height: 100%;
        padding: 1vh;
        margin: 1vw;
    }

    .bustimes-results-container {
        margin-top: 2vh;
        grid-template-columns: 3% 1fr 3%;
        padding: 5%;
    }

    .bustimes-item {
        grid-column: 2/3;
        margin: 0;
        margin-bottom: 2%;
        margin-top: 2%;
    }

    .inspect-time-between {
        grid-column: 2/3;
    }
}

/* --- Login & Signup --- */
.login-text-input {
    background-color: #4F595B;
    border: 2px solid black;
    color: white;
    width: 35%;
    padding: 1%;
}

.login-container {
    width: 70%;
    margin-left: 15%;
    height: 30vh;
    background-color: #1E293B;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

@media (width < 600px) {
    .login-text-input {
        width: 65%;
    }

    .login-container {
        height: 30vh;
        background-color: #1E293B;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
    }
}

/* --- Mina Resor --- */
.remove-mytravels {
    font-size: 36px;
    background-color: #18B9D2;
    border: 1px solid #0A5763;
    aspect-ratio: 1;
    color: red;
    font-family: "Fredoka", sans-serif;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (width < 600px) {
    .remove-mytravels {
        font-size: 24px;
    }
}

/* --- Edit User --- */
.edit-user-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 70vh;
    background-color: #1E293B;
    padding: 3%;
    margin-bottom: 2vh;
}

/* --- Monitor View --- */
.monitor-page {
    position: absolute;
    left: 0;
    right: 0;
    top: 10vh;
    bottom: 2vh;
    display: flex;
    flex-direction: row;
}

.monitor-container {
    flex: 1;
    height: 100%;
}

.monitor-overview-container {
    width: 95%;
    margin-left: 1.25%;
    margin-right: 1.25%;
    height: 90%;
    display: flex;
    flex-direction: row;
    padding: 1%;
    background-color: #1E293B;
}

.monitor-overview-week-container {
    flex: 1;
    color: white;
    text-align: center;
    margin-left: 1%;
    margin-right: 1%;
}

.monitor-overview-item {
    font-size: clamp(0.75rem, 0.075vw + 0.7rem, 0.95rem);
    background-color: #131a26;
    padding: 2%;
    width: 100%;
    margin-bottom: 6%;
}

.monitor-title {
    font-size: clamp(1.5rem, 0.75vw + 1rem, 4rem);
    width: 100%;
    text-align: center;
    color: white;
    font-weight: bold;
    margin-bottom: 1%;
    margin-top: 0;
}

.weekday-title {
    font-weight: bold;
    font-size: clamp(0.95rem, 0.35vw + 0.85rem, 1.3rem);
    margin: 0;
}

.monitor-time-text {
    font-weight: bold;
    font-size: clamp(1rem, 0.075vw + 0.9rem, 1.5rem);
    display: block;
}

@media (max-aspect-ratio: 9/16) {
    .monitor-page {
        top: 5vh;
        bottom: 1vh;
        flex-direction: column;
    }

    .monitor-container {
        display: flex;
        align-items: center;
        flex-direction: column;
        margin-top: 2%;
    }

    .monitor-overview-container {
        margin-left: 0;
        margin-right: 0;
        flex: 10;
    }

    .monitor-overview-item {
        font-size: clamp(0.75rem, 1vw + 0.7rem, 1.25rem);
    }

    .monitor-time-text {
        font-size: clamp(1rem, 1.5vw + 0.9rem, 1.5rem);
    }

    .monitor-title {
        font-size: clamp(0.95rem, 1.75vw + 0.85rem, 4rem);
    }
}