#content {
    padding: .5% 0 !important;

    h3 {
        &:before {
            content: "<";
            font-family: oswald;
            color: var(--title);
            margin-right: .25rem;
            font-size: 1.5rem;
        }

        &:after {
            content: "/>";
            font-family: oswald;
            color: var(--title);
            margin-left: .25rem;
            font-size: 1.5rem;
        }
    }

    #title {
        width: 100%;

        #titleDiv {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;

            @media screen and (max-width: 979px) {
                align-items: flex-start;
                padding: 1%;
            }

            h1 {
                color: var(--title);
                font-size: 3.75rem;
                width: 80%;
                text-align: center;
                margin-bottom: 1%;

                @media screen and (max-width: 1200px) {
                    font-size: 3rem;
                }

                @media screen and (max-width: 979px) {
                    width: 90%;
                    text-align: left;
                    font-size: 2rem;
                    margin-left: 2.5%;
                }

                @media screen and (max-width: 767px) {
                    font-size: 1.5rem;
                    margin-bottom: 1.5%;
                }

                @media screen and (max-width: 480px) {
                    font-size: 1.25rem;
                    margin-top: 1%;
                }
            }

            #titleTop {
                width: 80%;
                padding: 1.5%;

                @media screen and (max-width: 1200px) {
                    width: 95%;
                }

                @media screen and (max-width: 979px) {
                    width: 100%;
                    padding: 2.5% 1.5%;
                }

                #backButton {
                    display: flex;
                    align-items: center;
                    width: 20%;
                    margin: 0 0 1.5% 0;
                    transition: .5s ease;

                    @media screen and (max-width: 979px) {
                        width: 30%;
                    }

                    @media screen and (max-width: 480px) {
                        width: 50%;
                    }

                    p {
                        &:before {
                            display: none;
                        }
                    }

                    img {
                        aspect-ratio: 1/1;
                        width: 15%;
                    }

                    &:hover {
                        margin: 0 0 1.5% 1.5%;
                    }
                }

                h2 {
                    color: var(--primary);

                    @media screen and (max-width: 767px) {
                        font-size: 1.5rem;
                    }

                    @media screen and (max-width: 480px) {
                        font-size: 1.25rem;
                    }
                }

                P {
                    font-family: oswald;
                    font-size: 1.25rem;

                    @media screen and (max-width: 767px) {
                        font-size: 1rem;
                    }

                    &:before {
                        content: "///";
                        margin-right: .5%;
                        color: var(--subParagraph);
                        font-family: maroco;
                        font-size: 1.2rem;

                        @media screen and (max-width: 767px) {
                            margin-right: 1.5%;
                        }
                    }
                }
            }
        }

        #cover {
            aspect-ratio: 15/4;
            width: 100%;
            position: relative;
            margin-top: 2.5%;
            margin-bottom: 1%;

            @media screen and (max-width: 1200px) {
                aspect-ratio: 17/6;
            }

            @media screen and (max-width: 767px) {
                aspect-ratio: 19/8;
                margin-top: 3.5%;
            }

            @media screen and (max-width: 480px) {
                aspect-ratio: 21/10;
                margin-top: 4.5%;
            }

            #coverBackground {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                opacity: .25;
            }

            figure {
                width: 60%;
                height: 100%;
                position: absolute;
                top: 40%;
                left: 50%;
                transform: translate(-50%, -50%);

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: center;
                }

                @media screen and (max-width: 1200px) {
                    width: 75%;
                }

                @media screen and (max-width: 979px) {
                    width: 80%;
                }

                @media screen and (max-width: 767px) {
                    width: 85%;
                }

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

    summary {
        width: 100%;
        padding: 1.25% 1%;

        display: flex;
        justify-content: center;
        align-items: flex-start;

        @media screen and (max-width: 767px) {
            flex-direction: column;
            align-items: center;
        }

        #details {
            width: 25%;
            margin: .5%;

            position: sticky;
            top: 1.5%;

            @media screen and (max-width: 1200px) {
                width: 30%;
            }

            @media screen and (max-width: 979px) {
                width: 35%;
            }

            @media screen and (max-width: 767px) {
                width: 80%;
                position: initial;
                padding: 2.5%;
            }

            @media screen and (max-width: 480px) {
                width: 100%;
            }

            h3 {
                margin-bottom: 2.5%;
            }

            .detailItem {
                background-color: var(--primary25);
                border: 1px solid var(--primary55);
                border-radius: 10px;
                padding: 3%;
                margin-bottom: 2.5%;

                h4 {
                    font-size: 1.3em;
                    margin-bottom: 4%;
                }
            }

            .di-main {
                display: flex;
                align-items: center;

                .img {
                    aspect-ratio: 1/1;
                    width: 17.5%;
                    border-radius: 7px;
                    background-color: var(--primary55);
                    margin-right: 3.5%;
                    display: flex;
                    justify-content: center;
                    align-items: center;

                    img {
                        aspect-ratio: 1/1;
                        width: 70%;
                    }
                }

                .detail {

                }
            }

            .di-tool {

                .ico-repeater {
                    width: 100%;
                    display: grid;
                    grid-template-columns: repeat(9, 10%);
                    grid-column-gap: 1%;
                    grid-row-gap: 5%;

                    .ico {
                        aspect-ratio: 1/1;
                        width: 100%;
                        display: flex;
                        justify-content: center;
                        align-items: center;

                        img {
                            aspect-ratio: 1/1;
                            width: 95%;
                        }
                    }
                }
            }

            #btns {
                display: flex;
                align-items: center;
                height: 6vh;

                @media screen and (max-width: 480px) {
                    height: 6.5vh;
                }

                .btn {
                    background-color: var(--primary25);
                    border: 1px solid var(--primary55);
                    border-radius: 10px;
                    padding: 2.5%;
                }

                .btn-primary {
                    width: 100%;
                    height: 100%;
                    display: flex;
                    align-items: center;

                    img {
                        aspect-ratio: 1/1;
                        height: 85%;
                    }

                    p {
                        font-family: oswald;
                        margin-left: 3.5%;
                        transition: .5s ease;
                        font-size: 1.4rem;
                    }

                    &:hover {
                        p {
                            margin-left: 7%;
                        }
                    }
                }

                .btn-secondary {
                    aspect-ratio: 1/1;
                    height: 100%;
                    /*width: 15%;*/
                    margin-right: 1.5%;
                    display: flex;
                    justify-content: center;
                    align-items: center;

                    img {
                        aspect-ratio: 1/1;
                        width: 100%;
                        transition: .5s ease;
                    }

                    &:hover {
                        img {
                            transform: rotate(-15deg);
                        }
                    }
                }
            }
        }

        #description {
            width: 60%;
            padding: 1%;
            margin: .5% .5% 1.5% .5%;

            @media screen and (max-width: 1200px) {
                width: 65%;
            }

            @media screen and (max-width: 767px) {
                width: 80%;
            }

            @media screen and (max-width: 480px) {
                width: 100%;
            }

            h3 {
                margin-bottom: 2.5%;
            }

            p {
                text-align: justify;
            }
        }
    }

    #imageGallery {
        width: 100%;
        padding: .5%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(9.5%, 1fr));
        max-width: calc(9.5% * 10 + .5% * 9);
        margin: 0 auto;
        grid-column-gap: .5%;
        grid-row-gap: 2%;

        @media screen and (max-width: 1200px) {
            grid-template-columns: repeat(auto-fit, minmax(12%, 1fr));
            max-width: calc(12% * 8 + .5% * 7);
        }

        @media screen and (max-width: 979px) {
            grid-template-columns: repeat(auto-fit, minmax(19.5%, 1fr));
            max-width: calc(19.5% * 5 + .5% * 4);
        }

        @media screen and (max-width: 767px) {
            grid-template-columns: repeat(3, 32.3%);
            grid-column-gap: 1%;
            max-width: initial;
        }

        @media screen and (max-width: 480px) {
            grid-template-columns: repeat(2, 49%);
        }

        .imgItem {
            aspect-ratio: 1/1;
            width: 100%;
            position: relative;
            overflow: hidden;

            .background {
                width: 100%;
                height: 100%;
                object-position: center;
                object-fit: cover;
                filter: blur(4px);
            }

            .thumbnail {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                max-width: 90%;
                max-height: 90%;
                transition: .5s ease;
            }

            &:hover {
                cursor: pointer;

                .thumbnail {
                    max-width: 100%;
                    max-height: 100%;
                }
            }
        }
    }

    #liveView {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1.25% 1%;

        border-bottom: 2px dashed var(--primary55);

        h3 {
            margin-bottom: 1%;
            font-size: 2.5rem;

            @media screen and (max-width: 767px) {
                font-size: 1.85rem;
            }

            &:before, &:after {
                font-size: 2.5rem;

                @media screen and (max-width: 767px) {
                    font-size: 1.85rem;
                }
            }
        }

        #embedCover {
            width: 80%;
            background-color: var(--primary55);
            padding: 1%;

            @media (orientation: landscape) {
                aspect-ratio: 16/9;
            }

            @media (orientation: portrait) {
                aspect-ratio: 9/16;
            }

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

            iframe {
                width: 100%;
                height: 100%;
                border: 2px solid #000000;
                background-color: var(--background);
            }
        }
    }

    #codeSnippets {
        width: 100%;
        padding: 1.25% 1%;
    }

    #reactions {
        width: 100%;
        padding: 1.25% 1%;
    }
}

#imgView {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: var(--background-dark-transparent);
    transition: .5s ease;
    overflow: hidden;
    pointer-events: none;

    &:hover {
        cursor: pointer;
    }

    #iv-header {
        height: 10%;
        /*background-color: #FF0000;*/
        padding: .5% 5.5%;
        display: flex;
        align-items: center;
        justify-content: space-between;

        @media screen and (max-width: 979px) {
            padding: .5% 2.5%;
        }

        #iv-close-icon {
            aspect-ratio: 1/1;
            height: 50%;
        }
    }

    #iv-content {
        height: 90%;
        display: flex;
        justify-content: center;
        align-items: center;

        #iv-img {
            max-height: 95%;
            max-width: 95%;

            &:hover {
                cursor: default;
            }
        }
    }
}