@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace+SC&display=swap');

/* GLOBAL STYLES */

* {
    box-sizing: border-box;
    margin: auto;
    padding: 0;
}

body {
    --header-height: 4vw;
    font-size: 1vw;
    overflow-x: hidden;
    min-height: 100vh;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    text-align: center;
}

/* OVERLAY STYLES */

#image-overlay {
    font-size: 1vw;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

#image-overlay.hidden {
    display: none;
}

#image-overlay h3 {
    position: absolute;
    top: 2em;
    width: 50vw;
    font-size: 1.5em;
}

.overlay-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#overlay-image {
    max-width: 70vw;
    max-height: 75vh;
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: auto;
    user-select: none;
}

.nav-arrow {
    position: absolute;
    background: none;
    border: none;
    color: white;
    font-size: 12em;
    /* margin-inline: .2em; */
    cursor: pointer;
    user-select: none;
    z-index: 2001;
}

#prev-image {
    left: 5vw;
}

#next-image {
    right: 5vw;
}

.close-button {
    position: absolute;
    top: 3em;
    right: 4em;

    width: 3em;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center 0vw;
    background-repeat: no-repeat;

    border: none;
    color: white;
    cursor: pointer;
    z-index: 2001;
}

#zoom-container {
    position: relative;
    width: 70vw;
    height: 75vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: grab;
}

#overlay-image {
    max-width: none; /* Allows the image to exceed its container size during zoom */
    max-height: none;
    transform-origin: center center;
    /* transition: transform 0.2s ease; */
    user-select: none;
    -webkit-user-drag: none;
}

/* PREVIEW IMAGE SECTION */

.preview-image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(75vh - var(--header-height, 4vw));
}

.preview-image {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;

    background-size: cover;
    background-position: center 0vw;
    background-repeat: no-repeat;
    z-index: -1;
}

.preview-image-section h1 {
    cursor: default;
    z-index: 1;
}

.project-name {
  filter:blur(0vw);
  transition: all 0.5s ease-in-out;
}

.project-name:hover {
  filter:blur(10vw);
  transition: all 0.5s ease-in-out;
}

/* SUMMARY SECTION */

.summary-section {
    font-size: 1vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-block: 5vw;
}

.summary-section h2 {
    font-size: 4em;

    transition: all 0.3s ease-in-out;
}

.summary-content {
    font-size: 1.4em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5vw;
}

.summary-content p {
    margin: 0;
}

.details-lists {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: fit-content;
    max-width: 100vw;
    gap: 10vw;
    margin: auto;
    padding-inline: 15vw;
}

.details-list.right, .details-list.left{
    display: flex;
    flex-direction: column;
    width: max-content;
    flex-wrap: wrap;
    text-align: left;
    justify-content: left;
    justify-self: left;
    margin: auto;
    margin-left: 0;;
    margin-top: 0;
    padding: 0;
}

.summary-content ul li {
    display: flex;
    flex-direction: row;
    margin: auto;
    margin-left: 0;
    margin-bottom: 1em;
    text-align: left;
    justify-self: left;
    text-shadow: 0 1em 1em rgba(0, 0, 0, 1);
}

.summary-content ul li strong{
    margin-left: 0;
    margin-top: 0;
    text-align: left;
    justify-self: left;
    text-decoration: underline;
}

.summary-content ul li ul {
    display: flex;
    flex-direction: column;
    /* flex-direction: row;
    flex-wrap: wrap; */
    font-weight: 500;
    margin: auto;
    margin-bottom: 0;
}

.summary-content ul li ul li {
    margin-left: .3em;
    margin-bottom: 0;
}

.listed-project-language-logo {
  width: 1.4em;
  aspect-ratio: 1 / 1;
  margin: 0;
  margin-left: .5em;
  background-size: contain;
  background-repeat: no-repeat;
}

/* DETAILS SECTION */

