* {
    padding: 0;
    margin: 0;
}

body {
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #000000;
}

#canvas-container {
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

#inventory {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    bottom: 30px;
    left: 30px;
    z-index: 200;
    padding: 15px;
    border-radius: 50px;
}

.inventory-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    margin: 25px 0;
}

#inventory-button {
    cursor: pointer;
    margin-top: 10px;
}

#scene-title {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 20px;
    left: 20px;
    z-index: 200;
    padding: 5px 20px;
    border-radius: 5px;
    background-color: transparent;
    border: 2px solid white;
    color: white;
    font-style: italic;
    font-weight: 200;
}

#fullscreen-button {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 20px;
    right: 20px;
    z-index: 100;
    width: 40px;
    cursor: pointer;
}

#modal {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, 0);
    justify-content: center;
    align-items: center;
    z-index: 200;
    animation: fadein 0.5s;
}

#modal-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    width: 60%;
    min-height: 40%;
    max-height: 90%;
    border-radius: 10px;
    padding: 20px 40px;
    gap: 20px;
}

.modal-close-button {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
}

.modal-image-outer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border-radius: 15px;
}

.modal-image-inner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95px;
    height: 95px;
    border-radius: 15px;
    background-color: black;
    overflow: hidden;
}

.modal-info-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 15px;
}

.modal-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 40px;
    border: none;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.modal-view-inventory-link {
    display: none;
    cursor: pointer;
}

#dialog {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, 0);
    justify-content: center;
    align-items: center;
    z-index: 100;
}

#dialog-responder-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 300px;
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 20px;
    font-style: italic;
    font-weight: 200;
    font-size: 15px;
}

.arrow-left::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-right-color: rgba(0, 0, 0, 0.75);
    border-left: 0;
    border-bottom: 0;
    margin-top: -10px;
    margin-left: -20px;
}

.arrow-right::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.75);
    border-right: 0;
    border-bottom: 0;
    margin-top: -10px;
    margin-right: -20px;
}

#dialog-options-container {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 60%;
    padding: 20px;
    gap: 20px;
}

.dialog-option {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    width: 100%;
    max-width: 250px;
    border: none;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    padding: 10px;
    font-style: italic;
    font-weight: 200;
    font-size: 13px;
    gap: 10px;
}

.droppable-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 80px;
    max-width: 80px;
    height: 80px;
    border-radius: 15px;
    background-color: transparent;
    z-index: 200;
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    overflow: hidden;
}

.multiple-choice-check {
    width: 20px;
    height: 20px;
    position: absolute;
    z-index: 100;
    border-radius: 50%;
    font-weight: 700;
    top: -10px;
    right: -10px;
}

.check-yes {
    background: white;
    border: 2px solid #3DC388;
    color: #3DC388;
}

.check-no {
    background: white;
    border: 2px solid #FF5C5C;
    color: #FF5C5C;
}

@media only screen and (max-width: 768px) {
    #modal-container {
        width: 90%;
        padding: 20px 10px;
    }

    #inventory {
        bottom: 20px;
        left: 20px;
    }

    #dialog-options-container {
        width: 95%;
    }
}

@media only screen and (max-width: 480px) {
    #modal-container {
        width: 90%;
    }

    #inventory {
        bottom: 5px;
        left: 5px;
    }

    #origin-scene-button {
        bottom: 30px;
        right: 20px;
    }

    #dialog-options-container {
        width: 95%;
    }
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}