
:root {
    --box-width: 1000px;
    --box-min-height: 1000px;
    --padding-top-article: 2%;
    --outline-color: #0D0D0D;
    --box-tot-height: 1000px
}

@media (max-width: 1000px) {
    :root {
        --box-width: 90%;
    }   
}



html{
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-image: url("Assets/bg2.png");
    background-size: 85%;
    
    background-attachment: fixed;
    background-position: center;
    background-color: #4B2E19;
}

header {
    margin: auto;
    margin-top: 2.5%;
    border: 2px solid var(--outline-color);
    width: var(--box-width);
    background-image: url("Assets/Bookshelf.jpg");
    background-position: 55% 35%;
    background-size: 135%;
    border-bottom: 0px;
    min-height: 120px;
}

.navbar {
    border: 1px solid var(--outline-color);
    border-right: 2px solid var(--outline-color);
    border-left: 2px solid var(--outline-color);
    border-bottom: 0px;
    width:var(--box-width);
    margin:auto;
    padding-top: 10px;
    padding-bottom: 10px;
    background-image: url("Assets/Mitchell.jpg");
    background-position: 40%;
}

.navbar > a{
    border-right: 1px solid var(--outline-color);
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px;
    font-size: large;
    font-family: cursive;
    text-decoration: none;
    color: var(--outline-color);
}

.navbar > a.active {
    text-decoration: underline;
}

.navbar > a:hover {
    text-decoration: underline;
}

h1 {
    color: #0D0D0D;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.resources {
    margin-bottom: 5%;
}

.resources a {
    text-align: center;
    margin: auto;
    display: block;
    font-family: 'Courier New', Courier, monospace;
    
}

.sidebar {
    flex: 1;
    border: 2px solid var(--outline-color);
    border-left: 0px;
    border-bottom: 0px;
    border-top: 0px;
    color: white;
    min-width: 20%;
    background-color: #5B4636;
    padding-left: 15px;
    padding-right: 15px;
    
}

.sidebar > p {
    font-family: 'Courier New', Courier, monospace;
    font-size: small;
}

.sidebar a {
    text-decoration: underline;
    color: white;
    
    
}

.sidebar img {
    display: block;
    max-height: 800px;
    margin-bottom: 10%;
    transition: transform 0.3s ease;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
}

.sidebar img:hover {
    transform: scale(1.05);
}

.proof-banner {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: var(--box-width);
    height: 150px;
    border: 1px solid black;
    box-sizing: border-box;
    background: white;
    overflow: hidden;
    position: relative;
    color: black;
    font-family: Georgia, serif;
}

.proof-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    will-change: transform;
}

.proof-set {
    width: 100%;
}

.proof {
    padding: 20px 35px 30px;
    line-height: 1.7;
    box-sizing: border-box;
}

.proof h3 {
    text-align: center;
    margin: 0 0 15px;
}

.proof p {
    margin: 0 0 15px;
}

.proof-toggle {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;

    padding: 7px 12px;
    border: 1px solid #aaa;

    background: white;
    color: black;
    font-family: serif;
    cursor: pointer;

}

.proof-toggle:hover {
    background: #f2f2f2;
}

.proof-toggle:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

details {
    margin-bottom: 0.25rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
}


summary {
    cursor: pointer;
    padding: 0.5rem;
    font-weight: bold;
}

details a {
    display: block;
    padding: 0.4rem 0.4rem 0.4rem 1.5rem;
    text-decoration: none;
}

#content {
    display:flex;
    border: 2px solid var(--outline-color);
    border-bottom: 1px solid var(--outline-color);
    margin: auto;
    width: var(--box-width);
    min-height: var(--box-min-height);
    background-color: #ebd2bc;
}

article {
    color: var(--outline-color);
    padding-left: 5%;
    padding-right: 5%;
    padding-top: var(--padding-top-article);
    font-family: Georgia, 'Times New Roman', Times, serif;
    display: block;
    width: 83%;
}

article h1 {
    width: 100%;
    min-width: 100%;
    display: block;
}

.simulations {
    background-color: white; 
    border: 2px solid black;
    display: block;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    
}

#blog {
    color: white;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

#endnote {
    color: #0D0D0D;
    
    display: block;
    margin: auto;
    text-indent: none;
    background-color: #dabda3;
    border: 2px solid var(--outline-color);
    border-top: 1px solid var(--outline-color);
    width:var(--box-width);
}

#endnote p {
    font-size: x-small;
    padding-left: 3%;
    padding-right: 3%;
    font-family:serif;
}

#imgHeader {
    width: 30%;
    position: absolute; 
    bottom: 5px;
    margin-top: 0px;
    margin-left: 10px;
    background-color: #98d6ff;
    border-radius: 10px;
    padding: 2px;
    padding-left: 4px;
    padding-right: 4px;
}

#statistics {
    margin-top: 2%;
}

#splash_text {
    margin:auto;
    display: block;
    border: 1px solid #0D0D0D;
    background-color: yellow;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    width: fit-content;
    text-decoration: underline;
    margin-bottom: 6px;
    
}

#controls {
    width: auto;
    display: flex;
    margin-top: 5px;
}

#controls button {
    width: 250px;
    
}

#imgStandard {
    display: block;
    border-radius: 4px;
    border:  1px solid var(--outline-color);
    padding: 5px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

#emph {
    padding-left: 2%;
    padding-right: 2%;
    border: double var(--outline-color);
    background-color: wheat;
}

