#preloader {
    color: var(--accent-colour);
    /* font-size: 3rem; */
    font-weight: 800;
    background-color: #0d0d0d;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    place-items: center;
    align-content: center;
}

#loading-text {
    font-family: "Poppins", sans-serif;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

#loading-bar {
    width: 60%;
    height: 40px;
    outline: 3px solid #3a3a3a;
}

#loading-bar-fill {
    height: 40px;
    background: #3e3e3e;
    animation: load-fill 3s cubic-bezier(0.3, 0.09, 0.29, 0.73);
}

@keyframes load-fill {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Home Intro Text */

#home-intro-text {
    font-family: "Merriweather", serif;
    font-weight: 400;
    /* font-style: italic; */
    padding-block: 3.75rem 8.125rem;
    padding-inline: 6.25rem;
    font-size: 10rem;
    /* font-size: 10rem; */
    /* font-weight: 900; */
}

#home-intro-text > div {
    left: -150%;
    position: relative;
    display: flex;
    gap: 0.625rem;
    padding-top: 0.625rem;
    transition: all 0.4s ease-out;
}

.anim-0 {
    animation: line-anim 1.75s ease-out forwards;
}

.anim-1 {
    animation: line-anim 1.75s ease-out forwards;
    animation-delay: 200ms;
}

.anim-2 {
    animation: line-anim 1.75s ease-out forwards;
    animation-delay: 400ms;
}

@keyframes line-anim {
    0% {
        left: -100%;
    }

    50% {
        left: 4%;
    }

    65% {
        left: -1.5%;
    }

    85% {
        left: 0.5%;
    }

    100% {
        left: 0;
    }
}

/* Social Links Bar @ Home */
.section-seperator {
    position: relative;
    padding: 13rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-seperator::before {
    content: "";
    background-color: var(--accent-colour);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
    width: 132px;
    height: 20px;
    z-index: 10;
    background-color: #161616;
    background-position: 50%;
    background-repeat: repeat-x;
    background-image: url("../assets/section-seperator.svg");
}

.social-links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 6.25rem 7rem 11.5rem;
    gap: 2.5rem;
}

.social-links > div {
    opacity: 0.75;
    width: 11.5%;
    height: 1px;
    background-color: var(--accent-colour);
}

.social-links img {
    width: 1.5rem;
    transition: transform 0.3s ease-out;
}

.social-links img:hover {
    cursor: pointer;
    transform: translateY(-3px);
}

/* About Me Paragraph */
.custom-bold {
    font-weight: 600;
    color: var(--highlight-text-colour);
}

.section-content {
    float: left;
    width: 73%;
    /* max-width: 1800px; */
    padding-left: 0px;
    padding-right: 0px;
    position: relative;
    left: 17%;
    font-size: 1.3rem;
    line-height: 2rem;
    color: var(--text-colour);
}

.section-content > p {
    font-size: 2rem;
    padding-bottom: 1rem;
}

/* Project Overview */

.section-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 6.25rem 0 6.25rem;
    gap: 6.25rem;
}

.section-heading {
    /* letter-spacing: 2px; */
    font-weight: 700;
    align-self: flex-start;
    font-size: 4.5rem;
    margin: auto 8rem;
    line-height: 5rem;
}

#project-grid {
    width: 100%;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3.2rem;
}

.project-card-wrapper {
    transition: all 0.4s ease-out;
}

#project-card {
    padding: 3.75rem 3.75rem 5rem 3.75rem;
    height: 12.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background-color: var(--accent-colour-dark);
    transition: all 0.3s ease-out;
}

.project-header {
    width: 100%;
    font-size: 2rem;
    padding-bottom: 2.5rem;
}

.languages-used {
    font-family: "Poppins", sans-serif;
    line-height: 2rem;
    position: relative;
    padding-top: 1.25rem;
    color: var(--text-colour);
}

.languages-used::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background: var(--accent-colour);
    height: 1px;
    width: 3.2rem;
    transition: width 0.3s ease-out;
}

.project-card-wrapper:hover {
    transform: translateY(-5px);
    cursor: pointer;
}

