* {
    margin: 0;
    padding: 0;
}

html, body {
    background: rgb(218, 218, 218);
    font-family: Tahoma, 'Segoe UI', Geneva, Verdana, sans-serif;
}

/* header-desktop */
@media screen and (min-width: 900px) {
    #header {
        position: sticky;
        top: 0;
        z-index: 999;
        width: 100%;
        height: 11.5em;
        background-image: linear-gradient(rgb(212, 73, 73), rgb(255, 50, 50));
        border-bottom: solid rgb(212, 73, 73);
    }

    #header-inner {
        position: relative;
        width: 90%;
        height: 100%;
        margin: 0 auto;
    }

    #name {
        left: 0em;
        bottom: 0.7em;
    }

    #name h1 {
        font-size: 6em;
        font-weight: 450;
        color: whitesmoke;
    }

    #sites {
        margin: 0 auto;
        margin-top: 0.5em;
    }
    #sites ul {
        list-style-type: none;
    }

    #sites li {
        float: left;
    }

    #github a img {
        width: 2.2em;
        margin-right: 2em;
    }

    #linkedin a img {
        width: 2.2em;
        filter: invert(1);
        margin-right: 2.1em;
    }

    #email a img {
        width: 2.2em;
        filter: invert(1);
        margin-top: 0.15em;
    }

    #sites li a {
        display: inline-block;
    }

    #menu {
        float: right;
    }

    #menu ul {
        list-style: none;
    }
    #menu li {
        float: left;
    }

    #menu li a {
        display: block;
        background-color: cornsilk;
        text-decoration: none;
        font-size: 2em;
        font-weight: 300;
        color: rgb(82, 81, 81);
        border: solid 2px rgb(73, 73, 73);
        border-radius: 0.5em;
        padding: 0.25em;
        margin-left: 10px;
    }

    #menu li a.active {
        background-color:darkcyan;
        color: whitesmoke
    }
}

/* header-mobile */
@media screen and (max-width: 900px) {
    #header {
        position: sticky;
        top: 0;
        z-index: 999;
        width: 100%;
        background-image: linear-gradient(rgb(212, 73, 73), rgb(255, 50, 50));
        border-bottom: solid rgb(212, 73, 73);
    }
    
    #header-inner {
        width: 90%;
        height: 100%;
        margin: 0 auto;
        padding: 5px;
    }
    
    #name {
        position: relative;
    }
    
    #name h1 {
        font-size: 40px;
        font-weight: 450;
        color: whitesmoke;
    }

    #sites ul {
        list-style-type: none;
    }
    
    #sites li {
        float: left;
    }
    
    #github a img {
        width: 28px;
        margin-right: 20px;
    }
    
    #linkedin a img {
        width: 28px;
        filter: invert(1);
        margin-right: 20px;
    }
    
    #email a img {
        width: 28px;
        filter: invert(1);
    }
    
    #sites li a {
        display: inline-block;
    }
    
    #menu {
        display: inline-block;
    }
    #menu ul {
        list-style: none;
        width: 100%;
    }
    #menu li {
        float: left;
    }
    
    #menu li a {
        display: block;
        background-color: cornsilk;
        text-decoration: none;
        font-size: 15px;
        font-weight: 300;
        color: rgb(82, 81, 81);
        border: solid 1px rgb(73, 73, 73);
        border-radius: 0.5em;
        padding: 5px;
        margin: 5px;
    }
    
    #menu li a.active {
        background-color:darkcyan;
        color: whitesmoke
    }
}

