@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap");
* {
    font-family: "Roboto", sans-serif;
    transition: background-color 0.3s ease-in-out;
}

.main {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.left {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 20px;
    padding: 50px 0px;
    width: 30%;
    border-radius: 15px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    position: sticky;
    top: 105px;
    height: calc(100vh - 120px);
    transition: top 0.3s ease-in-out;
}

.left .container {
    width: 90%;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.left .container .image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.left .container .image img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-color: black;
}

.left .container h1 {
    font-size: x-large;
    margin-bottom: 40px;
}

.left .container .down_button {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    background-color: #0a88e9;
    color: white;
    font-weight: bold;
    width: 80%;
    max-width: 180px;
    text-align: center;
    transition: background-color 0.3s ease-in-out;
}

.left .container .down_button:last-child {
    margin-bottom: 0;
}

.left .container .down_button:hover {
    background-color: #0866c7;
}

.left .container .down_button .icon {
    margin-right: 7px;
}

.right {
    display: flex;
    flex-direction: column;
    margin: 5px 20px 5px 0px;
    padding: 0px 0px;
    width: 70%;
    border-radius: 15px;
}

.right .screenshot,
.right .description {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    margin: 15px;
    padding: 20px;
    border-radius: 15px;
    position: relative;
}

.right .screenshot h1,
.right .description h1 {
    font-size: x-large;
}

.right .screenshot .scroll {
    border-radius: 40px;
    padding: 10px 0;
    height: 500px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
    display:flex
}
.right .screenshot .scroll div {
    display: block;
    width: fit-content;
    min-width: fit-content;
    height: 100%;
    border-radius: 15px;
    margin-right: 10px;
    overflow: hidden;
    transition: all ease 0.5s;
    background-image: url('../image_fullscreen.png');
    background-size:     cover;
    background-repeat:   no-repeat;
    background-position: center center;  
}

.screenshot .scroll::-webkit-scrollbar {
    height: 8px;
  }
  
  .screenshot .scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
  }
  
  .screenshot .scroll::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
  }
  
  .screenshot .scroll::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

  .screenshot .scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }


.right .screenshot .scroll div img {
    width: auto;
    height: 100%;
    filter: blur(15px);
    transition: all ease 0.5s;
}
.right .screenshot .scroll video {
    display: inline-block;
    width: auto;
    max-height: 100%;
    border-radius: 15px;
    margin: 0;
    margin-right: 10px;
    transition: all ease 0.5s;
}

.right .screenshot .scroll :last-child {
    margin-right: 0;
}

.right .screenshot .buttongroup {
    position: absolute;
    right: 20px;
    top: 10px;
}

.right .screenshot button {
    outline: none;
    border: none;
    height: 40px;
    width: 40px;
    padding: 0px;
    border-radius: 50%;
    font-size: large;
    font-weight: bold;
    background-color: #00000033;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    color: white;
    transition: background-color 0.3s ease-in-out;
    cursor: default;
}
.right .screenshot .scroll div:hover img {
    scale: 1.5;
    opacity: 0.1;
}
.right .screenshot .scroll video:hover {
    opacity: 0.3;
}
.right .screenshot button:hover {
    background-color: #00000077;
}

@media only screen and (max-width: 800px) {
    .main {
        flex-direction: column;
    }
    .left {
        height: auto;
        margin: 20px auto;
        width: 90%;
        position: static;
    }
    .right {
        margin: 20px auto;
        margin-top: 0px;
        width: 95%;
    }
    .right .screenshot .scroll {
        height: 200px;
    }
    .right .screenshot button {
        margin-top: 10px;
        height: 30px;
        width: 30px;
        font-size: medium;
    }
}

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 100000000;
    /* Sit on top */
    left: 0;
    top: 0;
    flex-direction: column;
    width: 100%;
    /* Full width */
    height: 100vh;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(43, 43, 43, 0.6);
    backdrop-filter: blur(15px);
    
    /* Black w/ opacity */
    align-items: center;
    justify-content: center;
    max-width: 100%;
    position: absolute;
    transition: all ease 0.5s;
}

.modalHeader {
    display: flex;
    justify-content: flex-end;
    padding-top: 95px;
    padding-right: 95px;
}

.modalBody {
    max-height: 90vh;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
}


/* Modal Content (Image) */

.modal-content-cust {
    
    border-radius: 40px;
    padding: 10px 0;
    height: 80vh;
    overflow-x: hidden;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
    flex-direction: row;
    align-items: center;
    /* justify-content: center; */
    /* align-content: center; */
    display:flex;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
}
.modal-content-cust div {
    display: inline-block;
    width: fit-content;
    min-width: fit-content;
    height: 60%;
    border-radius: 5vh;
    margin-right: 10px;
    overflow: hidden;
    transition: all ease-in-out 0.5s;
}
.modal-content-cust .focused {
    height: 100%;
}
.modal-content-cust .focused video {
    object-fit: contain;
}

.modal-content-cust div img {
    opacity: 0.5;
    width: auto;
    height: 100%;
}
.modal-content-cust .focused img {
    opacity: 1;
}
.modal-content-cust div video {
    opacity: 0.5;
}
.modal-content-cust .focused video {
    opacity: 1;
}


/* Caption of Modal Image (Image Text) - Same Width as the Image */

#caption {
    margin: auto;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: auto;
    display: none;
}


/* Add Animation - Zoom in the Modal */

.modal-content-cust,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}


/* The Close Button */

.close {
    z-index: 1000000000;
    position: absolute;
    top: 75px;
    right: 35px;
    color: #999 !important;
    font-size: 50px !important;
    font-weight: bold;
    transition: all ease 0.3s;
    padding-left: 10px;
    padding-right: 10px;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: default;
    background-color: rgba(255, 255, 255, 0.2);
}


/* 100% Image Width on Smaller Screens */

@media only screen and (max-width: 700px) {
    .modal-content-cust {
        width: 100%;
        flex-direction: column;
    }
    .modal-content-cust div {
        min-width: none;
        border-radius: 2px;
        width: 30%;
        max-width: 30%;
        max-height: 20vh;
        height: 20vh;
        min-height: 20vh;
        margin-bottom: 10px;
        transition: none;
    }

    .modal-content-cust .focused {
        height: 80vh;
        max-height: calc(80vh - 100px);
        min-height: fit-content;
        width: 100vw;
        max-width: 100%;
        transition: all ease-in-out 0.5s;
        transition: none;
    }
    
    .modal-content-cust .focused img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        object-fit: contain;
    }
    .modal-content-cust div img {
        max-width: 30vw;
        width: 30vw;
        height: 100%;
    }
    .modal-content-cust .focused video {
        max-width: 100vw;
        width: 100vw;
        height: 100%;
        object-fit: contain;
    }
    .modal-content-cust div video {
        max-width: 30vw;
        width: 30vw;
        height: 100%;
    }
}

