*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "Glacial Indifference";
    src: url("../../../ASSETS/FONTS/GlacialIndifference/GlacialIndifference-Regular.otf");
}

@font-face {
    font-family: "Brittany";
    src: url("../../../ASSETS/FONTS/Brittany/BrittanySignature.ttf");
}

html{
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

header{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

html.fade-out{
    opacity: 0;
}

.boxImageContent{
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    padding: 1rem;
    align-items: center;
    justify-content: left;
    opacity: 1;
}

.boxBackgroundImage{
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    z-index: -1;
}

.backgroundImage{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.3);
}

.boxImage{
    display: flex;
    width: 60%;
    height: auto;
    align-items: center;
    justify-content: center;
}

.boxImageInImage{
    width: 500px;
    height: 500px;
}

.image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.boxDescriptionImage{
    display: flex;
    width: 40%;
    height: 100%;
    align-items: left;
    justify-content: center;
    flex-direction: column;
}

.titleImage{
    width: 100%;
    text-align: left;
    font-size: 3rem;
    color: #fff;
    font-family: "Brittany";
}

.charactersImage{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    color: #fff;
    font-family: "Glacial Indifference";
    justify-content: space-between
}

.characterImage{
    width: 50%;
    display: inline-flex;
    font-size: 12px;
    margin-bottom: 1rem;
}

.descriptionImage{
    width: 80%;
    text-align: left;
    font-size: 15px;
    color: #fff;
    font-family: "Glacial Indifference";
}

.boxOption{
    display: flex;
    gap: 10px;
}

.option{
    margin-top: 2rem;
    display: flex;
    align-items: center;
    width: 30px;
    padding: 5px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.toastify{
    font-family: "Glacial Indifference";
}

.iconOption{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btnLeft{
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    font-size: 50px;
    transition-duration: .4s;
    background-color: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}

.btnRight{
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    font-size: 50px;
    transition-duration: .4s;
    background-color: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}

.btnBackGallery{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 1rem;
    right: 1rem;
    font-family: "Glacial Indifference";
    font-size: 20px;
    background-color: #fff;
    color: #000;
    padding: 10px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    z-index: 100;
}

@media (max-width: 1024px) and (min-height: 1366px) {
    .boxImageContent{
        flex-wrap: wrap;
        align-content: center;
        row-gap: 5rem;
    }

    .boxImage{
        width: 100%;
    }

    .boxImageInImage{
        width: 600px;
        height: 600px;
    }

    .boxDescriptionImage{
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        height: auto;
    }

    .titleImage{
        width: 90%;
        font-size: 60px;
        text-align: center;
    }

    .charactersImage{
        width: 90%;
    }

    .characterImage{
        font-size: 20px;
        text-align: center;
        justify-content: center;
    }

    .descriptionImage
    {
        width: 90%;
        font-size: 30px;
        text-align: center;
    }

    .option{
        width: 55px;
        height: 55px;
        padding: 10px;
    }

    .btnLeft, .btnRight{
        font-size: 70px;
    }
}


@media (max-width: 1024px) and (max-height: 600px) {

    .boxImage{
        width: 50%;
    }

    .boxDescriptionImage{
        width: 50%;
    }
    .boxImageInImage{
        width: 400px;
        height: 400px;
    }
    
}


@media (max-width: 912px) and (max-height: 1368px) {
    .btnBackGallery{
        font-size: 45px;
        align-items: center;
    }

    .boxImage{
        width: 100%;
    }

    .boxImageInImage{
        width: 500px;
        height: 500px;
    }
}


@media (max-width: 853px) and (max-height: 1280px) {
    .boxImageContent{
        flex-wrap: wrap;
        align-content: center;
        row-gap: 5rem;
    }

    .boxImage{
        width: 100%;
    }

    .boxImageInImage{
        width: 400px;
        height: 400px;
    }

    .boxDescriptionImage{
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        height: auto;
    }

    .titleImage{
        width: 90%;
        font-size: 50px;
        text-align: center;
    }

    .charactersImage{
        width: 90%;
    }

    .characterImage{
        font-size: 17px;
        text-align: center;
        justify-content: center;
    }

    .descriptionImage
    {
        width: 90%;
        font-size: 30px;
        text-align: center;
    }

    .option{
        width: 55px;
        height: 55px;
        padding: 10px;
    }

    .btnLeft, .btnRight{
        font-size: 70px;
    }
}

@media (max-width: 820px) {
    .btnBackGallery{
        font-size: 40px;
        align-items: center;
    }

    .boxImageContent{
        row-gap: 3rem;
    }
}

@media (max-width: 768px) {
    .btnBackGallery{
        font-size: 35px;
        align-items: center;
    }

    .characterImage{
        font-size: 15px;
    }

    .descriptionImage{
        font-size: 20px;
    }

    .option{
        width: 45px;
        height: 45px;
        padding: 8px;
    }
}

@media (max-width: 540px) {

    .boxImageContent{
        align-content: flex-start;
    }

    .boxImage{
        margin-top: 4rem;
    }
    .boxImageInImage{
        width: 300px;
        height: 300px;
    }

    .btnBackGallery{
        font-size: 20px;
    }

    .titleImage{
        font-size: 30px;
        margin-bottom: 1rem;
    }

    .characterImage{
        margin-bottom: 5px;
        font-size: 12px;
    }

    .descriptionImage{
        font-size: 15px;
    }

    .option{
        width: 30px;
        height: 30px;
        padding: 5px;
    }

    .btnLeft, .btnRight{
        font-size: 40px;
    }
}

@media (max-width: 375px) {
    .boxImageInImage{
        width: 250px;
        height: 250px;
    }

    .boxImageContent{
        row-gap: 1rem;
    }

    .characterImage{
        font-size: 10px;
    }
}