@font-face {
    font-family: Googlesans;
    src: url(Fonts/GoogleSans-Regular.ttf);
}

* {
    font-family: Googlesans, "Google Sans", Roboto, Arial, sans-serif;
    font-weight: 400;
    color: #3c4043;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.maindev {
    height: 91vh;
    width: 100%;
    display: flex;
    justify-content: baseline;
}

.classtext {
    display: inline-block;
    color: #5f6368;
}

.classtext a {
    text-decoration: none;
}

nav {
    width: 100%;
    height: 64px;
    min-height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgb(218, 220, 224);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0 16px;
    gap: 16px;
}

.navleft {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.navright {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.classroomicon {
    height: 32px;
    width: 32px;
}

.avataricon {
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.material-symbols-outlined {
    font-size: 28px !important;
}

.mainsidebar {
    width: 256px;
    min-width: 256px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgb(218, 220, 224);
    background: #fff;
    height: calc(100vh - 64px);
    position: sticky;
    top: 64px;
    overflow-y: auto;
    padding: 8px 0 16px;
}

.firstsidebar {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px 12px 0;
    border-bottom: 1px solid rgb(218, 220, 224);
    flex-shrink: 0;
}

.Buttons, .Buttons2 {
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 40px;
}

.Buttons label, .Buttons2 label {
    margin-left: 16px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

button {
    min-height: 40px;
    width: 100%;
    outline: none;
    border: none;
    display: flex;
    align-items: center;
    background-color: transparent;
    border-radius: 0 24px 24px 0;
    padding: 0 12px 0 16px;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    flex-shrink: 0;
}

.Secondsidebar {
    min-height: 0;
    flex: 1;
    width: 100%;
    display: flex;
    box-sizing: border-box;
    flex-wrap: wrap;
    align-content: flex-start;
    border-bottom: solid 0.6px rgb(218, 220, 224);
    overflow-y: auto;
}

.green {
    background-color: green;
    border-radius: 50%;
    color: white;
    height: 32px;
    width: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
}

#arrow {
    position: absolute;
    left: -4px;
}

.thirdsidebar {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 12px 0 0;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}

.Homebutton {
    background-color: #4285f4 !important;
}

button:hover {
    background-color: rgb(218, 220, 224);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-left: -10px;
    padding-left: 16px;
}

button:focus {
    background-color: #959697ab;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-left: -10px;
    padding-left: 16px;
}

.classtext {
    text-decoration: none;
}

.classtext:hover {
    text-decoration: underline;
    color: #1e8e3e;
}

nav span:hover {
    background-color: rgb(218, 220, 224);
    border-radius: 50%;
    margin: -5px;
    padding: 5px;
}

.boxes span:hover {
    background-color: rgb(218, 220, 224);
    border-radius: 50%;
    margin: -5px;
    padding: 5px;
}

.topofbox span:hover {
    background-color: rgb(41, 41, 41);
    border-radius: 50%;
}

.avataricon:hover {
    background-color: rgb(218, 220, 224);
    border-radius: 50%;
    margin: -2px;
    padding: 2px;
}

.classroomicon:hover {
    background-color: rgb(218, 220, 224);
    border-radius: 50%;
    margin: -2px;
    padding: 2px;
}

.leftarea {
    height: calc(100vh - 64px);
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
    align-content: flex-start;
    gap: 0;
    background: #f8f9fa;
    padding: 24px;
}

.boxes {
    height: 300px;
    width: 300px;
    border: solid 0.6px rgb(218, 220, 224);
    display: flex;
    flex-direction: column;
    margin: 25px;
    border-radius: 15px;
}

.topofbox {
    height: 100px;
    width: 300px;
    background-color: green;
    text-align: start;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    position: relative;
}

.topofbox h1 {
    font-size: 22px;
    font-weight: 400;
    color: white;
    padding-left: 16px;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topofbox p {
    font-size: 13px;
    font-weight: 400;
    margin: 4px 0 0;
    color: white;
    opacity: 0.9;
    padding-left: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.centerofbox {
    height: 137px;
    width: 300px;
    position: relative;
}

.boximg {
    height: 75px;
    width: 75px;
    position: absolute;
    border-radius: 50%;
    right: 15px;
    top: -35px;
}

.bottomofbox {
    height: 57px;
    width: 300px;
    position: relative;
    border-top: solid 0.6px rgb(218, 220, 224);
}

#profile {
    position: absolute;
    right: 60px;
    top: 20px;
}

#folder {
    position: absolute;
    right: 20px;
    top: 20px;
}

#dots {
    position: absolute;
    right: 20px;
    top: 15px;
    color: white;
}

.boximg:hover {
    margin: -5px;
    background-color: #3c40432b;
    padding: 5px;
}