body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #606060;
}

main {
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
}

.widget {
    position: absolute;
    border: 2.5px dotted rgb(66, 132, 231);
    background-color: white;
}

.widget .corner {
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border: 1px solid rgb(66, 132, 231);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Add drop shadow */
}

.widget .corner.tl { top: -5px; left: -5px; }
.widget .corner.tr { top: -5px; right: -5px; }
.widget .corner.bl { bottom: -5px; left: -5px; }
.widget .corner.br { bottom: -5px; right: -5px; }
.widget .corner.tm { top: -5px; left: 50%; transform: translateX(-50%); }
.widget .corner.bm { bottom: -5px; left: 50%; transform: translateX(-50%); }
.widget .corner.ml { top: 50%; left: -5px; transform: translateY(-50%); }
.widget .corner.mr { top: 50%; right: -5px; transform: translateY(-50%); }

.widget .content .corner {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border: 1px solid #4fff4f;
    box-shadow: .5px .5px 2px rgba(0, 0, 0, 0.2); /* Add drop shadow */
}

.widget .content .corner.tl { top: -5px; left: -5px; }
.widget .content .corner.tr { top: -5px; right: -5px; }
.widget .content .corner.bl { bottom: -5px; left: -5px; }
.widget .content .corner.br { bottom: -5px; right: -5px; }
.widget .content .corner.tm { top: -5px; left: 50%; transform: translateX(-50%); }
.widget .content .corner.bm { bottom: -5px; left: 50%; transform: translateX(-50%); }
.widget .content .corner.ml { top: 50%; left: -5px; transform: translateY(-50%); }
.widget .content .corner.mr { top: 50%; right: -5px; transform: translateY(-50%); }


.widget .title {
    position: absolute;
    top: 0;
    left: 0;
    background: #c6e2fd;
    border: black, 1px solid;;
    padding: 0.2vh 0.5vw;
}

.main-widget .content {
    position: absolute;
    top: 35%;
    left: 50%;
    width: 85%;
    min-height: 60%;
    transform: translate(-50%, -50%);
    text-align: left;
    border: .5px solid #4fff4f; /* Add green border */
    margin-top: 1vh;
    padding: .2vh .2vw;
}

.main-widget {
    top: 4vh;
    left: 4vw;
    width: 30vw;
    height: 90vh;
}

.logo-widget {
    top: 6.5vh;
    left: 38vw;
    width: 42vw;
    height: auto;
    background-color: black;
}

.tmcc-widget {
    top: 50vh;
    left: 41vw;
    width: 37vw;
    height: auto;
    background-color: white;
}

.student-01 {
    top: 5.5vh;
    left: 37vw;
    width: 39vw;
    height: auto;
    background-color: transparent;
}

.student-02 {
    top: 55vh;
    left: 44vw;
    width: 37vw;
    height: auto;
    background-color: transparent;
}

.student-03 {
    top: 10vh;
    left: 4vw;
    width: 30vw;
    height: auto;
    background-color: transparent;
}

.widget .content img {
    width: 100%;
    height: auto;
}

.nav-widget {
    top: 50px;
    right: 10px;
    width: 250px;
    height: 650px;
    background-color: #333;
    color: white;
    padding: 10px;
    border: 1px solid #444;
}

.nav-widget .content ul {
    list-style-type: none;
    margin-top: 10px;
    padding: 0;
}

.nav-widget .content ul li {
    margin: 10px 0;
    border-bottom: 1px solid #444; /* Border between each list item */
}

.nav-widget .content ul li:last-child {
    border-bottom: none; /* Remove border from the last list item */
}

.nav-widget .content ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    color: white;
    text-decoration: none;
    background-color: #444;
    border: 1px solid #555;
    border-radius: 4px;
    position: relative;
}

.nav-widget .content ul li a#active {
    background-color: #b7be11;
}

.nav-widget .content ul a::after {
    content: '▼';
    font-size: 12px;
    margin-left: 10px;
}

.nav-widget .content ul li a:hover span{
    text-decoration: underline;
}

.nav-widget img {
    margin-top: 10vh;
    width: 100%;
    height: auto;
}

.staff-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; 
    margin-right: 270px;
}

.staff-item {
    flex: 1 1 30%;
    width: 25vw;
    height: 46vh;
    margin: 5px;
    box-shadow: 0px 0px 10px #ccc;
    text-align: center;
    position: relative;
    padding-top: 0px;
    padding: 1vw; 
    box-sizing: border-box;
}

/* Used to animate the button toggles */
.staff-photo, .staff-bio {
    transition: height 0.2s ease, opacity 0.2s ease;
}


.staff-photo {
    height: 80%;
    display: block;
    margin: 0 auto;
    margin-bottom: .5vh;
    opacity: 1; /* Used for animation */
    user-select: none;
}

.staff-bio {
    display: none;
    background-color: white;
    padding: 10px;
    margin: 10px;
    border: 1px solid #ccc;
    font-size: 24px;
    height: 0;   /* Used for animation */
    opacity: 0;     /* Used for animation */
}

.staff-bio.visible {
    display: block;
    opacity: 1;
    height: auto;
}

main#staff{
    padding: 1vw;
}

.button#staff {
    position: absolute;
    bottom: 1vh;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1vh;
    display: inline-block;
    width: 80%;
    line-height: 10vh;
    height: 50px;
    line-height: 50px;
    font-size: 2.7em;
    padding: .5vw .4vw;
    margin-top: 4vh;
    color: #fff;
    background-color: #b7be11;
    text-decoration: none;
    border-radius: 0;
    text-align: center;
    user-select: none;
}

.button#staff:hover {
    text-decoration: underline;
}