@font-face {
    font-family: "Fixsys";
    src: url("/lab/D3/assets/FSEX300.ttf");
}


* {
    box-sizing: border-box;
    font-family: "Fixsys"
}

body {
    background: url("assets/light_bg.png") repeat;
    margin: 0;
}

p {
    font-size: 1.2rem;
}

.header {
    display: flex;
    background-color: #fafafa;
    height: 35px;
    align-items: center;
    border-bottom: 3px solid black;
    z-index: 99;
    position: fixed;
    top: 0;
    width: 100%;
}


.button-nav-bottom {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: flex-end;
    margin-top: 2rem;
}

button.secondary {
    font-size: 1.4rem;
    cursor: pointer;
    border-radius: 4px;
    background-color: #fafafa;
    padding: 4px 10px;
    border: 2px solid Black;
    box-shadow: 0 0 0 1px white;
    margin-right: 1rem;
}

button.primary {
    font-size: 1.4rem;
    cursor: pointer;
    border-radius: 4px;
    background-color: #fafafa;
    padding: 4px 10px;
    border: 2px solid Black;
    box-shadow: 0 0 0 1px white, 0 0 0 4px black;
}

button.primary:hover,
button.secondary:hover {
    background-color: #000;
    color: white;
}


.container {
    max-width: 850px;
    margin: auto;
}

.card {
    position: relative;
    padding: 2rem 3rem;
    margin: 3rem 0rem;
    background: #fafafa;
    border: 3px solid black;
}

.card::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: -10;
    width: 100%;
    height: 100%;
    background: url("assets/dark_bg.png") repeat;
    background-attachment: scroll;
    background-attachment: fixed;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    font-size: 1.4rem;
    position: absolute;
    background-color: #fafafa;
    border: 3px solid black;
    min-width: 160px;
    width: max-content;
    z-index: 1;
}

.dropbtn {
    margin-right: 1rem;
    font-size: 24px;
    padding: 2px 4px;
    background-color: #fafafa;
    border: none;
}

.dropdown:first-child {
    margin-left: 1rem;
    margin-right: 0rem;
}

.dropdown:hover .dropbtn {
    background-color: black;
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content a:hover {
    background-color: black;
    color: white;
}

.dropdown-content a {
    color: black;
    padding: 8px 10px;
    text-decoration: none;
    display: block;
    width: 100%;
}

.modal-style-title {
    text-align: center;
    font-size: 1.5rem;
    padding: 1px 0;
    height: 31px;
    background: url("assets/stripe2_bg.png") repeat;
    border-bottom: 3px solid black;
}

.modal-style-title h4 {
    display: inline;
    margin: 0;
    padding: 2px 4px;
    background-color: white;
}

.modal-style {
    padding: 0;
}

.modal-style-content {
    padding: 0.5rem 3rem 2rem 3rem;
}

figure {
    text-align: center;
    margin: 2em 0;
}

figure img {
    outline: 2px solid black;
}

code {
    background: #1b1b1bd4;
    color: #fafafa;
    padding: 2px 0px;
    line-height: 125%;
}

p img.r {
float: right;
padding: 0px 0px 16px 16px;
}

p img.l {
    float: left;
    padding: 0px 16px 0px 16px;
}

.box {
    display: flex;
    align-items: flex-end;
}

.box .card {
    margin-right: 1rem;
    padding: 1rem 2rem;
}

.box .card.left {
    text-align: right;
    width: 20%;
}

.box .card.mid {
    width: 60%;
}


@media screen and (max-width: 900px) {
    .card {
        margin: 0;
        border: none;
        overflow: hidden;
    }

    .card::after {
        width: 0px;
        height: 0px;
    }

    .container {
        max-width: inherit;
    }

    img {
        max-width: 100%;
        max-height: 100%;
    }
}
