body {
    background-color: #262b33;
    padding: 0;
    margin: 0;
}

label {
    font-size: larger;
}

a {
    color: aquamarine;
}

a:hover {
    color: #2e74f5;
}

.login-container {
    display: flex;
    margin: 50px;
    width: 300px;
    height: 100px;
    justify-content: center;
    align-items: center;
    background-color: aquamarine;
}

.content-container {
    margin-left: 15vw;
    margin-right: 15vw;
}

.create-button {
    text-align: center;
    height: 80%;
    font-size: larger;
    background-color: #2e74f5;
    color: white;
    border: none;
    border-radius: .7rem;
    padding-left: 20px;
    padding-right: 20px;
    width: 90%;
    box-shadow: rgb(29, 29, 29) 2px 3px 2px;
}
.create-button:hover {
    background-color: #2f4bc5;
}

.submit-code-btn {
    text-align: center;
    height: 50px;
    font-size: larger;
    background-color: #2e74f5;
    color: white;
    border: none;
    border-radius: .7rem;
    width: 50%;
    box-shadow: darkgray 2px 3px 2px;
}
.submit-code-btn:hover {
    background-color: #2f4bc5;
}

.repl-box {
    background-color: black;
    color: white;
    font-size: 20px;
    height: inherit;
    padding: 20px;
}


.repl-response-container {
    background-color: black;
    color: white;
    border-radius: .3rem;
    padding-left: 20px;
    padding-right: 20px;
    /* width: 500px; */
    height: 210px;
    max-height: 210px;
    overflow-y: scroll;
    font-size: large;
    padding-bottom: 5px;
    margin: 4px;
}

.code-content-container {
    display: grid;
    background-color: #1b1f26;
    justify-content: center;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 10px;
    outline-width: 4px;
    outline-color: aquamarine;
    outline-style: solid;
    grid-column: 1/3;
}

.code-content-container-2 {
    display: grid;
    justify-content: center;
    grid-template-columns: 1fr 1fr .4fr;
    gap: 6px;
    /*! padding: 10px; */
    background-color: #1b1f26;
    /*! padding-right: 20px; */
    padding: 6px;
    /*! margin: 8px; */
}

.history-container {
    height: 100%;
    background: rgb(206,222,242);
    background: linear-gradient(to top, rgba(206,222,242,1) 0%, rgba(240,245,251,1) 10%, rgba(255,255,255,1) 90%, rgba(192,213,238,1) 100%); 
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.history-container h3 {
    display: flex;
    width: 100%;
    justify-content: center;
    background-color: aliceblue;
    border-radius: 0rem 0rem 0.5rem 0.5rem;
    padding: 20px 0px 20px 0px;
    margin: 0;
    box-shadow: gray 0px 4px 4px;
    font-size: xx-large;
}

.history-table {
    width: 50%;
    /* background-color: aliceblue; */
    font-size: larger;
    margin-top: 20px;
}

.history-table tr {
    /* background-color: aliceblue; */
}
.history-table tr :first-child {
    text-align: center;
    vertical-align: top;
}

.repl-interface-container {
    display: flex;
    flex-direction: column;
    background: rgb(206,222,242);
    background: linear-gradient(to top, rgba(206,222,242,1) 0%, rgba(240,245,251,1) 10%, rgba(255,255,255,1) 90%, rgba(192,213,238,1) 100%); 
    height: 60vh;
    justify-content: space-between;
}

.repl-form {
    display: flex;
    height: 100%;
    flex-direction: column;
    margin-bottom: 20px;
}

.submit-btn-container {
    display: flex;
    justify-content: center;
}

.table-of-contents-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1b1f26;
    position: sticky;
    top: 10vh;
    height: fit-content;
    /*! width: inherit; */
}

.table-of-contents-container h2{
    color: white;
    
}

.table-of-contents-container ul {
    width: 100%;
    margin: 0;
    /*! padding: 0; */
    /*! padding-left: 20px; */
    padding-bottom: 50px;
}

.table-of-contents-container ul li {
    list-style: none;
    margin-top: .75rem;
    font-size: larger;
}

.table-of-contents-container ul :first-child {
    list-style: none;
    /* margin-top: .75rem; */
    font-size: larger;
}

.table-of-contents-container ul li a {
    text-decoration: none;
    /* color: #2e74f5; */
}
.table-of-contents-container ul li a:hover{
    text-decoration: none;
    color: #2e74f5;
    /* color: #2f4bc5; */
}

.one {
    grid-column: 3;
    grid-row: 1;
}

.two {
    grid-column: 1 / 3;
    grid-row: 2;
}

