
/* Jquery Styling for edits page */
.Slide li{
    display: grid;
      width: 370px;
      height: 520px;
      border-radius: 5px;
      font-size: 1.5rem;
      font-family: ruda;
      text-align: center;
      box-shadow: 0 0 1rem grey;
      background: white;
      padding: 1.2rem;
      line-height: 2;
      font-size: 1em;
}

.Slide li img{
    width: 350px;
      height: 410px;
}


/* INDEX STYLING*/ 
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
}

/* Header Styling */
header {
    position: relative;
    height: 140px;
    background-color: #c4c4c4;
}

/* Dropdown Menu */
.dropdownbutton {
    color: black;
    padding: 16px;
    font-size: 16px;
    border: none;
}

.dropdown {
    position: relative;
}

/* Dropdown Content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 25px;
    left: 0px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Logo Styling */
.logo {
    width: 300px;
    max-height: 100px;
    position: absolute;
    top: 30px;
    left: 20px;
    object-fit: contain;
}

/* Navigation Bar Styling */
nav {
    width: 620px;
    height: 80px;
    position: absolute;
    top: 40px;
    left: 370px;
}

.nav-links {
    list-style-type: none; /* Remove bullet points */
    padding: 0;
}

.nav-links li {
    display: inline;
}

nav a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-family: 'Times New Roman', Times, serif;
    margin-right: 20px;
}

/* Social Media Icons Styling */
#social-media {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
}

#social-media a {
    display: inline-block;
}

#social-media img {
    width: 35px;
    height: 40px;
}

/* LinkedIn Icon Size */
#social-media a img {
    width: 35px;
    height: 35px; /* Adjust LinkedIn icon size */
}
/* Responsiveness for iPad Screens */
@media (max-width: 1024px) and (min-width: 768px) {
    /* Adjust the position of the logo */
    .logo {
        top: 30px; /* Adjust logo positioning if needed */
        left: 50%;
        transform: translateX(-50%);
    }

    /* Adjust nav bar for iPad */
    nav {
        top: 80px; /* Adjusted to move nav links higher */
        left: 50%;
        transform: translateX(-50%); /* Center nav */
        text-align: center;
    }

    .nav-links {
        display: flex;
        justify-content: center;
        padding-top: 10px;
    }

    .nav-links li {
        display: inline-block;
    }

    #social-media {
        top: auto;
        bottom: 10px;
        right: 10px;
    }
}

