/*CUSTOM PROPERTIES*/

/* TODO:*/
/* Update this css file and cleanup the code */


/* NORMAL CSS PROPERTIES*/


p {
    font-family: 'Century Gothic',sans-serif;
    color: rgb(255, 255, 255);
    text-align: center;
}

p1{
    font-family:'Century Gothic', sans-serif;
    color: rgb(255, 255, 255);
}

slideshow-text-1{
    font-family: 'Century Gothic', sans-serif;
    color: rgb(255, 255, 255);
    background-color: transparent;
    padding: 0px;
}

body {
    margin: 0;
    background: #000000;
    margin: 0px auto;
}

header {
    background: #000000;
    font-family: 'Century Gothic', sans-serif;
    text-align: center;
    padding-top: 50px;
}

.personalwork-block{
    display:block;
    text-align: center;
    text-decoration: none;
    padding-top:10px;
    
}

.name-block {
    display:block;
    text-align: center;
    text-decoration: none;
    padding-left: 100px;
    padding-top: 0px;
}

.name-container {
    display: flex;
    flex-direction: column;
    align-items: center; 
    float: left;
  }


.introduction-text{
    font-size: 30px;
  }

.about-text-block{
    display: block;
    font-size: 20px;
    padding-top: 20px;
    align-items: center;
    padding: 10px;

}


.side-video-container{
    float: left;
    padding: 10px;

}

.contact-block{
    align-items: center;
    padding-left: 40px;
}

.slider-section{
    align-items: center;
    width: 1080px;
    height: 720px;
    margin-left: auto;
    margin-right: auto;
}

.pdf-block{
    align-items: center;
    width: 1000px;
    height: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   VIDEO SLIDER (RESPONSIVE)
   ========================= */

.slider-section {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 20px 12px;
}

.video-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #111;
  border-radius: 12px;

  /* Default responsive height */
  height: clamp(220px, 50vw, 520px);
}

/* If you prefer breakpoints instead of clamp(), keep these too */
@media (min-width: 600px) {
  .video-slider { height: 360px; }
}

@media (min-width: 900px) {
  .video-slider { height: 480px; }
}

@media (min-width: 1200px) {
  .video-slider { height: 560px; }
}

.slide{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide.is-active{
  left: 0;
}

.video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Caption overlay */
.slide-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;

  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  padding: 10px 12px;
  border-radius: 10px;
  max-width: min(560px, 92%);
}

.slide-title,
.slide-role {
  margin: 0;
  text-align: left;
  color: #fff;
  font-family: 'Century Gothic', sans-serif;
}

.slide-title {
  font-size: clamp(14px, 2.5vw, 18px);
  font-weight: 600;
}

.slide-role {
  margin-top: 4px;
  font-size: clamp(12px, 2.2vw, 16px);
  color: #ffffff;
}

/* Arrows */
.slide-arrow {
  position: absolute;
  top: 0;
  width: 12%;
  max-width: 90px;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.18;
  z-index: 5;
  color:#FFF;
}

.slide-arrow:hover { opacity: 1; }

.slide-arrow.left { left: 0; }
.slide-arrow.right { right: 0; }

.slide-arrow::after {
  content: "‹";
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 48px;
  color: #fff;
  line-height: 1;
}

.slide-arrow.right::after {
  content: "›";
}


h1 {
    margin: 1% 0 0;
    color: #FFF;
    font-family:'Century Gothic', sans-serif;
    font-weight: 200;
    text-align: center;
    padding-bottom: 5px;
}
h2 {
    margin: 1% 0 0;
    color: #FFF;
    font-family: 'Century Gothic', sans-serif;
    font-weight: 300;
    text-align: center;
}
h3{
    margin: 1% 0 0;
    color: #FFF;
    font-family: 'Century Gothic', sans-serif;
    font-weight: 300;
    text-align: center;

}

h4{
    margin: 1% 0 0;
    color: #FFF;
    font-family: 'Century Gothic', sans-serif;
    font-weight: 300;
    text-align: center;
}

h5{
    margin: 0;
    color: #FFF;
    font-family: 'Century Gothic', sans-serif;
    font-weight: 200;
    text-align: center;
}