.three {
    grid-column: 1 / 3;
}

.four {
    grid-column: 1 / 3;
    grid-row: 3;
}

.documentation-container {
    color: white;
    margin: 0px 10px 0px 10px;
    font-size: 18px;
}

.documentation-container h1 {
    text-decoration-line: underline;
    text-decoration-color: aquamarine;
    margin-top: 4rem;
}

.docs-code {
    width: fit-content;
    background-color: black;
    white-space-collapse: preserve-breaks;
    padding: 0px 20px 20px 20px;
    border-radius: .5rem;
}

.docs-code-small {
    width: fit-content;
    background-color: black;
    white-space-collapse: preserve-breaks;
    padding: 4px 10px 4px 10px;
    border-radius: .15rem;
}

.example-list > li {
    margin-top: 40px;
}

.top-nav {
    width: 100%;
    height: 8vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    /* border-bottom: 2px solid white; */
    box-shadow: aquamarine 0px -2px 10px;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 8px;
}

p {
    font-size: 18px;
}

.output-table tbody tr td:nth-child(2) {
    padding-left: 10px;
}

.output-table tbody tr td{
    vertical-align: top;
}

.countdown-timer {
    font-size: 48px;
    color: white;
}

.timer-container {
    margin-top: 10px;
    margin-left: 10px;
    padding-top: 10px;
}

.timer-label {
    font-size: xx-large;
    color:white;
}

