body {
    font-family: 'Work Sans', sans-serif;
    margin: 0px;
    overflow: hidden;
}

#page {
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    flex-direction: horizontal;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    
    height: 80px;
    width: 100vw;
    
    color: whitesmoke;
    background-color: rgb(146, 134, 189);
    border-bottom: 3px solid rgb(78, 62, 132);
    
    padding-left: 30px;
    align-content: center;

    transition-duration: 400ms;
}

.header:hover {
    background-color: rgb(78, 62, 132);
    border-bottom-color: rgb(212, 203, 243);
}

#headerTitle {
    transition: transform 2s ease-in-out;
    cursor: default;
}

.header:hover > #headerTitle {
    transform: translateX(20px);
}

.header:hover > #titleHeart {
    color: rgb(255, 255, 255);
}

#headerTitle h1 {
    font-size: 20px;
    line-height: 5px;
}

#headerTitle p1 {
    font-size: 15px;
    font-style: italic;
    opacity: 40%;
}

#whenSignedOut {
    margin-right: 100px;
}

#whenSignedIn {
    margin-right: 100px;
}

#loginBtn {
    font-size: 30px;
    cursor: pointer;
    user-select: none;
}

#logoutBtn {
    font-size: 30px;
    cursor: pointer;
    user-select: none;
}

#userUI {
    position: relative;
    bottom: 7px;
    right:10px;
    border: 2px solid rgb(212, 203, 243);
    border-radius: 5px;
    padding: 6px;
    padding-right: 0px;
    transition-duration: 200ms;
    cursor: pointer;
    user-select: none;
}

#userUI:hover, #userUI:focus {
    background-color: rgb(212, 203, 243);
}

#userUIDropdown {
    position: relative;
    top: 9px;
    left: 2px;
    font-size: 30px;
}

.dropdownContent {
    position: absolute;
    top: 35px;
    min-width: 160px;
    z-index: 14;
}

.dropdownContent a {
    background-color: whitesmoke;
    color: rgb(78, 62, 132);
    padding: 12px 16px;
    margin: 1px;
    text-decoration: none;
    display: block;
    border: 2px solid rgb(78, 62, 132);
    border-radius: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

#menuLogoutBtn {
    font-size: 20px;
}

#main {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    
    margin: 20px;
    gap: 20px;
    cursor: default;
}

.mainCell {
    display: flex;
    padding: 20px;
    
    align-content: center;
    justify-content: center;
    
    border: 3px solid rgb(78, 62, 132);
    border-radius: 10px;
    background-color: rgb(212, 203, 243);
    transition-duration: 300ms;

    box-sizing: border-box;

}

.mainCell:hover {
    background-color: rgb(146, 134, 189);
}

#classes {
    width: 100px;
}

#classes td {
    color: white;
    text-align: center;
    padding: 5px;
    border: 2px solid rgb(146, 134, 189);
    border-radius: 6px;
    border-collapse: collapse;
}

#classesTitle {
    color:rgb(78, 62, 132)
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    user-select: none;
}

.ttModalContent {
    background-color: rgb(212, 203, 243);
    margin: 15% auto;
    padding: 20px;
    border: 2px solid rgb(78, 62, 132);
    border-radius: 10px;
    width: 80%;
}

.ttModalContent input {
    user-select: all;
}

#ttModalTitle {
    font-size: 20px;
    font-weight: bold;
    color: rgb(78, 62, 132);
    line-height: 40px;
    user-select: none;
}

#ttModalClose {
    position: relative;
    bottom: 20px;
    color: rgb(78, 62, 132);
    float: right;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

#ttModalClose:hover, #ttModalClose:focus {
    color:rgb(146, 134, 189);
    text-decoration: none;
    cursor: pointer;
}

#ttModalClose:active {
    position: relative;
    bottom: 19px;
    left: 2px;
}

#ttPillMenu {
    padding-bottom: 20px;
}

.ttPillNav a {
    display: inline-block;
    color: rgb(78, 62, 132);
    text-align: center;
    padding: 15px;
    text-decoration: none;
    font-size: 17px;
    border-radius: 5px;
}

.ttPillNav a:hover {
    background-color: rgb(146, 134, 189);
    color: rgb(78, 62, 132);
}

.ttPillNav a.ttActivePill {
    background-color: rgb(78, 62, 132);
    color: rgb(146, 134, 189);
}

.ttSaveDay {
    color: rgb(78, 62, 132);
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.ttSaveDay:hover, .ttSaveDay:focus {
    color:rgb(146, 134, 189);
    text-decoration: none;
    cursor: pointer;
}

.ttSaveDay:active {
    position: relative;
    top: 1px;
    left: 2px;
}

.ttModalContent input {
    border-radius: 5px;
    padding: 5px;
    margin-top: 10px;
    border: 2px solid rgb(78, 62, 132);
}

#ttModalDesc {
    color: rgb(78, 62, 132);
    font-style: italic;
}