#produces-container {
    width: 70vw;
}
#produces-container-top{
    
    margin-top: 40vh;
    margin-left: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#produces-container-top-left{
    display: flex;
}
.close{
    position: relative;
    z-index: 5;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background-color: #FF0000;
}
.close:hover {
    color: #FF0000;
    animation: blink0 1.8s;
    animation-iteration-count: infinite;
  }
#produces-container-mid{
    min-height: 80vh;
    border: 1px solid #5F5F5F;
}
#contents-container{
    display: flex;
    flex-direction: row;
    padding: 8px;
}
#contents-text{
    color: aliceblue;
    padding: 20px;
    flex-basis: 1;
    width: calc(100% - 40px);
    min-height: calc(100vh - 110px);
    margin-bottom: 100px;
    overflow-x: hidden;
    z-index: 20;
    animation: shrink 0.5s;

}
#contents-text:hover{
}
#contents-img{
    margin-left: 30px;
    padding-right: 2px;
    flex-basis: 1;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    z-index: 20;
    animation: shrink 0.5s;
}
#contents-img:hover{
    width: 150%;
    animation: grow 0.5s;
}
@keyframes grow {
    0%{
        width: 100%;
    }
    100%{
        width: 150%;
    }
}
@keyframes shrink {
    0%{
        width: 150%;
    }
    100%{
        width: 100%;
    }
}

.text-cards{
    width: 100%;
    /* border: 1px solid #5F5F5F; */
    z-index: 5;
    margin-bottom: 25px;
}
p{
    hyphens: auto;
    margin-top: 5px;
    color: #999999;
}
.img-cards{
    margin: 0;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 480px;
    justify-content: center;
    align-items: center;
    border-radius: 1.5px;
    cursor: pointer;
    background-color: rgb(255, 255, 255);
}
#full-size-image{
    margin: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: calc(100vh + 70px);
    margin-top: calc(100vh - 70px);
}
.img-cards img {
    margin: 0;
    padding: 0;
    max-width: 100%;
    max-height: 75%;
  }
  .img-cards video {
    min-width: 0;
    max-height: 90%;
    margin-bottom: -80px;
  }
  h5{
    font-family: "Figtree", sans-serif;
    color: #4c4c4c;
    font-weight: 500;
    font-size: 0.7em;
    margin: 5px;
  }
  
  h2 {
    font-family: "Figtree", sans-serif;
    font-weight: 500;
    font-size: 1.4em;
    margin-top: 20px;
  }
  #closeimg {
        background-color: #10070775;
    border-radius: 5px;
    padding: 2px;
    animation-name: rotateRight;
    animation-duration: 2.5s;
  }
  #closeimg:hover {
    animation-name: rotateBlink;
    cursor: pointer;
    animation-duration: 2.5s;
    animation-iteration-count: infinite;
  }
  @media only screen and (max-width: 850px) {
    .img-cards{
        width: 100%;
        height: 300px;
    }
    
}
@media only screen and (max-width: 550px) {
    #produces-container {
        width: calc(100vw - 55px);
        margin-left: 50px;
    }
    #contents-text{
        color: aliceblue;
        padding: 5px;
        width: 100%;
    }
}