/* main-desktop */
@media screen and (min-width: 900px) {
    #main {
        background: rgb(218, 218, 218);
    }
    
    #main-inner {
        position: relative;
        width: 90%;
        height: 100%;
        margin: 0 auto;
    }
    
    #main-inner h2 {
        font-size: 3em;
        font-weight: 450;
        color: rgb(196, 64, 64);
        padding-top: 0.5em;
        scroll-margin-top: 3.5em;
    }
    
    .main-content {
        border-top: 0.5em double rgb(230, 230, 230);
        padding-top: 3em;
        padding-bottom: 3em;
    }
    
    #kota-pic {
        max-width: 23em;
        height: auto;
        object-fit: cover;
        border: 0.3em solid rgb(212, 73, 73);
        border-radius: 12.5em;
        float: left;
        margin-right: 2em;
    }
    
    .main-content ul {
        list-style: none;
    }
    
    .main-content ul li {
        display: block;
        margin-bottom: 0.5em;
    }
    
    .logo {
        max-width: 2em;
    }
    
    .weblink {
        position: absolute;
        color: rgb(196, 64, 64);
        font-size: 1.5em;
        margin-left: 1em;
    }
    
    .main-list-element {
        border: 0.1em dotted rgb(151, 151, 151);
        padding: 0.7em;
        height: 200px;
    }
    
    .thumbnail {
        float: left;
        max-width: 15em;
        width: 380px;
        max-height: 100%;
        margin-right: 15px;
    }
    
    .description {
        padding: 0.6em;
        height: 100%;
        overflow: scroll;
    }
    
    .description a {
        color: rgb(196, 64, 64);
    }
    
    .description a h3 {
        font-weight: lighter;
        font-size: 2em;
    }
    
    .description p {
        color: rgb(53, 53, 53);
        font-size: 1.5em;
        line-height: 1.45em;
    }
    
    .description p a {
        text-decoration: none;
    }
    
    #quick-jump li {
        float: left;
        margin-right: 1.5em;
    }
    
    #quick-jump li a {
        font-size: 1.6em;
        text-decoration: none;
        color: rgb(53, 53, 53);
        border: 0.1em solid rgb(196, 64, 64);
        padding: 0.16em;
        background-color: cornsilk;
    }

    #main-text p{
        color: rgb(53, 53, 53);
        font-size: 1.5em;
        line-height: 1.45em;
        margin-bottom: 2em;
    }
    
    #main-text p a {
        color: rgb(196, 64, 64);
    }
}

/* main-mobile */
@media screen and (max-width: 900px) {
    #main {
        background: rgb(218, 218, 218);
    }
    
    #main-inner {
        position: relative;
        width: 95%;
        height: 100%;
        margin: 0 auto;
    }
    
    #main-inner h2 {
        font-size: 30px;
        font-weight: 400;
        color: rgb(196, 64, 64);
        scroll-margin-top: 165px;
        margin-top: 10px;
    }
    
    .main-content {
        border-top: 5px double rgb(230, 230, 230);
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    #kota-pic {
        display: block;
        width: 200px;
        object-fit: cover;
        border: 4px solid rgb(212, 73, 73);
        border-radius: 102px;
        margin: 0 auto;
    }
    
    #main-text p{
        color: rgb(53, 53, 53);
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    #main-text p a {
        color: rgb(196, 64, 64);
    }

    .main-content ul {
        list-style: none;
    }
    
    .main-content ul li {
        margin-bottom: 10px;
    }
    
    .logo {
        float: left;
        width: 20px;
    }
    
    .weblink {
        color: rgb(196, 64, 64);
        font-size: 20px;
        margin-left: 8px;
    }
    
    .main-list-element {
        border: 1px dotted rgb(151, 151, 151);
        padding: 5px;
    }
    
    .thumbnail {
        display: block;
        height: 150px;
        margin: 0 auto;
        border: 2px solid rgb(212, 73, 73);
    }
    
    .description {
        height: 150px;
        overflow: scroll;
    }
    
    .description a {
        color: rgb(196, 64, 64);
    }
    
    .description a h3 {
        font-weight: lighter;
        font-size: 20px;
    }
    
    .description p {
        color: rgb(53, 53, 53);
        font-size: 15px;
    }
    
    .description p a {
        text-decoration: none;
    }
    
    #quick-jump li {
        display: inline-block;
    }
    
    #quick-jump li a {
        font-size: 15px;
        text-decoration: none;
        color: rgb(53, 53, 53);
        border: 1px solid rgb(196, 64, 64);
        padding: 3px;
        background-color: cornsilk;
    }
}

/* footer-desktop */
@media screen and (min-width:900px) {
    #footer {
        width: 90%;
        margin: 0 auto;
        text-align: center;
        background: rgb(218, 218, 218);
        border-top: 0.6em double rgb(230, 230, 230);
        padding-top: 1em;
        padding-bottom: 1em;
    }
    
    #footer a {
        color: rgb(196, 64, 64);
        font-size: 1.2em;
    }
}

/* footer-mobile */
@media screen and (max-width:900px) {
    #footer {
        width: 90%;
        margin: 0 auto;
        text-align: center;
        background: rgb(218, 218, 218);
        border-top: 5px double rgb(230, 230, 230);
        padding: 5px;

    }
    
    #footer a {
        color: rgb(196, 64, 64);
        font-size: 17px;
    }
}