html {
    height: 100vh;
    cursor: url(cursors/Red.cur), auto;
}

body {
    background-color: rgb(50, 50, 50);
}

img {
    background-color: #7BA5D5;
}

.main-container {
    margin: 10px;
    margin-top: 0;
    padding: 10px;
    border: 1px solid red;
    border-top: none;
}

a {
    display: inline-block;
    border: 2px solid red;
    border-bottom: 4px solid black;
    border-right: 3px solid black;
    margin: 5px 5px;
    min-height: 240px;
    max-height: 240px;
    text-decoration: none;
    border-radius: 4px;
    background-color: #A0BEE1;
}

img {
    width: 150px;
    max-width: 150px;
    height: 120px;
    max-height: 120px;
    margin: 10px;
    padding: 10px;
    margin-bottom: 0;
    border: 1px dashed black;
}

figure {
    margin: 0;
    padding: 10px;
}

figcaption {
    margin: 0 10px 0 10px;
    word-break: break-word;
    text-align: center;
    width: 150px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

figcaption:hover {
    color: #A20005;
}

#page,
#current {
    text-align: center;
    min-height: 0;
    min-width: 230px;
    height: auto;
    padding: 6px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: larger;
    font-weight: bold;
    letter-spacing: 1px;
    color: #A20005;
}

#page:hover,
#current:hover {
    color: #2300FF;
}

a:hover {
    cursor: url(cursors/cursor.cur), auto;
}

#current {
    color: #112236;
}

#current:hover {
    color: #112236;
    cursor: url(cursors/Purple.cur), auto;
}

.links {
    display: inline-block;
    background-color: rgb(50, 50, 50);
    margin: 0 10px 0 10px;
    padding: 10px;
    border-bottom: 3px solid #b21212;
    border-right: 3px solid #b21212;
    border-radius: 0 0 10px 0;
    position: sticky;
    top: 0;
    left: 0;
}

hr {
    margin: 10px 0;
}


/* tnp_subjects.html css*/

pre {
    display: inline-block;
}

#h1-os,
#h1-cn,
#h1-dbms,
#h1-webtech,
#h1-automata,
#h1-apti,
#h1-cao,
#h1-sql,
#h1-cd,
#pprep {
    display: block;
    text-align: center;
    color: aqua;
    text-transform: uppercase;
    font-size: 20px;
    padding-top: 50px;
}

#h1-os {
    padding-top: 0;
    margin-top: 0;
}

.subject-link {
    display: block;
    position: sticky;
    top: 0px;
    font-size: 1rem;
    background-color: white;
    padding: 0 30px;
    border: none;
    border-radius: 0;
    margin: 0 60px;
    margin-top: 10px;
}

.page-sub {
    background-color: white;
    border: none;
    border: 1px solid red;
    text-align: center;
    text-shadow: 2px 2px 5px rgb(0, 0, 0, 0.6);
}

.sub-container {
    /* margin-top: 140px; */
    position: initial;
    top: 50px;
    z-index: 3;
    margin: 0 4vw;
    padding-top: 40px;
    /* opacity: 0.5; */
}

#btn-bottom {
    position: fixed;
    bottom: 10px;
    right: 10px;
    margin: 0 5px;
    padding: 0 5px;
    height: auto;
    min-height: auto;
    width: 30px;
    opacity: 0.7;
    background-color: white;
    font-size: 30px;
    color: red;
    text-align: center;
    border-radius: 50%;
    border-width: 6px;
}

@media (max-width: 900px) {
    .page-sub {
        /* display: inline; */
        font-size: 10px !important;
        background-color: rgb(200, 200, 200) !important;
        text-align: center;
        padding: 2px !important;
        margin: 2px !important;
        width: 100%;
    }
    .subject-link {
        /* height: 50px; */
        background-color: rgb(50, 50, 50);
        margin: auto;
        width: 80%;
    }
}