.details-section {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
  
.info-card {
    font-size: 1vw;
    display: flex;
    flex-direction: row;
    text-align: center;
    width: 90vw;
    margin-top: 0%;
    margin-bottom: 7.5vw;;
}
  
.image-container {
    width: 100%;
    max-width: 30vw;
    max-height: fit-content;
    display: flex;
    margin: auto;
    margin-inline: 1.5vw;
}
  
.image {
    width: 30vw;
    max-height: fit-content;
    aspect-ratio: initial;
    max-height: fit-content;
    display: flex;
    margin: auto;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}
  
.info-content {
    display: flex;
    text-align: left;
}
  
.info-card p {
    text-align: left;
    font-size: 1.5em;
}
  
.info-hook {
    cursor: default;
    font-size: 2em;
    /* min-width: max-content; */
    margin-right: 1vw;
    font-style: italic;
    text-decoration: underline;
    text-align: left;

    transition: all 0.3s ease-in-out;
}

/* WITH BOXES AROUND PARAGRAPHS THIS STYLING IS BETTER */

.summary-content {
    margin-top: 5vw;
}

.summary-content p, .info-card p {
    background: #3d001e;
    border-radius: 25px;
}

.summary-content p {
    padding-inline: 2vw;
    padding-block: 2vw;
    margin-inline: 13vw;
}

.info-card p {
    margin-inline: 2vw;
    padding-inline: 1vw;
    padding-block: 1vw;
}

@media (max-width: 768px) {
    .summary-content {
        gap: 12vw;
    }

    .info-card p {
        padding-inline: 3.5vw;
        padding-block: 2vw;
    }

    .info-hook {
        margin:auto;
        margin-top: 2vw;
        margin-bottom: 5vw;
    }
}

/* QUICK COLOR PALETTE AND FONT CUSTOMIZATION FOR ALL DETAILS PAGES */

* {
    font-family: 'Bruno Ace SC', cursive;
    scrollbar-color: #ff1f8b #3d001e;
}

body {
    font-family: 'Bruno Ace SC', cursive;
    color: #ff1f8b;
    background-color: #0E0007;
    background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
}

h1, h2, h3, h4, h5, h6, .info-hook {
    font-family: 'Bruno Ace SC', cursive;
    color: white;
    font-weight: 600;
}

p {
    line-height: 1.8em;
    font-weight: 600;
    font-family: 'Bruno Ace SC', cursive;
}

header a:hover {
    color: #ff1f8b;
}

.preview-image-section {
    box-shadow: inset 0px 0px 5vw 1.5vw rgba(255, 31, 139, 0.1);
}

.preview-image-section h1 {
    color: #ff1f8b;
    font-size: 8vw;
    font-family: 'Bruno Ace SC', cursive;
    font-weight: 100;
}

.below-preview {
    background-color: #0E0007;
    box-shadow: inset 0px 0px 10vw 3vw rgba(255, 31, 139, 0.1);
}

.summary-section h2 {
    font-style: italic;
}

.summary-section h2:hover {
    text-shadow: 0 0 1em white, 0 1em 1em rgba(0, 0, 0, 1);
}

.summary-content ul li {
    font-weight: 500;
}

.summary-content ul li strong{
    font-weight: 800;
    color: white;
}

.image {
    box-shadow: 0 0 1.5em .1em rgba(255, 255, 255, 0.5);
}

@media (min-width: 769px) {
    .info-hook:hover {
        text-shadow: 0 0 .5em rgb(255, 255, 255);
        transition: all 0.3s ease-in-out;
    }
}

@media (max-width: 768px) {
    .summary-content {
        font-size: 1.5em;
    }
}

/* OTHER UNIQUE STYLES */

.preview-image {
    background-image: url('/images/Mean_It_Preview.png');
}

.image.one {
    border-radius: 100%;
}

.temporary-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    text-align: center;
}

.temporary-overlay h1 {
    font-size: 8vw;
    color: white;
    margin-bottom: 2vw;
}

.temporary-overlay h3 {
    font-size: 3vw;
    color: white;
    width: 50vw;
}



/* Media Queries for smaller screens */

@media (max-aspect-ratio: 1.4 / 1) {
    .preview-image-section {
        height: 40vw;
    }

    .preview-image {
        background-size: contain;
    }
}

/* TABLET FORMAT */

@media (max-width: 992px) {
    #image-overlay h3 {
        top: calc((50vh - 2.3em) - 40vw);
        font-size: 2.3em;
    }
}

/* ANYTHING LARGER THAN PHONE */
@media (min-width: 769px) {
    .info-card.right .info-content {
        margin-left: 2vw;
    }

    .info-card.left .info-content {
        margin-right: 2vw;
    }

    .summary-section h2:hover {
        cursor: default;
        font-size: 4.2em;

        transition: all 0.3s ease-in-out;
    }
}

/* PHONE FORMAT */
@media (max-width: 768px) {
    #image-overlay h3 {
        top: 2em;
        font-size: 3em;
    }

    .nav-arrow {
        font-size: 5rem;
    }

    #prev-image {
        top: 10vh;
        left: 50%;
        transform: translateX(-50%) rotate(90deg);
    }

    #next-image {
        bottom: 10vh;
        right: 50%;
        transform: translateX(50%) rotate(90deg);
    }

    .preview-image-section h1 {
        font-size: 12vw;
    }

    .summary-section {
        font-size: 2vw;
    }

    .summary-content p {
        padding-inline: 3.5vw;
        margin-inline: 9vw;
    }

    .details-lists {
        flex-direction: column;
        gap: 6vw;
        padding-inline: 12.5vw;
    }

    .info-card {
        font-size: 2vw;
        flex-direction: column;
        align-items: center;
        width: 75vw;
    }

    .info-card.right{
        flex-direction:column-reverse;
        align-items: center;
    }
  
    .image-container {
        max-width: 75vw;
        height: 75vw;
        min-height: fit-content;
        margin-block: 5vw;
    }
  
    .image {
        width: 100%;
        max-height: fit-content;
    }
    
    .info-card p {
        font-size: 2em;
        margin-block: 5vw;
        display: flex;
        flex-direction: column;
    }

    .info-hook {
        font-size: 2.5em;
        line-height: 1.2em;
        text-align: center;
    }
}