/* IPAD WIDTH STYLES */
@media (max-width: 1250px) {
    body {
        background-color: #262b33;
        padding: 0;
        margin: 0;
    }
    
    label {
        font-size: larger;
    }
    
    a {
        color: aquamarine;
    }
    
    a:hover {
        color: #2e74f5;
    }
    
    .login-container {
        display: flex;
        margin: 50px;
        width: 300px;
        height: 100px;
        justify-content: center;
        align-items: center;
        background-color: aquamarine;
    }
    
    .content-container {
        margin-left: 0vw;
        margin-right: 0vw;
    }
    
    .create-button {
        text-align: center;
        height: 80%;
        font-size: larger;
        background-color: #2e74f5;
        color: white;
        border: none;
        border-radius: .7rem;
        padding-left: 20px;
        padding-right: 20px;
        width: 90%;
        box-shadow: rgb(29, 29, 29) 2px 3px 2px;
    }
    .create-button:hover {
        background-color: #2f4bc5;
    }
    
    .submit-code-btn {
        text-align: center;
        height: 50px;
        font-size: larger;
        background-color: #2e74f5;
        color: white;
        border: none;
        border-radius: .7rem;
        width: 50%;
        box-shadow: darkgray 2px 3px 2px;
    }
    .submit-code-btn:hover {
        background-color: #2f4bc5;
    }
    
    .repl-box {
        background-color: black;
        color: white;
        font-size: 20px;
        height: inherit;
        padding: 20px;
    }
    
    
    .repl-response-container {
        background-color: black;
        color: white;
        border-radius: .3rem;
        padding-left: 20px;
        padding-right: 20px;
        /* width: 500px; */
        height: 210px;
        max-height: 210px;
        overflow-y: scroll;
        font-size: large;
        padding-bottom: 5px;
        margin: 4px;
    }
    
    .code-content-container {
        display: grid;
        background-color: #1b1f26;
        justify-content: center;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
        outline-width: 4px;
        outline-color: aquamarine;
        outline-style: solid;
        grid-column: 1/3;
    }
    
    .code-content-container-2 {
        display: grid;
        justify-content: center;
        grid-template-columns: 1fr;
        gap: 6px;
        /*! padding: 10px; */
        background-color: #1b1f26;
        /*! padding-right: 20px; */
        padding: 6px;
        /*! margin: 8px; */
    }
    
    .history-container {
        height: 100%;
        background: rgb(206,222,242);
        background: linear-gradient(to top, rgba(206,222,242,1) 0%, rgba(240,245,251,1) 10%, rgba(255,255,255,1) 90%, rgba(192,213,238,1) 100%); 
        display: flex;
        flex-direction: column;
        margin-left: 0px;
        margin-bottom: 10px;
        max-height: 220px;
        overflow-y: scroll;
    }
    
    .history-container h3 {
        display: flex;
        width: 100%;
        justify-content: center;
        background-color: aliceblue;
        border-radius: 0rem 0rem 0.5rem 0.5rem;
        padding: 10px 0px 10px 0px;
        margin: 0;
        box-shadow: gray 0px 4px 4px;
        font-size: x-large;
        position: sticky;
        top: 0px;
    }
    
    .history-table {
        width: 50%;
        /* background-color: aliceblue; */
        font-size: larger;
        margin-top: 20px;
    }
    
    .history-table tr {
        /* background-color: aliceblue; */
    }
    .history-table tr :first-child {
        text-align: center;
        vertical-align: top;
    }
    
    .repl-interface-container {
        display: flex;
        flex-direction: column;
        background: rgb(206,222,242);
        background: linear-gradient(to top, rgba(206,222,242,1) 0%, rgba(240,245,251,1) 10%, rgba(255,255,255,1) 90%, rgba(192,213,238,1) 100%); 
        height: 60vh;
        justify-content: space-between;
    }
    
    .repl-form {
        display: flex;
        height: 100%;
        flex-direction: column;
        margin-bottom: 20px;
    }
    
    .submit-btn-container {
        display: flex;
        justify-content: center;
    }
    
    .table-of-contents-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #1b1f26;
        position: sticky;
        top: 10vh;
        height: fit-content;
        /*! width: inherit; */
    }
    
    .table-of-contents-container h2{
        color: white;
        
    }
    
    .table-of-contents-container ul {
        width: min-content;
        margin: 0;
        /*! padding: 0; */
        /*! padding-left: 20px; */
        padding-bottom: 50px;
        /* padding-left: 0; */
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .table-of-contents-container ul li {
        list-style: none;
        margin-top: .75rem;
        font-size: larger;
    }
    
    .table-of-contents-container ul :first-child {
        list-style: none;
        /* margin-top: .75rem; */
        font-size: larger;
    }
    
    .table-of-contents-container ul li a {
        text-decoration: none;
        /* color: #2e74f5; */
    }
    .table-of-contents-container ul li a:hover{
        text-decoration: none;
        color: #2e74f5;
        /* color: #2f4bc5; */
    }
    
    .one {
        grid-column: 3;
        grid-row: 1;
    }
    
    .two {
        grid-column: 1 / 3;
        grid-row: 2;
    }
    
    .three {
        grid-column: 1 / 3;
    }
    
    .four {
        grid-column: 1 / 3;
        grid-row: 3;
    }
    
    .documentation-container {
        color: white;
        margin: 0px 10px 0px 10px;
        font-size: 18px;
    }
    
    .documentation-container h1 {
        text-decoration-line: underline;
        text-decoration-color: aquamarine;
        margin-top: 4rem;
    }
    
    .docs-code {
        width: initial;
        background-color: black;
        white-space-collapse: preserve-breaks;
        /*! padding: 0px 20px 20px 20px; */
        border-radius: .5rem;
        overflow: scroll;
        /*! margin: 20px; */
        padding-bottom: 20px;
    }
    
    .docs-code-small {
        width: fit-content;
        background-color: black;
        white-space-collapse: preserve-breaks;
        padding: 4px 10px 4px 10px;
        border-radius: .15rem;
    }
    
    .example-list > li {
        margin-top: 40px;
    }
    
    .top-nav {
        width: 100%;
        height: 8vh;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        /* border-bottom: 2px solid white; */
        box-shadow: aquamarine 0px -2px 10px;
        font-size: 36px;
        font-weight: bold;
        margin-bottom: 8px;
    }
    
    p {
        font-size: 18px;
    }
    
    .output-table tbody tr td{
        vertical-align: top;
    }
    
    .countdown-timer {
        font-size: 48px;
        color: white;
    }
    
    .timer-container {
        margin-top: 10px;
        margin-left: 10px;
        padding-top: 10px;
    }
    
    .timer-label {
        font-size: xx-large;
        color:white;
    }
  }
  

  /* IPHONE WIDTH STYLES */
  @media (max-width: 800px) {
    .one {
        visibility: hidden;
        position: absolute
    };
    
    .top-nav {
        font-size: 20px;
    }

    .example-list {
        padding: 10px;
    }

    .code-content-container {
        display: grid;
        grid-template-rows: 2fr 1fr;
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 2px;
        margin: 2px;
        height: 100vh;
        overflow-x: hidden;
    }

    .repl-interface-container {
        grid-row: 1;
        height: auto;
        justify-content:unset;
    }

    .response-area-container label {
        margin-left: 20px;
    }

    .history-container {
        height: 100%;
        margin-bottom: 0px;
        grid-row: 2;
    }

    .repl-response-container {
        max-height: 150px;
    }

    .history-container {
        max-height: unset;
    }
    
    body {
        overflow-x: hidden;
    }

    .login-container {
        padding: 0px;
        margin: 0px;
        width: 100%;
    }

    .code-content-container-2 {
        width: 100%;
        margin: 0;
        padding: 0;
    }
  }