* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
    color: white;
}

body {
    display: flex;
    margin: 0;
    background-color: rgb(44, 44, 44);
}

/* ========== sidebar content ========== */

@keyframes fadein {
    0% {opacity: 0}
    100% {opacity: 100%}
}

.sidebar {
    width: 200px;
    height: 100%;
    background-color: darkred;
    padding: 20px;
}

.sidebar h2 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: left;
}

.sidebar a {
    display: block;
    color: white;
    padding: 10px;
    margin: 8px 0;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.sidebar a:hover {
    background-color: lightcoral;
}


@media (max-width: 700px) {
    body {
        flex-direction: row;
    }
}

@media (max-width: 500px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .sidebar h2 {
        margin-bottom: 12px;
    }

    .sidebar a {
        display: block;
        color: white;
        padding: 8px;
        margin: 0;
    }
}

/* ========== main body content ========== */

.wrapper {
    box-sizing: border-box;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    animation-name: fadein;
    animation-duration: 2s;
}

.resizable-img-a {
    max-width: 75%;
    max-height: 100%;
    display: block;
    margin: auto;
    padding: 10px;
}

.resizable-img-b {
    max-width: 40%;
    max-height: 100%;
    display: block;
    margin: auto;
}

.page-body {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
}

.main-content {
    padding: 20px;
}

h1 {
    color: orange;
    margin-bottom: 20px;
}

h2 {
    margin-bottom: 12px;
}

h3 {
    color: orange;
    margin-bottom: 12px;
}

.main-content p {
    line-height: 1.5;
}

.profile {
    text-align: center;
}

.footer {
    padding: 20px;
    text-align: left;
}

.pointing {
    width: fit-content;
    align-items: center;
    display: flex;
    flex-direction: row;
}

.pointed {
    text-align: center;
    align-self: center;
    padding: 10% 0 30% 0;
}

.pointed a {
    text-align: center;
    text-decoration: none;
    color: gold;
}

.center {
    width: 100%;
    height: 100%;
    padding: 50vh 0;
    text-align: center;
}

.center a {
    text-decoration: none;
    color: orange;
}

.bottom {
    width: 100%;
    position: absolute;
    text-align: center;
    bottom: 5vh
}

.bottom a {
    text-decoration: none;
    color: red;
}