.open-sans {
    font-family: "Open Sans", sans-serif;
    /* Change 'serif' to 'sans-serif' */
    font-optical-sizing: auto;
    font-weight: 500 !important;
    font-style: normal;

}

.open-sans-600 {
    font-family: "Open Sans", sans-serif;
    /* Change 'serif' to 'sans-serif' */
    font-optical-sizing: auto;
    font-weight: 600 !important;
    font-style: normal;

}

#membersContainer{
    display:none;
}

#classroomMain {
    min-height:90vh;
}

#raiseHand, #lowerHand{
    height:20vh;
    width:50vw;
    font-size:1.5rem!important;
}

#ellipsis{
    font-size:2rem!important;
    background-color:#ffffff00;
    border-color:#ffffff00;
    color:black;
    padding-top:0;
}

#ellipsis:hover{
    cursor:pointer;
    background-color: rgba(0, 0, 0, 0.116);
}


#offcanvasHomeLink {
    border:2px solid #d8d8d8!important;
    width: 20rem;
    max-width: 100%;
}

#offcanvasHomeLink:hover {
    background-color: #cfd0d1!important;
}

#bootstrap-override .offcanvas {
    z-index: 100;
    transition: transform .05s ease-in-out;
    max-width: 90vw;
}

#bootstrap-override .offcanvas-backdrop {
    z-index: 99;
}

#menuButton:hover {
    background-color: #999a9c !important;
}

#menuButton:focus,
#menu-button:active {
    box-shadow: none !important;
    outline: none !important;
}


.navbar-parent {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-top: .5rem;
    padding-bottom: .5rem;
}

#bootstrap-override .header {
    font-size: .9rem;
}

#bootstrap-override .btn {
    font-size: .75rem;
}

h2 {
    text-overflow: ellipsis;
}

#header-link {
    text-decoration: none;
    color: black;
}

#bootstrap-override .bg-offwhite {
    background-color: #e8eaed;
}

.warning-message {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 16px;
    z-index: 1000;
}

.bg-red {
    background: #ff5252;
}

.btn-light:hover {
    background-color: #cccfd9 !important;
    border-color: #cccfd9 !important;
}

ul {
    list-style-type: none;
}

#bootstrap-override .teacher-pfp {
    display: block;
    border-radius: 50%;
    height: 3em;
    width: auto;
}

#pfpDropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    right: 0 !important;
    z-index: 1000;

}

#bootstrap-override .pfp {
    height: 3em;
    /* Match the height of the h1 text */
    width: auto;
    border-radius: 50%;
    object-fit: cover;
}

#selfPfp:hover {
    cursor: pointer;
}

#login_button {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#login_button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.login-parent {
    justify-content: center;
    margin-top: 20px;
}

body {
    background-color: #f8f9fa;
}

.container {
    margin-top: 50px;
    text-align: center;
}



.classroom-link {
    position: relative;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: white;
    transition: transform 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    border: 1px solid black;
    overflow: hidden;
    text-decoration: none;
    color: black;
    width: 100%
}



.classroom-color-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
}

.classroom-link span {
    margin: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
    display: block;
    box-sizing: border-box;
}

.classroom-create-link {
    justify-content: center;
}





.classroom-link:hover {
    transform: scale(1.05);
}

.classroom-grid {
    display: grid;
    grid-template-columns: repeat(1, 80vw);
    row-gap: 10px;
    justify-items: center;
    align-items: center;
    justify-content: center;
    align-content: center
}



.classroom-card {
    max-width: 100%;
    width: 80vw;
}

.classroom-card-sidebar {
    width: 20rem;
    max-width: 100%;
}

.classroom-header {
    height: 5rem;
}




header {
    text-align: center;
    z-index: 101;
}


.bg-cream {
    background-color: #cad2c5;
}

.text-cream {
    color: #cad2c5;
}

.bg-olive {
    background-color: #84a98c;
}


.bg-darkblue {
    background-color: #2f3e46;
}

.text-darkblue {
    color: #1D262A;
}

.text-darkgreen {
    color: #52796f
}

.bg-darkgreen {
    background-color: #76A295;
}

#code{
    font-size:4rem;
    font-family: "Consolas", "monaco", monospace; 
}

.dialog {
    display: none;
    /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.dialog-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    min-width: 300px;
}

#dialogClose,#codeDialogClose {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}


#bootstrap-override .material-symbols-rounded {
    font-variation-settings:
        'FILL' 0,
        'wght' 800,
        'GRAD' 400,
        'opsz' 48;
    font-size: 2rem;
    line-height: 1;
}


#header-link {
    display: none;
}

@media only screen and (min-width: 420px) {


    #header-link {
        display: inline-block;
    }

    #bootstrap-override .header {
        font-size: 2rem;
    }

}


@media only screen and (min-width: 600px) {




    #bootstrap-override .btn {
        font-size: 1rem;
    }


}

@media only screen and (min-width: 768px) {

    #raiseHand, #lowerHand{
        height:30vh;
        width:50vw;
    }

    .classroom-header {
        height: 10rem;
    }

    .classroom-grid {
        grid-template-columns: repeat(3, 25vw);
        column-gap: 10px
    }


    .classroom-link {
        width: 100%;
    }

    .classroom-card {
        width: 25vw;
    }

    h2 {
        font-size: 1rem;
    }

    #bootstrap-override .btn {
        font-size: 1rem;
    }

    #bootstrap-override .header {
        font-size: 2rem;
    }

    .btn {
        font-size: 1rem;
    }


}