#project-card:hover .languages-used::before {
    width: 6.25rem;
}

#project-overview > button {
    font-size: 0.8rem;
    background: var(--accent-colour);
    border: none;
    color: var(--highlight-text-colour);
    letter-spacing: 1px;
    padding: 1rem 2rem;
    font-weight: 700;
}

#project-overview > button:hover {
    cursor: pointer;
}

/* Photograpy Section */

.photography-section {
    align-items: flex-start;
    position: relative;
}

.photography-social {
    width: 20rem;
    position: absolute;
    top: 7.2rem;
    margin: auto 9rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.7rem;
}

.photography-social::before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--accent-colour);
}

.photography-social img {
    transition: transform 0.3s ease-out;
    width: 1.5rem;
}

.gallery-icon {
    font-family: "Poppins", sans-serif;
    transition: transform 0.3s ease-out;
    font-weight: 600;
    color: #474747;
    font-size: 1.4rem;
}

.gallery-icon sup {
    font-size: 0.9rem;
}

.photography-social img:hover,
.gallery-icon:hover {
    cursor: pointer;
    transform: translateY(-3px);
}

h2.section-heading {
    font-size: 3rem;
}

/* Carousel */
.carousel-container {
    margin-top: 6.25rem;
    overflow-x: hidden;
}

.carousel-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 25%;
    gap: 0.75rem
}

.carousel-item {
    aspect-ratio: 4/5;
}

/* Contact Me Section */
.email-layout-container {
    background-color: #202020;
    font-size: 1.1rem;
    width: 80%;
    aspect-ratio: 1/0.6;
    display: grid;
    grid-template-rows: 6% repeat(3, 9%) 1fr 11%;
    color: #757575;
    border: 1px solid #c3c3c31a;
    font-family: "Reddit Mono", monospace;
    font-optical-sizing: auto;
    font-style: normal;
    box-shadow: 0 8px 32px 0 rgb(195 195 195 / 10%);
}

.email-layout-container > * {
    display: flex;
    align-items: center;
}

.email-layout-container input,
.email-layout-container textarea {
    font-family: "Reddit Mono", monospace !important;
    font-optical-sizing: auto;
    font-style: normal;
    resize: none;
    width: 100%;
    height: 100%;
    font-size: calc(1.1rem + 2px);
    background-color: transparent;
    border: none;
    color: var(--highlight-text-colour);
}

.title-bar {
    justify-content: space-between;
    align-items: center;
    padding-left: 0.4rem;
    background-color: #000000;
    color: white;
}

.title-bar-left {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.title-bar-left > img {
    width: 1.25rem;
}

.title-bar-buttons {
    padding-right: 1.5rem;
    display: flex;
    gap: 2rem;
}

.title-bar-buttons > img:nth-child(1) {
    width: 0.8rem;
}

.title-bar-buttons > img:nth-child(2) {
    width: 0.9rem;
}

.title-bar-buttons > img:nth-child(3) {
    width: 1rem;
}

.receiver-input,
.senders-input {
    margin-inline: 1.5rem;
    border-bottom: 1px solid #696969;
}

.subject-input {
    border-bottom: 1px solid #696969;
    padding-inline: 1.5rem;
}
.receiver-input {
    gap: 0.5rem;
}

.receiver-input .email-id span {
    color: var(--highlight-text-colour);
}

.name-block {
    gap: 0.5rem;
    display: flex;
    align-items: center;
    color: white;
    background-color: #2d2d2d;
    /* outline: 1px solid rgb(189, 189, 189); */
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #4b4b4b;
}

.name-block img {
    width: 1.5rem;
    border-radius: 50%;
}

/* Name Decoration */

.senders-input {
    gap: 0.5rem;
}

.body-input textarea {
    box-sizing: border-box;
    padding-inline: 1.5rem;
    padding-block-start: 1.75rem;
}

.bottom-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid #696969;
}

.bottom-bar button {
    font-size: 1.1rem;
    margin: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #2d2d2d;
    color: #8b8d8c;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.15s ease-in;
}

.bottom-bar button:hover {
    background-color: rgb(66 66 66);
    color: rgb(201 201 201);
}
