@font-face{
    font-family: "arialRounded";
    src:url(fonts/arialRounded.ttf) format('truetype');
    font-style: normal;
}

@font-face{
    font-family: "Courier";
    src:url(fonts/CourierPrime-Regular.ttf) format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face{
    font-family: "Courier";
    src:url(fonts/CourierPrime-Bold.ttf) format('truetype');
    font-weight: 900;
}

::-webkit-scrollbar{
    width:10px;
    height:10px;
}

::-webkit-scrollbar-track{
    background-color:hsl(30, 4%, 90%);
    border-radius:5px;
}

::-webkit-scrollbar-thumb{
    height:25px;
    background-color:hsl(30, 2%, 42%);
    border-radius:5px;
}

body{
    background-color: #000;
}

details{ width: fit-content; }

table{
    border-collapse: collapse;
    width: 100%;

    font-size: 14px;
}

td, th{
    border: 1px solid #ddd;
    text-align: left;
    padding: 5px;
    width: 35%;
    color: rgb(225, 0, 0);
}

th summary{
    width: fit-content;
    margin-bottom: 3px;
    user-select: none;
}

th summary:hover{
    cursor: pointer;
}

th hr{
    margin-bottom: 10px;
    height: 2px;
    border-width: 0;
    background-color: #e10000;
}

th li{
    padding-top: 1px;
}

th u{
    margin-top: 2px;
    margin-bottom: 2px;
}

th ul{
    margin-top: 3px;
    margin-bottom: 2px;
}

th:first-child{
    vertical-align: top;
}

th:nth-child(2){
    width: 65%;
    color: rgb(200, 0, 0);

    font-size: 13px;
}

.container{
    min-width: 450px;
    max-width: 1080px;

    margin: 15px auto;
    padding: 10px 20px;
}

.cool{
    background-color: rgb(255, 255, 84);
}

.current{
    background-color: rgb(51, 255, 85);
}

.footer{
    text-align: center;
    font-family: 'Courier';
    font-size: 12px;

    color: rgb(155, 0, 0);
}

.textbox{
    margin: 0 auto;
    padding: 14px 20px;
    margin-bottom:-2px;

    background-color:#000000;
    color: rgb(200, 0, 0);
    border:1.5px solid #fff;

    line-height:1;
    
    font-family: 'Courier';
}

.textbox summary:hover{
    cursor: pointer;
}

.last{
    padding-bottom: 25px;
}

.header{
    display: flex;
    flex-direction: row;

    height: 81px;

    user-select: none;
}

.textbox a{
    color: rgb(200, 0, 0);
    margin: 5px 0;
}

.textbox a:hover{
    color: #f00;
}

.textbox b{
    color: #f00;
}

.textbox p{
    font-size: 13px;
    margin: 5px;
}

.textbox h1{
    font-size: 16px;
    margin: 0;
    font-weight: normal;
}

.textbox h2{
    font-size: 16px;
    margin: 7px 0;
    font-weight: normal;
}

.textbox.noTop{
    border-top: none;
}

.sub{
    width:85%;
    padding: 7px 15px;
}

.align{
    text-align: center;
}

.vertAlign{
    display: flex;
    justify-content: center;
    align-items: center;
    
    margin-bottom: auto;
    margin-top: auto;
}

.flexRow{
    display: flex;
    flex-direction: row;
    justify-content:space-between;
}

/* for status */
.flexRow:first-child{ 
    justify-content: center;
}

.flexColumn{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section{
    margin: 0 auto;
    width: 170px;
}

.section:last-child{ width: 200px; }

.section p{ font-size: 13px; }

.section h1{
    font-size: 20px;
    font-weight: normal;
    
    margin: 5px 0;
}

.section img{ width: 125px; }

.spacer{
    width: 50px;
}

.logo{
    margin: auto 0;
}

.logo img{
    width:50px;
}

.logoWrapper{
    font-family: "arialRounded";
    color: #fff;

    width: 128px;
    margin-left: 15px;
}

.logoWrapper p{
    margin-top: -4px;
    margin-left: 74px;

    font-size: 14px;
}

.logoWrapper h1{
    margin-top: 18px;
    margin-bottom: 0;

    font-size: 32px;
}

.logoWrapper.one{
    display: flex;
    user-select: none;
}

.nav{
    min-width: 240px;
    text-align: center;

    right: 0;
    margin: auto;
    margin-right: 15px;
}

.nav a{
    margin: auto 8px;

    font-weight: normal;
    text-decoration-line: none;
    color: rgb(200, 0, 0);
}

.nav a:hover{
    font-family: "Courier";
    font-weight: bold;
    text-decoration-line: underline;
    color: #f00;
}

.projects{
    height: 63vw;
    overflow-y: scroll;
}

.projects p{
    margin: 2px 0;
}

.projects h1{
    font-size: 20px;
    font-weight: bold;
    text-decoration-line: underline;
    text-underline-offset: 5px;

    margin-top: 10px;
    margin-bottom: 5px;
}

.projects iframe, .projects img{
    width: 100%;
    height: 300px;
    margin-bottom: 50px;
    
    aspect-ratio: 16/9;
}



/* switches formatting for wider screens */
@media only screen and (min-width: 750px) {
    .content{
        display: table;
        border: 1px solid #ddd;
        padding: 15px 0;
    }

    .content > div{
        display: table-cell;
    }

    .footer{ 
        margin-top: 30px;
        width: 100%;
        height: 20px;
    }

    .last{ padding: 0; }

    .projects{
        /* i want this to match the left column but I have no clue how to do ts, leaving it as is idgaf */
        height: 515px;
        overflow-y: scroll;
    }

    .textbox.flexRow{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .flexColumn.left{
        width: 44%;
        margin-left: 1%;
        justify-content: flex-start;
    }

    .flexColumn.right{ width: 55%; }

    .right{ justify-content: flex-start; }

    .section:first-child{ 
        text-align: center;
        margin-bottom: 10px; 
    }

    .textbox.noBorder{ border: none; }

    .textbox.noTop{ padding: 7px 0px; }
}

/* changes profile formatting */
@media only screen and (min-width: 1050px){
    .textbox.flexRow{
        flex-direction: row;
        align-items: center;
    }

    .section{ text-align: left !important; }
}

/* changes header to fit smaller screens */
@media only screen and (max-width: 580px){
    .header{ flex-direction: column; }
    .nav{ width: 100%; }
    .logoWrapper.one{
        width: 100%;
        justify-content: center;
        
        margin: 0;
        margin-bottom: 5px;
    }
    .logoWrapper h1{ margin-top: 5px; }

    .textbox.flexRow{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

