/* 
Color Palette: https://coolors.co/424b54-93a8ac-ffffff-e2b4bd-9b6a6c
Charcoal:   #424B54
Cadet grey: #93a8ac
White:      #FFFFFF
Orchid pink: #E2B4BD
Rose Taupe: #9B6A6c
*/

html,
body {
    min-height: 100%;
    margin: 0;
    font-family: Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;
    background-color: #93A8AC;
    font-size: 14px;
}

p {
    line-height: 2;
}

section h1 {
    /* font-size: 1.5em; */
    font-size: 21px;
}

section h2 {
    /* font-size: 1.17em; */
    font-size: 16px;
}

.navbar {
    margin: 0px;
    padding: 16px 5% 0;
    position: sticky;
    top: 0;
    z-index: 3;
}

table caption {
    caption-side: bottom;
}

.bg {
    filter: blur(5px) brightness(70%);
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    z-index: 1;
}

.welcome {
    height: 100vh;
    color: white;
    background-image: url('img/campus.jpg');
    background-size: cover;
    background-clip: inherit;
    animation: fadeInWelcome 1s;
}

.layer {
    background-color: #424B54;
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

.welcome-content {
    opacity: 1;
}

.center-div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shadow {
    box-shadow: 0 0 10px #222
}

/* basic button*/

.btn {
    border: 0;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 16px;
    box-shadow: 0 0 5px #222;
    background-color: lightskyblue;
    font-family: Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;
    font-weight: bold;
    opacity: 1;
    color: #0c0c0c;
    text-decoration: none;
    display: block;
    font-size: 1rem;
    transition: background-color .5s;
}

.btn:hover {
    background-color: #93A8AC;
    color: #424B54;
}

.btn:active {
    box-shadow: 5px 5px 20px #222;
}

.a {
    /* text-decoration: none; */
    color: lightblue;
}

.nav {
    margin: 0px;
    padding: 0px;
    background-color: #424B54;
    color: lightblue;
    min-height: 56px;
    display: grid;
    grid-template-columns: 35% auto auto auto auto auto;
    list-style: none;
    border-radius: 32px;
    box-shadow: 0 0 5px gray;
}

.nav li {
    margin: 16px;
    animation: fadeIn 1s;
}

.nav a {
    color: lightblue;
    text-decoration: none;
    padding: 10px;
    font-size: 16px;
}

.nav a:hover {
    text-decoration: underline;
}

.nav-icon {
    height: 1em;
    margin: 0 8px;
    position: relative;
    top: 2px;
}

.icon-white {
    filter: invert(100%) sepia(7%) saturate(0%) hue-rotate(152deg) brightness(108%) contrast(108%);
}

.content {
    display: grid;
    grid-template-columns: 25% auto auto auto;
    margin: 32px 5%;
}

.content-left {
    background-color: white;
    opacity: 1;
    border-radius: 32px;
    margin: 0 16px 0 0;
    padding: 32px;
    box-shadow: 0 0 5px gray;
    height: fit-content;
    position: sticky;
    top: 100px;
    animation: fadeIn 1s;
    z-index: 2;
}

.content-right {
    background-color: white;
    opacity: 1;
    border-radius: 32px;
    margin: 0 0 0 16px;
    padding: 32px;
    grid-column: 2/5;
    box-shadow: 0 0 5px gray;
    animation: fadeIn 1s;
    z-index: 2;
}

.rounded-img {
    border-radius: 50%;
    width: 80%;
    box-shadow: 0 0 5px gray;
    border: 8px solid lightblue;
}

.course-table {
    border: 1px solid #0c0c0c;
    width: 100%;
    border-radius: 16px;
    text-align: center;
    line-height: 1.5;
}

.contact-form {
    width: 50%;
    font-weight: bold;
}

.contact-form section {
    width: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
}

.input {
    border-radius: 4px;
    border: 1px solid #424B54;
    margin: 8px 0;
    padding: 8px;
    width: 80%;
    font-family: Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;
}

.textarea {
    width: 100%;
    height: 10rem;
}

.code {
    background: #0c0c0c;
    color: white;
    border: 0;
    margin: 0;
    padding: 0;
}

.code-frame {
    border-radius: 16px;
}

.index-img {
    width: 20%;
    opacity: 1;
}

.social-icon {
    height: 1em;
    margin: 0 8px;
    position: relative;
    top: 2px;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeInWelcome {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}