/* <weight>: Use a value from 200 to 1000
 <uniquifier>: Use a unique and descriptive class name */
body {
    font-family: 'Nunito Sans', sans-serif;
    margin: 0;
    padding: 0;
}

.nunito-sans {
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 250;
    font-style: normal;
    font-variation-settings:
        "wdth" 100,
        "YTLC" 500;
}

/* page headline */

#title {   
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 5px;
}

#title a img {
    height: 5rem;
}

#title span {
    /* code for span title styling */
    font-size: 1.5rem;
}

/* hamburger button */

.hamburger {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px 15px;
}

.hamburger span {
    background-color: #000000;
    position: absolute;
    height: 8px;
    width: 100%;
    left: 0;
    transition: all 0.3s ease;
    border-radius: 4px;
    transition: all 0.5s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 23px;
}

.hamburger span:nth-child(3) {
    top: 46px;
}

.hamburger.active span:nth-child(1) {
    top: 23px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 23px;
    transform: rotate(-45deg);
}

.main-nav {
    display: none;
}

.main-nav.active {
    display: block;
    height: 100%;
    width: 100%;
    background-color: #1b1b1b;
}

.main-nav a {
    display: block;
    color: white;
    text-decoration: none;
    border: 1px solid black;
    padding: 10px;
    font-size: 2rem;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.137);
}

/* main styling */

main {
    margin: 2% 2%;
}

h1 {
    margin: 2%;
}

section {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 0 0 15px 0;
    background-color: #bebebe;
}

h2 {
    display: flex;
    background-color: #1b1b1b;
    color: white;
    padding: 2%;
    max-width: 100%;
    margin: 2% 0% 0%;
    justify-content: center;
}

p {
    margin: 0;
    padding: 2%;
    background-color:#bebebe;
}

/* image section */
section img {
    max-width: 80%;
    max-height: 80%;
    align-self: center;
    margin: 5%;
    border-radius: 7px;
}

/* courses buttons */
.courses {
    background-color: rgba(0, 0, 0, 0);
}

.courses p {
    background-color: rgba(0, 0, 0, 0);
    align-self: center;
}

#courseButtons {
    background: rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    margin: 5px;
    gap: 5px;
}

#courseButtons button {
    width: 100%;
    padding: .75rem;
    font-weight: 900;
    border: 2px solid black;
    border-radius: 7px;

}

#courses {
    align-items: center;
    width: 100%;
    gap: 5px;
    background: rgba(0, 0, 0, 0);
}

.courseCard  {
    display: flex;
    border: 1px solid black;
    width: 100%;
    padding: 5px 0;
    background-color: #bebebe;
    justify-content: center;
}

/* footer */
.footer-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-icons a {
    display: inline-block;
    min-height: 50px;
    min-width: 50px;
}

.copywrite {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #bebebe;
    font-size: .75rem;
}

#lastModified {
    display: flex;
    justify-content: center;
    font-size: .75rem;
}