@font-face {
    font-family: un-bindumathi;
    src: url(../fonts/un-bindumathi.ttf);
}

@font-face {
    font-family: un-emanee;
    src: url(../fonts/un-emanee.ttf);
}

.main {
    height: 350px;
    min-height: 350px;
    margin-bottom: 2rem;
}

.page-header { padding-top: 3rem; }

.grade {
    width: 90%;
    margin: 0 auto;
    height: fit-content;
    padding: 0.5rem 0;
}

.grade-select {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    width: 100%;
    border-radius: 8px;
    background-color: rgba(69, 85, 101, 1);
    color: white;
    cursor: pointer;
}

.grade-select .fas { transition: .5s ease; }

.grade-select .grade-txt, .grade-select i {
    padding: 0 1rem;
}

.download-list {
    width: 100%;
    margin: 0 auto;
    gap:  2rem 3rem;
    margin:2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    visibility: hidden;
    transition: .5s ease;
    transform: scale(0);
    transform-origin: left;
}

@media screen and (max-width:576px) {
    .download-list {
        grid-template-columns: 100%;
        justify-items: center;
        transform-origin: top center;
    }
}

.user {
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 90%;
    padding: 1.5rem;
    font-size: 0.9rem;
    border-radius: 8px;
    -webkit-box-shadow: 0px 0px 8px -1px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 8px -1px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 8px -1px rgba(0,0,0,0.25);
}

@media screen and (max-width:576px) {
    .user {
        width: 80%;
    }
}

.details span {
    display: block;
    font-size: 0.9rem;
}

.avatar {
    background-color: #ebebeb;
    height: 1rem;
    width: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem;
    border-radius: 100%;
    font-size: 1.8rem;
}

.edit {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.edit-btn {
    background-color: #247CFF;
    color: white;
    border-radius: 6px;
    padding: 0.2rem 1rem;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    transition: background-color 0.4s ease;
    text-decoration: none;
}

.edit-btn:hover {
    background-color: rgba(29, 95, 193, 1);
}

footer {
    margin-top: 2rem;
}

/* admissions */

.c-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.admission {
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 80%;
    padding: 1.5rem;
    font-size: 0.9rem;
    border-radius: 8px;
    -webkit-box-shadow: 0px 0px 8px -1px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 8px -1px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 8px -1px rgba(0,0,0,0.25);
}

.admission * {
    font-family: un-emanee;
}

.admission--header {
    font-size: 2.2rem;
    text-align: center;
}

.line {
    width: 100%;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.178);
}

.admission--subheader {
    font-size: 1.5rem;
    font-weight: 100;
}

.admission--content{
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.content--sh {
    font-size: 1.5rem;
    font-family: un-bindumathi;
    font-weight: 500;
    text-decoration: underline;
}

.content--subclass {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.sh--content, .sh--content dl dt, .sh--content dl dd, .sh--content ol li{
    font-size: 1.2rem;
    font-family: un-bindumathi;
}

.sh--content ol {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

@media screen and (max-width:768px) {
    /* .admission { width: 70%; } */
}