/* Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&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&family=Schoolbell&display=swap');

body {
    font-family: "Inter", Arial, sans-serif;
    background-color: white;
    /* background-image: linear-gradient(black, black, #0F3443, #244032); */
    padding: 0;
    margin: 0;
}

h1 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 3rem;
    color: black;
}

h2 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 2.5rem;
    color: black;
}

h3 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 2rem;
    color: black;
}

h4 {
    font-family: "Inter", Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: "semi-bold";
    color: black;
}

p {
    font-family: "Inter", Arial, sans-serif;
    font-size: 1rem;
    color: black;
}

a {
    display: inline-block;
    color: #0171E3;
    text-decoration: none;
}

a:hover, a:focus {
  /* color: #385A9C; */
  opacity: 60%;
}

/* Resize image for responsive website */
img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 0;
}

figcaption {
    font-family: Helvetica, Arial, sans-serif;
    color: black;
    text-align: left;
}

dl {
    color: black;
}

dt {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

dd {
    margin: 0.3rem;
    margin-left: 0;
}

.default-button {
    display: inline-block;
    padding: 0.5rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    border: solid 0.1rem #0171E3;
    border-radius: 1.5rem;
    background-color: #0171E300;
    color: #0171E3;
    transition: background-color 0.1s ease;
}

.default-button:hover, .default-button:focus {
    background-color: #0171E3;
    color: white;
    opacity: 100%;
}

.default-button-two {
    display: inline-block;
    padding: 0.5rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    border: solid 0.1rem #0171E3;
    border-radius: 1.5rem;
    background-color: #0171E300;
    color: #0171E3;
    transition: background-color 0.1s ease;
}

.default-button-two:hover, .default-button-two:focus {
  background-color: #0171E3;
  color: white;
  border: none;
  opacity: 100%;
}

.nav-bar {
    background-color: white;
    position: fixed;
    top: 0;
    width: 100%;
    height: 5rem;
    padding: 0.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.button-nav {
    display: inline-block;
    color: black;
    font-size: 1rem;
    padding: 0.5rem;
}

.button-nav:hover, .button-nav:focus, .side-button:hover, .side-button:focus {
    color: #0171E3;
    opacity: 100%;
    /* transform: scale(1.05);
    transition-property: all;
    transition-duration: .25s; */
}

.side-bar {
    /* background-color: white; */
    position: fixed;
    top: 0;
    left: 0;
    width: 16rem;
    height: 100%;
    padding: 2rem;
    margin-top: 5rem;
    /* box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); */
    z-index: 1;
}

.side-button {
    display: block;
    color: black;
    font-size: 1rem;
    padding: 0.5rem;
    padding-left: 0;
}

.side-bar h1, .side-bar h2, .side-bar a {
    text-align: left;
}

.side-bar h1, .side-bar h2 { 
    margin-top: 0;
}

.logo-image {
    display: inline-block;
    width: 8rem;
    margin-top: 0.5rem;
}

.logo-image:hover, .logo-image:focus {
    transform: scale(1.03); 
}

.logo-link {
    display: inline-block;
    align-items: center;
}

.menu-toggle-button {
    display: none;
    background: none;
    border: none;
}
  

/* HOME PAGE */

#hero_section {
    display: flex;
    position: relative;
    margin-top: 4rem;
    height: 45rem;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#hero_section h1 {
    max-width: 50rem;
    margin: auto;
}

#hero_section p {
    max-width: 50rem;
    opacity: 50%;
}

.fade-in {
    opacity: 0;
    transform: translateY(-2rem); /* Start position */
    animation: fadeIn 2s forwards; /* Animation name and duration */
}

@keyframes fadeIn {
    to {
        opacity: 1; /* End opacity */
        transform: translateY(0); /* Final position */
    }
}

/* #hidden_image, #hidden_animation_image1, #hidden_animation_image2 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#hidden_animation_image1 {
    animation: blink 2s infinite; 
}

#hidden_animation_image2 {
    animation: blink 3s infinite; 
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
} */

/* Resources: https://youtu.be/by1DV4kV0RE */

#outer_greetings h1 {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 1rem;
    margin: 0;
}

#inner_greetings {
    height: 5rem;
    line-height: 5rem;
    justify-content: left;
    overflow: hidden;
}

#inner_greetings span {
    display: block;
    justify-self: left;
    margin: 0;
    position: relative;
    animation: animation 8s ease infinite;
}