/* Extra Small Screens (Phones) */
@media (max-width: 480px) {
    .dv-text-block-left h2 {
        font-size: 1.5em;
    }

    .dv-text-block-left p {
        font-size: 1em;
    }

    .dv-image, video {
        width: 100%;
    }

    /* Adjust social media for mobile */
    #social-media {
        bottom: 10px;
        right: 10px;
    }

    .logo {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* FOOTER STYLING*/

footer {
    background-color: #000000;
    padding: 8px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p,
.contact-form p {
    color: white;
    font-size: 10pt;
    font-style: italic;
    margin: 0;
}

.email-signup input[type="email"] {
    padding: 8px;
    border: none;
    border-radius: 4px;
}

.email-signup button {
    background-color: #39787c;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: ruda;
}

.email-signup button:hover {
    background-color: #2e6b58;
}

/* RESPONSIVENESS */

/*Index page*/ 

@media screen and (min-width: 677px) and (max-width: 800px) {
    .mainheader-text {
        position: relative;
        top: 10px;
        left: unset;
        transform: unset;
        text-align: center;
        color: rgb(0, 0, 0);
        z-index: 1;
        margin-top: 40px; 
    }

    .image-container {
        position: relative;
        margin-top: 0; 
    }

    .image-container img {
        width: 100%;
        height: auto;
        object-fit: cover;
        opacity: 0.8;
        margin-bottom: 20px; 
    }

    .card-container {
        width: 90%;
        margin-left: 5%;
    }

    .grey-block-africology {
        padding: 10px;
        margin-top: 0!important;
        margin-bottom: 10px;
    }

    .about-me-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
/*----------Styling for Smartphone screens------------*/
/*Index page*/ 

@media screen and (max-width: 676px) {
    
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }

    .nav-links {
        margin-left: -870px;
        text-align: center; 
        margin-top: 70px; 
    }

    .logo {
        width: 60%; 
        margin-bottom: 10px; 
    
    }

    .social-media {
        margin-top: 13px; 
    }

    .social-media img {
        width: 10px; 
        margin-right: 60px;
    }

    .mainheader-text,
    .subheader-text {
        position: absolute;
        top: 35%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center; 
        color: white; 
        font-size: 30px; 
        z-index: 1; 
    }

    .subheader-text {
        font-size: 15px; 
        top: 45%; 
    }

    .image-container {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        margin-top: 20px;
    }

    .image-container img {
        width: 100%; 
        height: auto;
        object-fit: cover;
        opacity: 0.8;
        margin-bottom: 20px; 
    }

    .card-container {
        width: 90%;
        margin-left: 5%;
    }

    /*About page*/
        .about-me-section {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
    
        .about-me-text, .about-me-image {
            width: 100%;
            text-align: center;
        }
    
        .about-me-text p {
            font-size: 0.9em; 
        }
    
        .about-me-image img {
            width: 80%;
            margin-bottom: 20px;
        }
    
        .grey-block-about {
            width: 90%; 
            padding: 20px;
        }
    
        .about-description, .about-image {
            text-align: center;
            margin: 20px 0;
        }
    
        .slogan p {
            font-size: 1em; 
        }

    /*Photography page*/
    .grey-block-photo {
        padding: 10px;
    }

    .main-heading-photo {
        font-size: 1.5em;
    }

    .main-paragraph-photo {
        font-size: 1em;
    }

    .gallery-block {
        padding: 10px;
    }

    .gallery-heading {
        font-size: 1.2em;
    }

    .gallery-subheading {
        font-size: 1em;
    }

    .gallery-images img {
        width: 100%;
        max-width: 100%;
    }

    .image-description {
        padding: 10px;
    }

    .image-description-text {
        font-size: 1em;
    }

    /* App design */
      .app-design-section {
            flex-direction: column;
            padding: 10px;
        }
    
        .app-images img {
            width: 100%;
            margin: 5px 0;
        }
    
        .app-details {
            padding: -30px;
        }
    
        .grey-block-app {
            padding: 10px;
            margin-bottom: 90px;
        }
    
        .grey-block-africology {
            padding: 10px;
            margin-top: 0!important;
            margin-bottom: 10px;
        }

    
        .game-heading1, .game-heading2, .game-heading3 {
            font-size: 1.2em;
        }
    
        .gamesubheading1, .gamesubheading2, .gamesubheading3 {
            font-size: 1em;
        }
    }


/* ABOUT PAGE STYLING */

.about-me-section {
    background-color: #f4f4f1;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
}

.about-me-text {
    flex: 1;
    line-height: 27px;
    text-align: center;
    font-family: ruda; 
    font-size: 0.9em; 
    color: #656460;
    margin-right: 40px;
}

.about-me-text p {
    color: #86847e; 
}

.about-me-image img {
    max-height: 700px;
    max-width: 705px;
    border-radius: 20px;
}

.about-description {
    background-color: #f4f4f1;
    border-radius: 20px;
    margin: 40px 0; 
    padding: 40px; 
    font-family: ruda; 
}

.about-content {
    text-align: center;
}

.about-content h2 {
    color: #656460;
    font-size: 1em; 
}

.about-content p {
    color: #86847e;
    font-size: 1em; 
    font-family: ruda; 
    line-height: 30px;
}

.about-section {
    position: relative;
    padding: 20px 50px; 
}

.about-image {
    position: relative;
    width: calc(100% - 20px); 
    height: calc(100vh - 20px); 
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px; 
}

.slogan {
    position: absolute;
    bottom: 40px; 
    left: 60px; 
    text-align: left; 
    color: white;
    z-index: 1;
    font-size: 2em;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 0 0 2px white;
    font-family: 'Times New Roman', Times, serif;
}

/* Grey Block Styles */
.grey-block-about {
    width: calc(100% - 100px); /* Adjusted width */
    min-height: 200px;
    background-color: #d9d9d9;
    border-radius: 10px;
    padding: 40px;
    margin: 10px;
    font-family: ruda;
}

.grey-block h2 {
    color: #656460;
    font-size: 2em;
    font-family: ruda;
    cursor: pointer; 
}

.grey-block ul, .grey-block p {
    color: #86847e; 
    font-size: 0.9em; 
    font-family: ruda; 
}

.grey-block ul {
    list-style-type: disc;
    padding-left: 20px;
    line-height: 1.9; 
}

.grey-block .grey-line {
    border: 1px solid #86847e;
    margin: 20px 0;
}


/* PHOTOGRAPHY STYLING PAGE */

/* General Container for consistent alignment */
.container {
    max-width: 1352px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* PHOTOGRAPHY STYLING PAGE */

.main-heading-photo {
    color: #333333;
    font-size: 1.4em;
    font-family: ruda;
    text-align: center;
}

.main-paragraph-photo {
    color: #656460;
    font-size: 0.9em;
    font-family: ruda;
    text-align: center;
    line-height: 30px;
}

.grey-block-photo {
    background-color: #d9d9d9;
    border-radius: 10px;
    padding: 40px; 
    margin: 20px 0;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
}

.gallery-block {
    background-color: #d9d9d9;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-sizing: border-box;
    width: 100%;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.gallery-heading {
    font-family: 'Times New Roman', Times, serif;
    font-size: 3em; 
    color: #333333; 
    margin: 0;
}

.gallery-subheading {
    font-size: 1em;
    color: #656460;
    font-family: ruda;
}

.gallery-scroll {
    overflow-x: scroll;
    white-space: nowrap;
    margin-bottom: 20px;
}

.gallery-images {
    display: flex;
    gap: 10px; 
}

.gallery-images img {
    width: 300px; 
    height: auto;
    border-radius: 10px;
}

.image-description {
    text-align: center;
}

.image-description-text {
    font-size: 0.9em; 
    color: #656460;
    margin-top: 10px; 
    font-family: ruda;
    line-height: 30px;
}

/* RESET of Header and Footer Styling for alignment */
header {
    width: 100%;
    padding: 10px 0;
    background-color: #c4c4c4;
    box-sizing: border-box;
}

footer {
    background-color: #000000;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* EDITS STYLING PAGE*/


  .editTopLinks li {
    display: grid;
    width: 370px;
    height: 520px;
    border-radius: 5px;
    font-size: 1.5rem;
    font-family: ruda;
    text-align: center;
    box-shadow: 0 0 1rem grey;
    background: white;
    padding: 1.2rem;
    line-height: 2;
    font-size: 0.8em;
  }


/* Grey Block Section */
.edits-grey-block {
    background-color: #d9d9d9; 
    padding: 20px;
    text-align: center;
    border-radius: 20px;
    padding: 20px;
    padding-top: 40px;
}

.edits-grey-block-heading {
    font-family:ruda;
    font-size: 1em; 
    color: #333333; 
    margin: 0;
}

.edits-grey-block-subheading {
    font-size: 1em;
    color: #656460;
    font-family: ruda;
}

/* APP DESIGN STYLING */

/* Section Styling for Each Project */
.ux-section-nandos, .ux-section-ubereats, .ux-section-starbucks, .ux-section-bose, .ux-section-offwhite {
    margin: 40px 0;
    text-align: center;
}

/* Centered Image Styling for Each Project */
.ux-image-container-nandos, .ux-image-container-offwhite {
    display: flex; /* Flexbox for side-by-side images */
    justify-content: center; /* Center images horizontally */
    gap: 20px; /* Space between images */
}

.ux-image-nandos, .ux-image-ubereats, .ux-image-starbucks, .ux-image-bose, .ux-image-offwhite {
    width: 60%; /* Smaller size for images */
    max-width: 600px; /* Max width for large screens */
    margin: 10px auto; /* Center images horizontally */
    display: block; /* Ensure the images are block-level elements */
    border-radius: 8px; /* Rounded edges for images */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add shadow effect */
}

/* Grey Block Styling for Text */
.ux-text-block-nandos, .ux-text-block-ubereats, .ux-text-block-starbucks, .ux-text-block-bose, .ux-text-block-offwhite {
    background-color: #f4f4f4; /* Grey background */
    padding: 20px;
    margin-top: 20px;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 8px;
}

.ux-text-block-nandos h2, .ux-text-block-ubereats h2, .ux-text-block-starbucks h2, .ux-text-block-bose h2, .ux-text-block-offwhite h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
    font: ruda;
}

.ux-text-block-nandos p, .ux-text-block-ubereats p, .ux-text-block-starbucks p, .ux-text-block-bose p, .ux-text-block-offwhite p {
    color: #666;
    font-size: 0.9em;
    line-height: 2em;
    font-family: ruda;
}


.ux-video-container-starbucks, .ux-video-container-bose {
    max-width: 800px;
    margin: 20px auto;
}

video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
}

/* Responsiveness for Smaller Screens (Tablets and Phones) */
@media (max-width: 768px) {
    .ux-section-nandos, .ux-section-ubereats, .ux-section-starbucks, .ux-section-bose, .ux-section-offwhite {
        margin: 20px 0;
    }

    .ux-image-nandos, .ux-image-ubereats, .ux-image-starbucks, .ux-image-bose, .ux-image-offwhite {
        width: 80%; /* Slightly larger images on smaller screens */
    }

    .ux-text-block-nandos, .ux-text-block-ubereats, .ux-text-block-starbucks, .ux-text-block-bose, .ux-text-block-offwhite {
        padding: 15px;
    }

    .ux-text-block-nandos h2, .ux-text-block-ubereats h2, .ux-text-block-starbucks h2, .ux-text-block-bose h2, .ux-text-block-offwhite h2 {
        font-size: 1.5em; /* Adjust font size */
    }

    .ux-text-block-nandos p, .ux-text-block-ubereats p, .ux-text-block-starbucks p, .ux-text-block-bose p, .ux-text-block-offwhite p {
        font-size: 1em; /* Adjust font size */
    }

    video {
        width: 100%; /* Ensure the video fits within the screen */
    }

    /* Add spacing for smaller screens */
    .ux-section-nandos .ux-text-block-nandos,
    .ux-section-ubereats .ux-text-block-ubereats,
    .ux-section-starbucks .ux-text-block-starbucks,
    .ux-section-bose .ux-text-block-bose,
    .ux-section-offwhite .ux-text-block-offwhite {
        margin-top: 15px;
    }

    /* Adjust the main header */
    h1 {
        font-size: 2em;
    }
}

/* Extra Small Screens (Phones) */
@media (max-width: 480px) {
    .ux-image-nandos, .ux-image-ubereats, .ux-image-starbucks, .ux-image-bose, .ux-image-offwhite {
        width: 100%; /* Ensure images take full width on phones */
    }

    .ux-text-block-nandos, .ux-text-block-ubereats, .ux-text-block-starbucks, .ux-text-block-bose, .ux-text-block-offwhite {
        padding: 10px;
    }

    .ux-text-block-nandos h2, .ux-text-block-ubereats h2, .ux-text-block-starbucks h2, .ux-text-block-bose h2, .ux-text-block-offwhite h2 {
        font-size: 1.3em; /* Smaller headings for smaller devices */
    }

    .ux-text-block-nandos p, .ux-text-block-ubereats p, .ux-text-block-starbucks p, .ux-text-block-bose p, .ux-text-block-offwhite p {
        font-size: 0.9em; /* Smaller text for better fit */
    }

    video {
        width: 100%;
    }
}

/* Contact Section */
.contact-section {
    background-color: #d3d3d3;
    padding: 161px 0;
    text-align: center;
}

.contact-heading {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
    font-family: ruda;
}

/* Signature Block */
.signature-bg {
    height: 150px;
    width: 500px;
    position: relative;
    margin: 0 auto;
}

.signature-bg-black {
    background-color: #000000;
}

.signature-image {
    height: 120px;
    width: 89px;
    border-radius: 136px;
    background-image: url("_images/_other-use/profile-pic.png");
    background-size: cover;
    position: absolute;
    left: 15px;
    top: 15px;
}

.side-bg {
    background-color: #9a74b8;
    height: 150px;
    width: 42px;
    position: absolute;
    right: 0;
    top: 0;
}

.details-box {
    position: absolute;
    left: 140px;
    color: white;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.heading {
    color: #ffffff;
    text-align: left;
    font-size: 38px;
    font-family: Soria;
    margin: 8px 0 3px 0;
}

.sub-heading {
    color: #ffffff;
    font-size: 15px;
    font-weight: lighter;
    margin: 0 0 5px 0px;
    padding-right: 110px;
}

.details-line {
    color: #ffffff;
    font-size: 11px;
    font-family: Strait;
    width: 170px;
    margin: 18px 0 0 20px; 
}

.details-bottom {
    display: inline-block;
    width: 170px;
    font-size: 11px;
    margin: 10px 0 0 0;
}

.details-icon {
    margin-right: 10px;
    vertical-align: middle;
}

.details-link {
    color: white;
    text-decoration: none;
}

.side-bg-icon {
    height: 24px;
    width: 24px;
    padding: 11px;
}

/*STYLING FOR NEW INDEX PAGE PICTURES*/
/* General styling for the image container */
.responsive-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
  }
  
  /* Ensuring the image scales properly */
  .responsive-image-container img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  /* Specific styling for landscape images on larger screens */
  @media (min-width: 768px) {
    .responsive-image-container {
      max-height: 700px; /* Adjust as per your design */
    }
  }

  
  /*Styling for edits page*/

  

  /* General Container for consistent alignment */
  .container {
      max-width: 1352px;
      margin: 0 auto;
      padding: 0 20px;
      box-sizing: border-box;
  }
  
  
  .main-heading-photo-edits {
      color: #333333;
      font-size: 1.4em;
      font-family: ruda;
      text-align: center;
  }
  
  .main-paragraph-photo-edits {
      color: #656460;
      font-size: 0.9em;
      font-family: ruda;
      text-align: center;
      line-height: 30px;
  }
  
  .grey-block-photo-edits {
      background-color: #d9d9d9;
      border-radius: 10px;
      padding: 40px; 
      margin: 20px 0;
      text-align: center;
      box-sizing: border-box;
      width: 100%;
  }
  
  .gallery-block-edits {
      background-color: #d9d9d9;
      border-radius: 10px;
      padding: 20px;
      margin: 20px 0;
      box-sizing: border-box;
      width: 100%;
  }
  
  .gallery-header-edits {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
  }
  
  .gallery-heading-edits {
      font-family: 'Times New Roman', Times, serif;
      font-size: 3em; 
      color: #333333; 
      margin: 0;
  }
  
  .gallery-subheading-edits {
      font-size: 1em;
      color: #656460;
      font-family: ruda;
  }
  
  .gallery-scroll-edits {
      overflow-x: scroll;
      white-space: nowrap;
      margin-bottom: 20px;
  }
  
  .gallery-images-edits {
      display: flex;
      gap: 10px; 
  }
  
  .gallery-images-edits img {
      width: 350px; 
      height: 500px;
      border-radius: 10px;

  }
  
  .image-description-edits {
      text-align: center;
  }
  
  .image-description-text-edits {
      font-size: 0.9em; 
      color: #656460;
      margin-top: 10px; 
      font-family: ruda;
      line-height: 30px;
  }
  

  /*DV STYLING*/

  /* Section Styling for Data Visualization Block */
.dv-container-top, .dv-container-bottom {
    display: flex;
    justify-content: center; /* Center the content */
    align-items: center;
    margin: 40px 0;
    gap: 20px;
    padding: 0 20px; /* Add padding to move content in from the edges */
}

/* Grey Block Styling for Text */
.dv-text-block-left {
    background-color: #f4f4f4; /* Grey background */
    padding: 20px;
    margin-top: 20px;
    max-width: 600px;
    width: 50%; /* Take up half of the container */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Add a soft shadow */
}

.dv-text-block-left h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
    font: ruda;
}

.dv-text-block-left p {
    color: #666;
    font-size: 1.1em;
    line-height: 1.6;
    font: ruda;
}

/* Image Styling (make it smaller) */
.dv-image-right {
    width: 40%; /* Reduce the size of the image */
    max-width: 500px;
    display: block;
    margin: 10px auto;
}

.dv-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add shadow effect */
}

/* Video Container Styling (make it bigger) */
.dv-video-right {
    width: 55%; /* Make the video a little bigger */
    max-width: 700px;
    margin-top: 20px;
}

video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add shadow effect to the video */
}

/* Responsiveness for Smaller Screens (Tablets and Phones) */
@media (max-width: 768px) {
    .dv-container-top, .dv-container-bottom {
        flex-direction: column;
        text-align: center;
    }

    .dv-image, video {
        width: 90%; /* Make the image and video wider on small screens */
        margin-bottom: 20px;
    }

    .dv-text-block-left {
        width: 90%; /* Make text block take more space on smaller screens */
    }
}

/* Extra Small Screens (Phones) */
@media (max-width: 480px) {
    .dv-text-block-left h2 {
        font-size: 1.5em;
    }

    .dv-text-block-left p {
        font-size: 1em;
    }

    .dv-image, video {
        width: 100%;
    }
}