#emph img {
    display: block;
    border-radius: 4px;
    border:  1px solid black;
    padding: 2px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;

}

.pic {
    display: block;
    image-resolution: 2dppx;
}

.pic p {
    margin: auto;
    display: block;
    font-size: small;
    font-family: 'Courier New', Courier, monospace;
    color: var(--outline-color);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 1%;
}

#buttons {
    color: white;
    display: block;
    width:var(--box-width);
    margin:auto;
    margin-top: 5px;
    font-size: small;
    font-family: 'Courier New', Courier, monospace;
}

#footnote {
    color: black;
    display: block;
    width:var(--box-width);
    margin:auto;
    font-size: small;
    font-family: 'Courier New', Courier, monospace;
}

@media screen and (max-width: 800px) {
    :root {
        --box-width: 90%;
        --padding-top-article: 5%;
    }   

    .proof-banner {
        display: none;
    }
    
    html{
        height: 100vh;
        margin: 0;
        padding: 0;
        font-family: Arial, Helvetica, sans-serif;
        background-image: url("bg3.png");
        background-size: 85%;
        
        background-attachment: fixed;
        background-position: center;
        background-color: #4B2E19;
    }

    header {
        margin: auto;
        margin-top: 2.5%;
        border: 2px solid var(--outline-color);
        width: var(--box-width);
        background-image: url("Bookshelf.jpg");
        background-position: 55% 35%;
        background-size: 135%;
        border-bottom: 0px;
    }

    .navbar {
        border: 1px solid var(--outline-color);
        border-right: 2px solid var(--outline-color);
        border-left: 2px solid var(--outline-color);
        border-bottom: 0px;
        width:var(--box-width);
        margin:auto;
        padding-top: 10px;
        padding-bottom: 10px;
        background-image: url("Mitchell.jpg");
        background-position: 40%;
    }

    .navbar > a{
        border-right: 1px solid var(--outline-color);
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 10px;
        font-size: large;
        font-family: cursive;
        text-decoration: none;
        color: var(--outline-color);
    }

    .navbar > a.active {
        text-decoration: underline;
    }

    .navbar > a:hover {
        text-decoration: underline;
    }

    h1 {
        color: #0D0D0D;
        font-family: Georgia, 'Times New Roman', Times, serif;
    }

    .resources {
        margin-bottom: 5%;
    }

    .resources a {
        text-align: center;
        margin: auto;
        display: block;
        font-family: 'Courier New', Courier, monospace;
        
    }

    .sidebar {
        
        
        color: white;
        width: 89%;
        background-color: #5B4636;
        
        
    }

    .sidebar > p {
        font-family: 'Courier New', Courier, monospace;
        font-size: small;
    }

    .sidebar a {
        text-decoration: underline;
        color: white;
        
    }

    .sidebar img {
        display: block;
        max-height: 800px;
        margin-bottom: 10%;
        transition: transform 0.3s ease;
        width: 50%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 5px;
    }


    details {
        margin-bottom: 0.25rem;
        font-family: Georgia, 'Times New Roman', Times, serif;
    }


    summary {
        cursor: pointer;
        padding: 0.5rem;
        font-weight: bold;
    }

    details a {
        display: block;
        padding: 0.4rem 0.4rem 0.4rem 1.5rem;
        text-decoration: none;
    }

    #content {
        display:block;
        border: 2px solid var(--outline-color);
        border-bottom: 1px solid var(--outline-color);
        margin: auto;
        width: var(--box-width);
        min-height: var(--box-min-height);
        background-color: #d8bea8;
    }

    article {
        color: var(--outline-color);
        padding-left: 5%;
        padding-right: 5%;
        padding-top: var(--padding-top-article);
        font-family: Georgia, 'Times New Roman', Times, serif;
    }

    #blog {
        color: white;
        font-family: Georgia, 'Times New Roman', Times, serif;
    }

    #endnote {
        color: #0D0D0D;
        
        display: block;
        margin: auto;
        text-indent: none;
        background-color: #dabda3;
        border: 2px solid var(--outline-color);
        border-top: 1px solid var(--outline-color);
        width:var(--box-width);
    }

    #endnote p {
        font-size: x-small;
        padding-left: 3%;
        padding-right: 3%;
        font-family:serif;
    }

    #imgHeader {
        width: 80%;
        padding-top: 40px;
        padding-left: 10px;

    }

    #imgStandard {
        display: block;
        border-radius: 4px;
        border:  1px solid var(--outline-color);
        padding: 5px;
        width: 50%;
        margin-left: auto;
        margin-right: auto;
    }

    #emph {
        padding-left: 2%;
        padding-right: 2%;
        border: double var(--outline-color);
        background-color: wheat;
    }

    

    .pic {
        display: block;
        image-resolution: 2dppx;
    }

    .pic p {
        margin: auto;
        display: block;
        font-size: small;
        font-family: 'Courier New', Courier, monospace;
        color: var(--outline-color);
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        margin-top: 1%;
    }

    #buttons {
        color: white;
        display: block;
        width:var(--box-width);
        margin:auto;
        margin-top: 5px;
        font-size: small;
        font-family: 'Courier New', Courier, monospace;
    }

    #footnote {
        color: black;
        display: block;
        width:var(--box-width);
        margin:auto;
        font-size: small;
        font-family: 'Courier New', Courier, monospace;
    }
}
