:root {
    --primary-color: #222831;
    --seondary-color: #393e46;
    --background-color: #eeeeee;
    --prepertary-color: #ff6633;
    --header-height: 76px;
    --max-width:1024px;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a:hover{
    color: var(--prepertary-color);
}

p, li{
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
}

h1{
    font-size: 28px;
    font-weight: 750;
}

h2{
    font-size: 16px;
    font-weight: 600;
}

/* body */
body{
    background-color: var(--background-color);
    color: var(--primary-color);
    width: 100%;
    margin: 0;
    display: block;
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-style: normal;
    text-align: justify;
}

/*header*/
#header{
    width: 100vw;
    height: var(--header-height);
    position: sticky;
    background-color: var(--primary-color);
    align-items: center;
    color: var(--background-color);
    top:0;
    z-index: 1000;

}

.header-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 12px;
    padding-top: 12px;
    margin-left: auto;
    margin-right: auto;
    max-width: var(--max-width);
    width: 100%;
    height: 100%;
}

.icon-container{
    width: 204px;
    height: 48px;
}

.icon-container > a >img{
    height: 100%;
}

#nav-bar{
    display: flex;
    flex-direction: row;
    list-style: none;
    top:0;
    padding-top: 12px;
    padding-bottom: 12px;
}

.nav-link{
    margin-left: 24px;
    font-weight: 600;
    text-decoration: none;
    color: var(--background-color);
}

.nav-link > a:hover{
    color: var(--prepertary-color);
}

/*main*/
#title{
    margin-bottom: 12px;
    letter-spacing: 1.5px;
}

main{
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: auto;
    width: 100%;
    max-width: var(--max-width);
}

section{
    margin-bottom: 48px;
}

#download{
    padding-bottom: 88px;
    padding-top: 100px;
    border-radius:0 0 7px 7px;
    display: grid;
    justify-content: center;
    text-align: center;
    height: 440px;
    row-gap: 0px;
    background-color: #E6E2D5;
    padding-left: 156px;
    padding-right: 156px;
}

th{
    background-color: var(--prepertary-color);
    font-size: 14px;
    height: 24px;
    color: var(--background-color);
}

td{
    background-color: #E6E2D5;
    font-size: 12px;
    height: 24px;
}

th:nth-child(1){
    text-align: center;
    width: 160px;
}

th:nth-child(2){
    text-align: center;
    width: 80px;
}

th:nth-child(3){
    text-align: center;
    width: 222px;
}

th:nth-child(4){
    text-align: center;
    width: 392px;
}

td:nth-child(1){
    text-align: center;
}

td:nth-child(2){
    text-align: center;
}

td:nth-child(3){
    text-align: center;
}

td:nth-child(4){
    padding-left: 12px;
    text-align: left;
}


.title-container{
    height: 48px;
    margin-top: 12px;
}


.version{
    margin-bottom: 24px;
}

#content{
    margin-left: 8px;
    font-size: 14px;
    padding-left: 8px;
}

/*footer*/
footer{
    max-width: var(--max-width);
    padding: 0;
    margin: auto;
    height: 96px;
    background-color: var(--primary-color);
    color:var(--background-color);
    border-radius: 5px 5px 0 0;
    color: var(--background-color);
}

.nav-footer{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    font-weight: 600;
    text-decoration: none;
    list-style: none;
    height: 100%;
    padding-top: 12px;
    padding-bottom: 12px;
    border-bottom: solid var(--background-color) 1px;
}

.footer-logo-container{
    display: flex;
    flex-direction: row;
    width: 96px;
    justify-content: space-around;
    padding-top: 4px;
    padding-bottom: 4px;
}

.logo-container{
    width: 18px;
    height: 18px;
    margin-right: 12px;
}

.logo-container > a > img{
    height: 100%;
}

.footer-link{
    height: 24px;
    color: var(--background-color); 
    text-decoration: none;
}

.footer-link > a{
    text-decoration: none;
    font-weight: 600;
    color: var(--background-color);
}

.footer-link > a:hover{
    text-decoration: none;
    font-weight: 600;
    color: var(--prepertary-color);
}

.copyright{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 12px;
    padding-bottom: 8px;
    font-size: 11px;
    align-items: center;
}

.copyright > div > h2{
    font-size: 14px;
    font-weight: 200;
}

@media only screen and (max-width: 1024px){

    :root{
        --max-width: 864px;
    }

    #download{
        padding-left: 64px;
        padding-right: 64px;
    }

    .nav-footer{
        flex-direction: row;
        justify-content: space-around;
    }
}

@media only screen and (max-width: 768px) {
    :root{
        --max-width: 694px;
    }

    .nav-footer{
        flex-direction: row;
        justify-content: space-around;
    }
}

@media only screen and (max-width: 480px) {
    :root{
        --max-width: 450px;
    }

    p, li{
        font-size: 12px;
    }

    td:nth-child(4){
        padding-left: 12px;
        text-align: left;
        padding-right: 12px;
    }

    .nav-link{
        margin-left: 14px;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        color: var(--background-color);
    }

    #download{
        padding-left: 24px;
        padding-right: 24px;
    }


    th:last-child{
        width: 152px;
    }

    .nav-footer{
        flex-direction: row;
        justify-content: space-around;
    }

    .footer-link{
        font-size: 14px;
    }
}

@media only screen and (max-width: 360px) {
    :root{
        --max-width: 320px;
        --header-height: 48px;
    }

    p, li{
        font-weight: 400;
        font-size: 11px;
        line-height: 1.5;
    }

    h1{
        font-size: 16px;
        font-weight: 750;  
    }

    h2{
        font-size: 14px;
        font-weight: 600;
    }
    .header-container{
        align-items: first baseline;
    }
    .icon-container{
        width: 120px;
        height: 16px;
    }

    .nav-link{
        margin-left: 14px;
        font-size: 12px;
        font-weight: 600;
        text-decoration: none;
        color: var(--background-color);
    }
    
    #nav-bar {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    #download > div > h1{
        font-size: 28px;
        font-weight: 700;
    }

    .nav-footer{
        padding-top: 16px;
        padding-bottom: 12px;
    }

    .nav-footer{
        flex-direction: row;
        justify-content: space-around;
    }

    .footer-link{
        font-size: 11px;
    }

    .copyright > div > h2{
        font-size: 10px;
        font-weight: 200;
    }

    .logo-container{
        width: 14px;
        height: 14px;
        margin-right: 2px;
    }
}