@font-face {
    font-family: custom_font;
    src: url(fonts/5mm_clean.woff2);
}
@font-face {
    font-family: custom_font;
    src: url(fonts/felt_pen.woff2);
    font-weight: bold;
}

/* Mobile */
@media only screen and (max-width: 820px) {
    .logo_img {
        width:130px;
        height:130px;
        margin-bottom: -5px;
        
        border: solid;
        border-radius: 10px;
        border-color: #a8a8a8;
        border-width: 1px;
    }

    .links {
        display: flex;
        flex-wrap: wrap;
        width: 130px;
    }

    .profile hr{
        display: none;
    }

    .profile {
        /* top: 18px; */
        display: flex;
        flex-direction: row;
    }

    .nav_links {
        margin-left: 15px;
    }

    body {
        display: flex;
        flex-direction: column;
        background-image: url('images/ui/red_texture.jpg');
        background-size: cover;
        background-attachment: fixed;
        background-color: #b63739;
        font-family: custom_font;
        font-size: large;
        margin: none;
    }

    .body_green {
        display: flex;
        flex-direction: column;
        background-image: url('images/ui/green_texture.jpg');
        background-size: cover;
        background-attachment: fixed;
        background-color: #1d8c4d;
        font-family: custom_font;
        font-size: large;
        margin: none;
    }

    .game {
        display: flex;
        flex-direction: column;
        background-color: #a8a8a8;
        
        border: solid;
        border-radius: 10px;
        border-color: #000000;
        border-width: 1px;
        margin-top: 10px;
        
        box-shadow: -2px 2px 10px 5px rgba(0, 0, 0, 0.25);
    }
    .lists {
        display: flex;
        flex-direction: column;
    }

    .gallery {
        height: 80%;
        width: 95%;
        background-color: #f5f5dc;
        background-image: url('images/ui/white_texture.jpg');
        background-size: cover;
    
        position: relative;
        margin:0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 20px;
        padding-bottom: 20px;
    
        border: solid;
        border-radius: 10px;
        border-color: #000000;
        border-width: 1px;
    }

    .gallery_title {
        margin-top:0px;
        margin-bottom: 10px;
        font-size: large;
        font-weight: bold;
        position: absolute;
        top:5%;
        left: 5%;
    }
    .arrow_left {
        position: absolute;
        bottom: 20px;
        left: 20px;
    }

    .arrow_right {
        position: absolute;
        bottom: 20px;
        right: 20px;
    }

    .gallery_button {
        /* width: 100px; */
        width: 15%;
        cursor: pointer;
    }

    .gallery_middle {
        height: 65%;
        width: 90%;
        display: flex; 
        flex-direction: column;
    }

    .daily_gallery_middle {
        height: 80%;
        width: 90%;
        display: flex; 
        flex-direction: column;
    }
}

/* Desktop */
@media only screen and (min-width: 820px) {
    .logo_img {
        width:160px;
        height:160px;
        margin-bottom: -5px;
        border: solid;
        border-radius: 10px;
        border-color: #a8a8a8;
        border-width: 1px;
    }

    .links {
        display: flex;
        flex-wrap: wrap;
        width: 160px;
        /* justify-content: space-between; */
    }

    .profile {
        position: sticky;
        top: 18px;
    }

    body {
        display: flex;
        flex-direction: row;
        background-image: url('images/ui/red_texture.jpg');
        background-size: cover;
        background-attachment: fixed;
        background-color: #b63739;
        font-family: custom_font;
        font-size: large;
    }

    .body_green {
        display: flex;
        flex-direction: row;
        background-image: url('images/ui/green_texture.jpg');
        background-size: cover;
        background-attachment: fixed;
        background-color: #1d8c4d;
        font-family: custom_font;
        font-size: large;
    }

    .game {
        display: flex;
        flex-direction: row;
        background-color: #a8a8a8;
        
        border: solid;
        border-radius: 10px;
        border-color: #000000;
        border-width: 1px;
        margin-top: 10px;
        
        box-shadow: -2px 2px 10px 5px rgba(0, 0, 0, 0.25);
    }

    .list_block {
        margin-right: 20px;
    }

    .lists {
        display: flex;
        flex-direction: row;
    }

    .music_horizontal {
        display: flex; 
        flex-direction: row; 
        justify-content: flex-start;
        align-items: flex-start;
    }

    .gallery {
        height: 95%;
        width: 60%;
        background-color: #f5f5dc;
        background-image: url('images/ui/white_texture.jpg');
        background-size: cover;
    
        position: relative;
        margin:0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    
        border: solid;
        border-radius: 10px;
        border-color: #000000;
        border-width: 1px;
    }

    .gallery_title {
        margin-top:0px;
        margin-bottom: 10px;
        font-size: x-large;
        font-weight: bold;
        position: absolute;
        top:5%;
        left:5%;
    }

    .arrow_left {
        padding-left: 15px;
        padding-right: 5px;
        margin-top: 35px;
    }

    .arrow_right {
        padding-left: 5px;
        padding-right: 15px;
        margin-top: 35px;
    }
    .gallery_button {
        width: 10%;
        cursor: pointer;
    }

    .gallery_middle {
        height: 80%;
        width: 100%;
        display: flex; 
        flex-direction: column;
        margin-top: 35px;
    }
    .daily_gallery_middle {
        height: 80%;
        width: 100%;
        display: flex; 
        flex-direction: column;
        margin-top: 35px;
    }
}