.centerList{
    align-items: center;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.center-block{
    align-items: center;
    max-width:fit-content;
    margin-left: auto;
    margin-right: auto;
}
ul{
    margin: 0;
    color: #FFF;
    font-family: 'Century Gothic', sans-serif;
    font-weight: 200;
    text-align: left;
    list-style-position: inside;
}

a:link{
    color:  grey;
    background-color: transparent;
    text-decoration: none;
}

.column {
    float: left;
    width: 45%;
    padding: 5px;
  }
  
  .row::after {
    content: "";
    clear: both;
    display: table;
  }

.header-title {
    margin: 0% 0 0;
    font-family: 'Century Gothic', sans-serif;
    letter-spacing: 0px;
    font-weight: 300;
    font-size: 43px;
    color: grey;
    background: transparent;
    padding-left: 0px;

}

.header-subtitle {
    margin: 0.5% 0 0;
    font-family: 'Century Gothic', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: #666;
    float: left;
}

header::after {
    content: "";
    display: table;
    clear: both;
}

footer{
    background-color:#000000;
    text-align: center;
    padding: 10px;
    bottom: 0;
    width: 100%;
}

/* nav css*/

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    /* flexbox to center the items */
    justify-content: center;
    /* center the items horizontally */
    margin-bottom: 50px;
    float: right;
    flex-direction: row;
    font-size: 25px;
}

nav li {
    /* remove float and margin-left */
    margin: 0% 0 0;
    margin-right: 100px;
    position: relative;
    transition: background-color 0.3s;
    
}

nav a {
    color: grey;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Century Gothic', sans-serif;
    position: relative;
    z-index: 1;
    padding: 2px;
    transition: color 0.3s ease;
}





nav a:hover {
    color: lightgrey;
}

nav a:before {
    content: "";
    display: block;
    height: 5px;
    width: 0;
    /* start with 0 width */
    background-color: grey;
    position: absolute;
    top: 0;
    left: 50%;
    /* align the underline in the middle of the text */
    transform: translateX(-50%);
    /* center the underline */
    transition: width 0.3s ease;
    /* added transition for smooth animation */
    z-index: -1;
    /* places the underline behind the text */
}

nav a:hover::before {
    width: 90%;
}


/*A*/

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}


/*zoom in css*/

#image1 {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#image1:hover {
    opacity: 0.7;
}


/*caption of the modal image*/

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px
}

.logo {
    float: left;
}

.container {
    width: 80%;
    margin: 0 auto
}


/* modal with background*/

.modal {
    display: none;
    position: fixed;
    z-index: 99;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

.image-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    align-items: center;
}

.art-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    /* Added border? */
    border: 1px solid #ccc;
    /* removed radius */
    margin: 0;
    padding: 0 3px;
}


/*content / image*/

.modal-content {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 75%;
    max-width: 75%;
    transition: all 0.5s ease-in;
}

.modal-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 10px;
}

.modal-image {
    max-width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 20px;
    transition: all .2s ease-in;
    width: 70%;
    height: 70%;
}

.modal-sidebar-info {
    flex-grow: 1;
    background-color: #000000;
    opacity: 35%;
    padding: 20px;
}

.image-info h3 {
    font-size: 20px;
    margin: 0;
}

.image-info p {
    margin: 10px 0;
}

.modal-content,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

.out {
    animation-name: zoom-out;
    animation-duration: 0.6;
}


/* Slideshow stuffs */

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.slideshow {
    display: none;
}

.text {
    color: #000000;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.ntext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}


/* Fading animation */

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}


.page-fade {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: opacity 0.7s ease, visibility 0.5s ease;
}

.page-fade.active {
    opacity: 0.5;
    visibility: visible;
}


/* For modal */

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(1)
    }
    to {
        -webkit-transform: scale(2)
    }
}

@keyframes zoom {
    from {
        transform: scale(0.4)
    }
    to {
        transform: scale(1)
    }
}

@-webkit-keyframes zoom-out {
    from {
        transform: scale(1)
    }
    to {
        transform: scale(0)
    }
}

@keyframes zoom-out {
    from {
        transform: scale(1)
    }
    to {
        transform: scale(0)
    }
}


/* Imported animations from the client website to reuse on my website */

@keyframes fade {
    from {
        opacity: 0.4
    }
    to {
        opacity: 1
    }
}

