* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Book Antiqua, Helvetica, sans-serif;
    font-size: small;
    caret-color: transparent;
}

html{ 
    height: 100%;
}

body {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    height: 100%;
    background-color: #d9ecff73;
    color: #000000;
}

.header {
    display: inline;
    height: 48px;
    position: fixed;
    width: 100%;
    top: 0px;
    background-color: aliceblue;
    align-items: center;
}


.albums_btn{
    display: inline-block;
    background-image: url("/albums.png");
    background-size: 32px 32px;
    background-position: center;
    background-repeat: no-repeat;
    height: 48px;
    width: 48px;
    /* margin: 8px; */
    background-color: rgba(255, 255, 255, 0);
}

.albums_btn:hover{
    background-color: rgba(139, 139, 139, 0.274);
}

.upload_btn{
    display: inline-block;
    background-image: url("/upload.png");
    background-size: 32px 32px;
    background-position: center;
    background-repeat: no-repeat;
    height: 48px;
    width: 48px;
    /* margin: 8px; */
    background-color: rgba(255, 255, 255, 0);
}

.upload_btn:hover{
    background-color: rgba(139, 139, 139, 0.274);
}

.tag_search_btn{
    display: inline-block;
    background-image: url("/search.png");
    background-size: 32px 32px;
    background-position: center;
    background-repeat: no-repeat;
    height: 48px;
    width: 48px;
    background-color: rgba(255, 255, 255, 0);
}

.tag_search_btn:hover{
    background-color: rgba(139, 139, 139, 0.274);
}

.tag_search_text {
    display: inline-block;
    height: 32px;
    margin-top: 8px;
    margin-bottom: 8px;
    width: 0px;
    opacity: 0;
    overflow: hidden;
    /* animation: search_closing 0.4s linear; */
    border: 2px black solid;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0);
}

.tag_search_text:hover{
    background-color: rgba(139, 139, 139, 0.274);
}

.tag_search_text_opened{
    display: inline-block;
    height: 32px;
    margin-top: 8px;
    margin-bottom: 8px;
    /* width: 200px; */
    opacity: 1;
    overflow: hidden;
    animation: search_opening 0.4s linear;
    border: 2px black solid;
    border-radius: 4px;
}

.tag_search_text_closed {
    display: inline-block;
    height: 32px;
    margin-top: 8px;
    margin-bottom: 8px;
    width: 0px;
    opacity: 0;
    overflow: hidden;
    animation: search_closing 0.4s linear;
    border: 2px black solid;
    border-radius: 4px;
    /* visibility: hidden; */
}

@keyframes search_opening {
    from {
        width: 0px;
        opacity: 0.1;
    }
  
    to {
        width: 160px;
        opacity: 1;
    }
  }

  @keyframes search_closing {
    from {
        width: 160px;
        opacity: 1;
    }
  
    to {
        width: 0px;
        opacity: 0;
    }
  }


.tag_search_text > input {
    width: 152px;
    height: 32px;
    margin: 0px;
    caret-color: black;
    padding-left: 2px;
    border: 0px;
}

.tag_search_text_opened > input {
    width: 152px;
    height: 32px;
    margin: 0px;
    caret-color: black;
    padding-left: 2px;
    border: 0px;
}

.tag_search_text_closed > input {
    width: 152px;
    height: 32px;
    margin: 0px;
    caret-color: black;
    padding-left: 2px;
    border: 0px;
}

.login_header{
    display: inline-block;
    background-image: url("/user.png");
    background-size: 32px 32px;
    background-position: center;
    background-repeat: no-repeat;
    height: 48px;
    width: 48px;
    background-color: rgba(255, 255, 255, 0);
}

.login_header:hover{
    background-color: rgba(139, 139, 139, 0.274);
}


.flex-container {
    padding-top: 48px;
    /* min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100 - 100); */
    min-height: 90%;
    background-color: beige;
}

.flex-wrapper { 
    height: 100%;
    display: flex; 
    /* grid-template-columns:  30% 30% 30%; */
    /* grid-template-rows: repeat(2, 320px); */
    flex-wrap: wrap;
    /* background-color: beige; */
    justify-content: center;
    align-content: flex-start;
    align-items: center;
    text-align: center;
    gap: 1px;
    
}