.game_thumbnail{
    width: 200px;
    margin: 10px;

    border: solid;
    border-radius: 10px;
    border-color: #3a3a3a;
    border-width: 1px;
    
    box-shadow: -2px 2px 10px 5px rgba(0, 0, 0, 0.15);
}

.game_thumbnail:hover {
    transform: scale(1.06);
}

.game_title {
    font-size: 24px;
    color: #000000;
    font-weight: bold
}

.game_title:hover {
    color: #d92d30
}

 ul {
    list-style: inside;
    padding-left: 10px;
}

.game_explanation {
    margin-top: 15px;
    margin-left: 10px;
    margin-right: 15px;
    height:100%;
}

h1 {
    margin: 0;
    /* margin-bottom: 0; */
}
h3 {
    margin: 0;
}

.social_icon {
    width:25px;
    height:25px;
    
    border: solid;
    border-radius: 3px;
    border-color: #e3e3e3;
    border-width: 1px;
}

.social_link {
    width:25px;
    height:25px;
    margin-right: 7px;
    margin-top: 5px;
}

.music_icon {
    width:20px;
    height:20px;
    margin-right:2px;
    margin-bottom:-5px;

    
    border: solid;
    border-radius: 3px;
    border-color: #e3e3e3;
    border-width: 1px;
}

.social_icon:hover {
    transform: scale(1.25);
    border-color: #a8a8a8;
}

.block {
    background-color: #f5f5dc;
    background-image: url('images/ui/white_texture.jpg');
    background-size: cover;

    margin: 10px;
    padding: 20px;
    box-shadow: -5px 5px 12px 8px rgba(0, 0, 0, 0.25);

    border: solid;
    border-radius: 3px;
    border-color: #000000;
    border-width: 1px;
    align-self: flex-start;
}

.explain_div {
    background-color: red;
}

.art_title {
    margin-top: 10px;
    font-size: 24px;
    color: #000000;
    font-weight: bold;
}

.art_subtitle {
    font-size: 20px;
    color: #000000;
    font-weight: bold;
}

.art_thumb_img {
    height: 180px;
    margin: 7px;

    border: solid;
    border-radius: 10px;
    border-color: #a8a8a8;
    border-width: 1px;
    
    box-shadow: -2px 2px 10px 5px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    user-select: none;
}

.daily_thumb_img {
    height: 146px;
    margin: 5px;

    border: solid;
    border-radius: 10px;
    border-color: #a8a8a8;
    border-width: 1px;
    
    box-shadow: -2px 2px 10px 5px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    user-select: none;
}

.daily_thumb_img:hover {
    transform: scale(1.12);
}

.pixel_thumb_img {
    height: 200px;
    margin: 5px;

    border: solid;
    border-radius: 5px;
    border-color: #a8a8a8;
    border-width: 1px;
    
    box-shadow: -2px 2px 10px 5px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    user-select: none;
}

.pixel_thumb_img:hover {
    transform: scale(1.07);
}

.art_thumb_img_small {
    height: 100px;
    margin: 7px;

    border: solid;
    border-radius: 10px;
    border-color: #a8a8a8;
    border-width: 1px;
    
    box-shadow: -2px 2px 10px 5px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    user-select: none;
}

.art_description {
    display: none;
}

.art_number {
    display: none;
}

.art_thumb_img:hover {
    transform: scale(1.12);
    /* scale: 1.1; */
}

.art_gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.submit_button {
    background-color: #b63739;
    font-family: custom_font;
    font-size: large;
    color: white;
    
    border-radius: 10px;
    border: 1px none #a8a8a8;
    padding: 5px;
    cursor: pointer;
    
    box-shadow: -2px 2px 10px 5px rgba(0, 0, 0, 0.15);
}

.submit_button:hover {
    transform: scale(1.06);
}

.gallery_container {
    width: 100%;
    height: 100%;
    position: fixed;
    top:0;
    bottom:0;
    right:0;
    left:0;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: hidden;
    display: none;
    justify-content: center;
    align-items: center;
}   

.gallery_image {
    height: auto;
    width: auto;
    min-height: 99%;
    max-height: 100%;
    
    min-width: 0%;
    max-width: 100%;
    
    object-fit: contain;

    filter: drop-shadow(3px 3px 12px rgba(0, 0, 0, 0.5));
    border-radius: 10px;
    user-select: none;
    align-self: center;
}

.gallery_description {
    margin-top: 14px;
    text-align: center;
    /* height: 19px; */
    overflow: visible;
}

.close {
    position: absolute;
    top:20px;
    right:20px;

    /* padding-left: 20px;
    padding-right: 20px; */
}

.gallery_button:hover {
    transform: scale(1.06);
}

.about_img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
}

.music_img {
    width: 200px;
    text-align: center;
    border-radius: 10px;
}

.music_img_big {
    max-width: 300px;
    width: 100%;
    text-align: center;
    border-radius: 10px;
}

.main_projects{
    display: flex;
    flex-direction: column;
}

.main_project {
    display: flex;
    flex-direction: row;
}

.main_proj_description {
    margin-left: 10px;
}

.pixel_art {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.nav_link a {
    text-decoration: none;
    font-size: 110%;
    /* font-weight: bold; */
}

.nav_link_small a {
    text-decoration: none;
    font-size: 80%;
    color: grey;
    /* font-weight: bold; */
}

.nav_link {
    line-height: 180%;
}

a:hover {
    color: #d92d30;
}


span.something b {
    display: none;
}

span.something i {
    display: none;
}