.text-focus-in {
    animation: text-focus-in 2.4s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}


/* Class for blinking text */

.text-blink {
    animation: text-blink 3s ease 0s 10 normal forwards;
}


/* Class for expanding text with tracking */

.tracking-in-expand {
    animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    animation-timeline: view();
    animation-range: entry;
}


/* Button related animations */


/* Class for sliding in elements from the bottom */

.slide-in-bottom {
    animation: slide-in-bottom 3.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-timeline: view();
    animation-range: entry 10%;
}


/* Class for sliding in elements from the bottom, used only once */

.slide-in-bottom-once {
    animation: slide-in-bottom 3.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}


/* Image related animations */


/* Class for sliding in images from the bottom */

.slide-in-bottom-image {
    animation: slide-in-bottom 3.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-timeline: view();
    animation-range: contain 0% contain 70%;
    view-timeline-inset: -10%;
}


/* Class for sliding in the last image from the bottom */

.slide-in-last-image {
    animation: slide-in-bottom 3.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-timeline: view();
    animation-range: contain 0% contain 40%;
    view-timeline-inset: -5%;
}


/* Class for scaling in elements horizontally from the left */

.scale-in-hor-left {
    animation: scale-in-hor-left 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}


/* Class for sliding in elements blurred from the right */

.slide-in-blurred-right {
    animation: slide-in-blurred-right 3.0s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
    animation-timeline: view();
    animation-range: entry;
}


/* Class for Ken Burns effect animation from the top */

.kenburns-top {
    animation: kenburns-top 5s ease-out both;
}


/* Class for sliding in elements forward from the center */

.slide-in-fwd-center {
    animation: slide-in-fwd-center 3.0s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-timeline: view();
    animation-range: entry;
}


/* Shadow drop classes */


/* Class for shadow drop effect in the center */

.shadow-drop-center {
    animation: shadow-drop-center 1.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-timeline: view();
    animation-range: entry;
}


/* Class for shadow drop effect in the center with different shadow strength */

.shadow-drop-center-10 {
    animation: shadow-drop-center 1.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-timeline: view();
    animation-range: entry;
}


/* Class for static shadow drop effect in the center */

.shadow-drop-center-static {
    animation: shadow-drop-center-static 1.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-timeline: view();
    animation-range: entry;
}


/* Scale and other animations */


/* Class for scaling up elements from the center */

.scale-up-center {
    animation: scale-up-center 1.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation-timeline: view();
    animation-range: entry;
}


/* Class for sliding in elements from the right */

.slide-in-right {
    animation: slide-in-right 1.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}


/* Class for sliding in elements from the left */

.slide-left {
    animation: slide-left 1.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-timeline: view();
    animation-range: entry 20%;
}


/* Class for sliding in elements from the left on entry */

.slide-left-onentry {
    animation: slide-left 1.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-timeline: view();
    animation-range: entry 10%;
}


/* Class for sliding in elements from the top */

.slide-top {
    animation: slide-top 1.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}


/* Class for scaling in elements horizontally from the left (duplicate, needs review) */

.scale-in-hor-left {
    animation: scale-in-hor-left 1.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}


/* Some fade animations */

/* Class for fading in images */

.image-fade-in {
    animation: img-fade-in 1.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation-timeline: view();
    animation-range: entry 10%;
}


/* Keyframes for the image fade-in animation */

@keyframes img-fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/* Class for fading in elements */

.owd-fade-in {
    animation: owd-fade-in linear forwards;
    animation-timeline: view();
    animation-range: entry;
}


/* Class for fading in elements from the right */

.owd-fade-right {
    animation: owd-fade-in linear forwards;
    animation-timeline: view();
    animation-range: entry;
}


/* Keyframes for fading in elements from the right (used for the enquiry form) */

@keyframes owd-fade-right {
    0% {
        opacity: 0;
        transform: translateY(1000px);
    }
    50% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}



/* Keyframes for fading in elements */

@keyframes owd-fade-in {
    0% {
        opacity: 0;
        transform: translateY(300px);
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}


/* CSS Keyframes */


/* Shadow drop keyframes */


/* Keyframes for shadow drop effect in the center */

@keyframes shadow-drop-center {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.60);
    }
}