.card {
    width: 130px;
    height: 130px;
    padding: 1px;
    margin: 0px;
}

.card > img{
    /* border-top-left-radius: 8px;
    border-top-right-radius: 8px; */
    border-radius: 4px;
    /* width: 120px;
    height: 120px; */
}

.card > canvas{
    /* border-top-left-radius: 8px;
    border-top-right-radius: 8px; */
    width: 130px;
    height: 130px;
    border-radius: 4px;
}

.flex-wrapper > div { 
    background-color: rgb(255, 255, 255);
    margin: auto;
    justify-content: center; 
    align-items: center; 
    text-align: center;
}

.flex-wrapper > div > img { 
    background-color: rgb(251, 255, 231);
    padding: 2px;
    margin: auto;
    justify-content: center; 
    align-items: center; 
    text-align: center;
    border: #000000e8 2px solid;
}

.flex-wrapper > div > img:hover { 
    border: #015e6ee8 2px solid;
}

.flex-wrapper > div > canvas {
    background-color: rgb(251, 255, 231);
    padding: 2px;
    margin: auto;
    justify-content: center; 
    align-items: center; 
    text-align: center;
    border: #000000e8 1px solid;
}

.global-container {
    width: 100%;
    min-width: 1000px;
    height: 100%;
    overflow: hidden;
    background-color: brown;
    color: #000000;
}

.fullscreen {
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(251, 255, 231, 0.95);
    left: 0px;
    top: 0px;
    visibility: hidden;
    text-align: center;
    overflow: hidden;
}
.fullscreen_visible {
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(251, 255, 231, 0.95);
    left: 0px;
    top: 0px;
    visibility: visible;
    text-align: center;
    overflow: hidden;
}

.photo {
    /*  */
    margin: auto;
}

#upload-container {
    width: 90%;
    height: 90%;
}

.photo_container{
    position: relative;
    display: inline-block;
}

.photo_container > img{
    background-color: rgba(255, 255, 255, 0.678);
    border: #000000e8 1px solid;
    padding: 9px;
}

.full_photo_container {
    /* display: flex; */
    display: block;
    justify-content:center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
    
}

.photo_info{
    /* margin-left: 10px; */
    display: inline-block;
    padding: 10px;
    background-color: white;
    overflow: auto;
}
.photo_info_data{
    padding: 4px;
}

.photo_footer{
    overflow: auto;
    height: 48px;
    padding: 2px;
}

.photo_footer >div {
    display: inline-block;
    padding: 8px;
}

.close_btn{
    font-size: 40px;
    color: red;
}

@media screen and (min-width: 320px){
    .global-container {
        min-width: 320px;
    }    
    .main-field-header{
        min-width: 320px;

    }
    .main-field-container{
        min-width: 320px;

    }
    .user-info-text{
        opacity: 0;
    }
    .user-info-container {
        max-width: 24px;
    }
    .main-header {
        padding-left: 2px;
    }
}

/* 
@media screen and (min-width: 480px){
    .global-container {
        min-width: 480px;
    }    
    .main-field-header{
        min-width: 480px;
    }
    .main-field-container{
        min-width: 480px;
    }
    .user-info-text{
        opacity: 0;
    }
    .user-info-container {
        max-width: 24px;
    }
    .main-header {
        padding-left: 2px;
    }
}

@media screen and (min-width: 768px){
    .global-container {
        min-width: 767px;
    }   
    .main-field-header{
        min-width: 767px;
    }
    .main-field-container{
        min-width: 767px;
    }
    .user-info-container {
        max-width: 178px;
    }
    .user-info-text{
        opacity: 1;
    }
    .main-header {
        padding-left: 64px;
    }
}


@media screen and (min-width: 992px){
    .global-container {
        min-width: 992px;
    }    
    .main-field-header{
        min-width: 992px;
    }
    .main-field-container{
        min-width: 992px;
    }
    .user-info-container {
        max-width: 178px;
    }
    .user-info-text{
        opacity: 1;
    }
    .main-header {
        padding-left: 64px;
    }
} */






