/* GLOBAL RESET */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

/* GLOBAL COLORS */
body {
    color: rgba(0, 0, 0, 0.8);
}

a {
    color: rgb(05, 102, 204, 1);
}

a:hover {
    color: rgb(0, 51, 153, 1);
}

/* GLOBAL TYPOGRAPHY */
body {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

/* HEADER */

header {
    background-color: rgb(247, 212, 244);
    color: rgba(0, 0, 0, 0.8);
    padding: 1em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

header a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

header a:hover {
    color: rgba(255, 255, 255, 1);
}

/* LINK HOVER ANIMATION */


/* HEADER ANIMATION */

@keyframes fadeanddropIn {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

.hero h2 {
    animation: fadeanddropIn 3s ease-out forwards;
    opacity: 5;
}


/* SITE ID */

.site-id h1 {
    margin: 0;
}

/* SITE NAV */

.site-nav ul {
    font-family: 'BioRhyme', serif;
    font-size: 125%;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 1em 0;
    list-style: none;
}

.site-nav a {
    display: block;
    padding: 1em;
}

/* MAIN */

main {
    background: rgba (0, 0, 0, .05)
}

/* HERO SECTION */

header {
    position: absolute;
    width: 100%;
    background-color: transparent;
}

.hero {
    background-image: url("../img/suspensionbridge.jpg");
    background-position: center;
    background-size: cover;
    padding: 30em 1em 6em 1em;
    text-align: center;
}

.hero h2 {
    color: rgba(255, 255, 255, 0.6);
    font-family: "Audiowide", sans-serif;
    font-size: 6em;
    line-height: 1;
    text-transform: uppercase;
    margin: 0 auto;
}

.hero p {
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 1);
    max-width: 40em;
    margin: 1em auto;
}

/* COURSES SECTION */

.courses {
    background-color: rgb(0, 0, 0);
    padding: 6em 1em;
    display: grid;
    justify-content: center;
}

.courses ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.project li {
    list-style-image: url("../img/star.png");
}

.courses a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.courses a:hover {
    color: rgba(255, 255, 255, 1);
}

.courses h3 {
    color: rgb(255, 255, 255);
    text-align: center;
}

/* FOOTER */
footer {
    border-top: 1px solid rgba(0, 0, 0, 0. 5);
    padding: 1em;
    background: rgb(0, 0, 0);
}

footer a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

footer a:hover {
    color: rgb(255, 255, 255, 1);
}

/* LAYOUT */
.container {
    max-width: 1000px;
    margin: o auto;
}

section {
    padding: 3em 1em;
}

/* COURSEWORK */
.coursework {
    background-color: black;
    color: white;
}

.coursework li {
    color: rgba(255, 148, 223, 0.74);
}

.coursework a {
    color: rgba(255, 215, 250, 0.87);
    text-decoration: none;
}

.coursework a:hover {
    color: rgb(255, 255, 255);
}

/* NOTES STYLING */

.page-sub {
    background-color: black;
    color: white;
}

.page-sub a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
}

.page-sub a:hover {
    color: rgb(255, 255, 255, 1);
}

/*  SIDEBAR/ASIDE */
aside {
    padding: 2em 0;
}

@media (min-width: 768px) {
    .two-col-sidebar {
        display: grid;
        grid-template-columns: 20em auto;

    }

    .two-col-sidebar aside {
        border-right: 1px solid rgba(255, 255, 255, 0.575);
        margin: 0 3em 2em 0;
        padding: .3em 2em 0 0;
    }
}

/* SOCIAL NAV */
.social-nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    list-style: none;
}

.social-nav a {
    display: block;
    padding: 1em;
}

/*  STYLING FOR SUB PAGES */
.page-sub .hero {
    background-color: rgb(247, 212, 244);
    color: rgba(255, 255, 255, 0.8);
}

/* COURSE WORK SECTION */
.coursework {
    padding: 6em 1em;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.project {
    margin: 2em;
}

/* SCROLLBAR */

::-webkit-scrollbar {
    width: 0px;
}



/* FOR DEV PURPOSES */
/* body * {
    background-color: rgba(0,0,0,.05) !important;
    border: 1px solid rgba(0,0,0,.1) !important;
    color: rgba(0,0,0,.5) !important;
} */