/* Keyframes for shadow drop effect in the center with different shadow strength */

@keyframes shadow-drop-center-10 {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.40);
    }
}


/* Keyframes for static shadow drop effect in the center */

@keyframes shadow-drop-center-static {
    100% {
        box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.60);
    }
}


/* Other transitions keyframes */


/* Keyframes for sliding elements to the left */

@keyframes slide-left {
    0% {
        opacity: 0;
        transform: translateX(-250%);
    }
    50% {
        opacity: 0.50;
        transform: translateX(-50%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Keyframes for sliding elements to the top */

@keyframes slide-top {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}


/* Keyframes for Ken Burns effect from the top */

@keyframes kenburns-top {
    0% {
        transform: scale(1) translateY(0);
        transform-origin: 50% 16%;
    }
    100% {
        transform: scale(1.1) translateY(-15px);
        transform-origin: top;
    }
}


/* Keyframes for scaling up elements from the center */

@keyframes scale-up-center {
    0% {
        transform: scale(0.5);
    }
    100% {
        transform: scale(1);
    }
}


/* Keyframes for focusing in text */

@keyframes text-focus-in {
    0% {
        filter: blur(30%);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        filter: blur(0%);
        opacity: 1;
    }
}


/* Keyframes for sliding elements forward from the center */

@keyframes slide-in-fwd-center {
    0% {
        transform: translateZ(1400%);
        opacity: 0;
    }
    100% {
        transform: translateZ(0);
        opacity: 1;
    }
}


/* Keyframes for sliding elements blurred from the right */

@keyframes slide-in-blurred-right {
    0% {
        transform: translateX(1000%) scaleX(2.5) scaleY(0.2);
        transform-origin: 0% 50%;
        filter: blur(40px);
        opacity: 0;
    }
    100% {
        transform: translateX(0) scaleY(1) scaleX(1);
        transform-origin: 50% 50%;
        filter: blur(0);
        opacity: 1;
    }
}


/* Keyframes for scaling in elements horizontally from the left */

@keyframes scale-in-hor-left {
    0% {
        transform: scaleX(0);
        transform-origin: 0% 0%;
        opacity: 1;
    }
    100% {
        transform: scaleX(1);
        transform-origin: 0% 0%;
        opacity: 1;
    }
}


/* Text keyframes */


/* Keyframes for expanding text with tracking */

@keyframes tracking-in-expand {
    0% {
        letter-spacing: -0.5em;
        opacity: 0;
    }
    40% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}


/* Keyframes for sliding elements to the right */

@keyframes slide-in-right {
    0% {
        transform: translateX(1000%);
        opacity: 0;
    }
    50% {
        transform: translateX(500%);
        opacity: 0.5;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


/* Keyframes for blinking text */

@keyframes text-blink {
    0%,
    50%,
    100% {
        opacity: 1;
    }
    25%,
    75% {
        opacity: 0;
    }
}


/* Button Keyframes */


/* Keyframes for sliding in elements from the bottom */

@keyframes slide-in-bottom {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    25% {
        transform: translateY(75%);
        opacity: 0.25;
    }
    50% {
        transform: translateY(50%);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* =========================
   FIXES FOR MOBILE
   (override-only, no redesign)
   ========================= */

/* Your first .slider-section forces 1080px; this prevents overflow on mobile */
.slider-section {
  width: min(1080px, 100%);
  height: auto; /* don't force 720px on small screens */
}

/* Make intro text readable on mobile (same look, just scales down) */
@media (max-width: 700px) {
  .introduction-text {
    font-size: 18px;
    padding: 0 12px;
  }
}

/* Stop the navigation overflowing on mobile */
@media (max-width: 800px) {
  nav ul {
    float: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 18px;
  }

  nav li {
    margin-right: 0;
  }

  .name-block {
    padding-left: 0;
  }

  .name-container {
    float: none;    
    align-items: center;
  }

  .header-subtitle {
    float: none;
  }

  header {
    padding-top: 20px;
  }
}

/* Fix your broken media rule (units + valid margin) */
@media (max-width: 600px) {
  .header { max-width: 400px; padding-top: 75px; }
  .header-title { max-width: 400px; font-size: 30px; }
  .header-subtitle { margin: 0; font-size: 20px; float: none; }
}