@keyframes animation {
    0% {
        top: 0;
    }
    33.3% {
        top: -5rem;
    }
    66.6% {
        top: -10rem;
    }
    100% {
        top: -15rem;
    }
}

#arrow_button {
    position: absolute;
    right: 1.5rem;
    bottom: 3rem;
}

#projects_section {
    background-color: #ffffff;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.projects-heading h2 {
    justify-self: left;
    margin-left: 4rem;
}

.projects-heading .default-button-two {
    justify-self: right;
    padding: 0.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    margin: auto;
    margin-right: 4rem;
}

/* Resources: https://css-tricks.com/books/fundamental-css-tactics/infinite-scrolling-background-image/ */
.scroller-container {
    overflow: hidden;
    width: 100%;
    margin-top: 2rem;
}
  
.scroller-background {
    display: flex; /* Use flex to align images horizontally */
    background: #00000000;
    height: 21.09375rem;
    width: 300rem;
    animation: slide 12s linear infinite;
}

.scroller-image {
    width: 25rem;
}

.image-container {
    position: relative;
    cursor: pointer;
    overflow: hidden; /* Ensures the image stays within container boundaries */
}

.image-container img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1rem;
    background: #00000050;
    transition: opacity 0.3s ease;
    opacity: 0; /* Start hidden */
}

.image-overlay h3 {
    color: white;
    font-size: 1.6rem;
    margin-left: 1rem;
    margin: 0;
    bottom: 0;
}

.image-overlay p {
    color: white;
    margin-left: 1rem;
    margin: 0;
    bottom: 0;
}

.image-container:hover img, .image-container:focus img {
    transform: scale(1.1); 
}

.image-container:hover .image-overlay, .image-container:focus .image-overlay {
    opacity: 1;
}

@keyframes slide {
    0% {
      transform: translate3d(0, 0, 0);
    }
    100% {
      transform: translate3d(-50%, 0, 0);
    }
}

/* Scroll button */
/* Resources: https://www.youtube.com/watch?v=gzXyRa7jwk4&ab_channel=GreatStack */
.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    background-color: #B3B3B399;
    border: solid 0.1rem #00000000;
    color: white;
    font-size: 2rem;
    /* padding: 1rem; */
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
}

.scroll-button:hover, .scroll-button:focus {
    background-color: #0171E3;
    color: white;
    border: none;
}

.scroll-button.left {
    left: 1rem;
}

.scroll-button.right {
    right: 1rem;
}

.scroller-container {
    position: relative;
}

/* Gradient Cursor */
/* Resources: https://codepen.io/Iseyaaaaa/pen/qBMNEGN */
.blob {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16rem;
    height: 16rem;
    border-radius: 100%;
    background-image: linear-gradient(#31B7C2 10%, #7BC393);
    filter: blur(8rem);
    transition: all 450ms ease-out;
    position: fixed;
    pointer-events: none;
    left: 0;
    top: 0;
    transform: translate(calc(-50% + 1rem), -50%);
    z-index: -1;
}


/* ABOUT PAGE */

#about_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-section {
    align-items: center;
    padding-top: 8rem;
    padding-bottom: 8rem;
    margin-left: 10rem;
    margin-right: 10rem;
    margin-top: 5rem;
}

.about-section h1 {
    margin-top: 0;
}

.about-section p {
    max-width: 40rem;
}

#profile_image, #profile_emoji_image {
    width: 28rem;
    justify-self: center;
    border-radius: 1.5rem;
    box-shadow: 2px 4px 12px #00000020;
}

#profile_image {
    display: block;
}

#profile_emoji_image {
    display: none;
}


#profile_image_container:hover #profile_image, #profile_image_container:focus #profile_image {
    display: none;
}

#profile_image_container:hover #profile_emoji_image, #profile_image_container:focus #profile_emoji_image {
    display: block;
}

.contact-section {
    margin: 4rem;
    margin-bottom: 2rem;
    margin-top: 0;
}

.contact-section p {
    opacity: 50%;
}

.social-media-logo-image {
    display: inline-block;
    width: 1.5rem;
}

.social-media-logo-image:hover, .social-media-logo-image:focus {
    transform: scale(1.1); 
}

.social-media-logo-link {
    display: hidden;
    margin-right: 1rem;
}


/* WORK PAGE */

#work_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

#work_section {
    margin: 4rem;
    margin-top: 5rem;
    padding-top: 0.5rem;
}

