@import "animations.css";

html{
    margin: 0px;
    padding: 0px;
    cursor: default;
    user-select: none;
}

body{
    font-family: 'Roboto', sans-serif;
    display: flex;
    width: 100vw;
    height: auto;
    overflow-x: hidden;
    overflow-y: scroll;
    margin: 0px;
    padding: 0px;
    background: #fff;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    padding-top: 48px;
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.5s;
    -webkit-animation: fadeIn 0.5s forwards;
    -webkit-animation-delay: 0.5s;
    line-height: 1.3;
}

p{
    color: #808080;
    font-size: 16px;
    font-weight: 300;
    margin: 0px;
    margin-bottom: 8px;
}

p strong{
    font-weight: 300;
    color: #000;
}

h1{
    color: #000;
    font-size: 35px;
    font-weight: 300;
}

h2{
    color: #000;
    font-size: 30px;
    font-weight: 300;
}

a{
    text-decoration: underline;
    color: inherit;
    cursor: pointer;
    color: #000;
    font-weight: 300;
    outline: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;
}

/*a::before{
    content: "[";
}

a::after{
    content: "]";
}

a:hover{
    color: #000;
}

a:hover::before{
    opacity: 0.0;
}

a:hover::after{
    opacity: 0.0;
}*/

#theme_toggle{
    display: flex;
    position: absolute;
    width: 56px;
    height: 56px;
    left: 0px;
    top: 0px;
    justify-content: center;
    align-content: center;
    align-items: center;
    fill: #808080;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;
}

ul{
    font-size: 16px;
    font-weight: 300;
    color: #808080;
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

ul li{
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 16px;
}

ul li::before{
    display: inline-block;
    content: "\00af";
    transform: translate(-16px, 4px);
    width: 0px;
    overflow: visible;
}

#title{
    content: url(../img/title_dark.png);
    max-width: 573px;
    margin: 0px;
    padding: 0px;
    margin-top: 0px;
    margin-bottom: 8px;
}

@media (max-width: 768px){
    #title{
        height: auto;
        width: 90%;
    }
}

@media (max-width: 480px){
    #title{
        height: auto;
        width: 95%;
    }
}

@media (max-width: 400px){
    #title{
        content: url(../img/logo_dark.png);
        height: 96px;
        width: auto;
        margin-top: -36px;
        margin-bottom: 0px;
    }
}

#selection{
    margin: 0px;
    padding: 0px;
    width: 100%;
    max-width: 540px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 16px;
}

@media (max-width: 768px){
    #selection{
        width: 85%;
    }
}
    
@media (max-width: 480px){
    #selection{
        width: 90%;
    }
}

#selection a{
    opacity: 0.5;
}

#selection a.active{
    opacity: 1.0;
    text-decoration: none;
}

/*#selection .active::before{
    visibility: hidden;
}
#selection .active::after{
    visibility: hidden;
}*/

#content{
    max-width: 540px;
    width: 100%;
    margin: 0px;
    padding: 0px;
    height: auto;
}

@media (max-width: 768px){
    #content{
        width: 85%;
    }
}
    
@media (max-width: 480px){
    #content{
        width: 90%;
    }
}

.work-item{
    margin: 0px;
    padding: 0px;
    padding-top: 24px;
}
.work-item:first-of-type{
    padding-top: 0px;
}

.item-image{
    display: flex;
    width: 100%;
    max-height: 128px;
    overflow: hidden;
    margin-bottom: 8px;
    border-radius: 4px;
    align-items: center;
    align-content: center;
    justify-content: center;
}

.item-image img{
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    flex: none;
}

#footer{
    left: 0;
    bottom: 0;
    width: 100vw;
    margin: 0px;
    padding: 0px;
    padding-top: 24px;
    padding-bottom: 24px;
    text-align: center;
    color: #808080;
    z-index: -1;
}