/* Resources: https://www.youtube.com/watch?v=ItdjE1cYfHo&ab_channel=LearnWeb */
.work-container {
    display: flex; 
    justify-content: center;
    align-items: center;
}

.work-item {
    display: grid;
    position: relative;
    justify-self: center;
    border-radius: 1.5rem;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 4px 12px #00000020;
}

.work-item:hover, .work-item:focus {
    transform: scale(1.01);
    transition-property: all;
    transition-duration: .25s;
}

.work-image {
    width: 25rem;
    border-radius: 1.5rem;
}

.work-image-mid, .work-image-long {
    display: block;
    width: 100%;
    max-width: 25rem; /* Default to smaller size */
    border-radius: 1.5rem;
}

.work-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000030;
    border-radius: 1.5rem;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.work-item:hover .work-image-overlay, .work-item:focus .work-image-overlay {
    opacity: 1;
}

.work-image-overlay h2, .work-image-overlay p {
    position: absolute;
    color: white;
    margin: 0.75rem;
}

.work-image-overlay h2 {
    font-size: 1.2rem;
    margin-bottom: 0;
    bottom: 2rem;
}

.work-image-overlay p {
    margin-top: 0;
    bottom: 0;
}

/* SOUL WAVES PAGE */

.intro-section {
    height: 44rem;
    padding-top: 2rem;
    margin-top: 5rem;
    margin-left: 17rem;
    margin-right: 2rem;
}

.hero-image {
    width: 70rem;
    border-radius: 1.5rem;
}

#soul_waves_hero_video {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin-top: 5rem;
}

#soul_waves_hero_image {
    position: relative;
    display: none;
    width: 100%;
    height: auto;
    margin-top: 5rem;
}

#gradient_background {
    position: absolute;
    top: 5rem;
    width: 100%;
    height: 100%;
    /* background-image: linear-gradient(rgba(0, 0, 0, 0) 80%, black); */
}

/* #intro_content {
    margin-left: 1rem;
    margin-right: 1rem;
}

.project-info {
    display: flex;
    justify-content: space-between;
} */

.project-overview-section, #functionalities_section, .challenges-section, .solution-section, .final-product-section,
#key_features_section, .key-takeaway-section, .design-concept-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin: 4rem;
    margin-left: 17rem;
    margin-right: 2rem;
}

.project-overview-image {
    width: 20rem;
}

#project_overview_content, #project_overview_image {
    justify-self: center;
    align-self: center;
}

#project_overview_image {
    text-align: center;
}

.functionalities-item {
    justify-self: center;
    text-align: center;
}

.functionalities-item h3 {
    font-size: 1.6rem;
}

.challenges-container {
    background-color: #00000020;
    color: white;
    border-radius: 1.5rem;
    padding: 2rem;
}

.challenges-section p {
    /* max-width: 50rem; */
    margin: auto;
}

.solution-section, .final-product-section {
    justify-content: center;
    align-items: center;
}

#solution_image, #solution_content {
    justify-self: center;
}

.solution-section p {
    text-align: left;
    margin-top: 2rem;
}

#solution_code_image {
    width: 27rem;
}

#solution_content {
    text-align: center;
}

#solution_content video {
    justify-self: center;
    justify-content: center;
}

#final_product_image {
    width: 40rem;
}

/* MOOVIEW PAGE */
.features-item {
    background-color: black;
    color: white;
    border-radius: 1.5rem;
    padding: 1rem;
    padding-top: 1.5rem;
}

.feature-num {
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #E70000;
    justify-content: center;
    align-items: center;
}

.features-item h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: normal;
    margin: 0;
}

.features-item h4 {
    color: #E70000;
    font-size: 1.5rem;
    font-weight: normal;
    margin: 0;
    margin-top: 1rem;
}

.features-item p {
    color: white;
    font-weight: 200;
}

.solution-container {
    background-color: black;
    padding: 2rem;
    color: white;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
}

.solution-container h4 {
    color: #E70000;
    font-size: 1.5rem;
    font-weight: normal;
    margin: 0;
    margin-bottom: 2rem;
}

.solution-image {
    border-radius: 1.5rem;
    box-shadow: 2px 4px 12px #c4c4c420;
}

.figcap {
    color: white;
    opacity: 50%;
    margin-top: 1rem;
}

/* SPES PAGE */
.design_concept_image {
    width: 30rem;
}

.design-concept-container p {
    max-width: 30rem;
}