@font-face {
    font-family: 'Jersey20';
    src: url('/fonts/Jersey20-Regular.woff2') format('woff2'),
         url('/fonts/Jersey20-Regular.woff') format('woff');
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(135deg, #000f08, #825fc7);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    font-family: 'Jersey20';
    background: linear-gradient(135deg, #000f08 0%, #44335b 60%, #825fc7 100%);
    background-attachment: fixed;
}

header {
    text-align: center;
    padding: 20px;
    color: #f8f9fa;
    position: relative;
}

a{
    text-decoration: none;
    color: #f8f9fa;
}

.back-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #f8f9fa;
    transition: 0.2s;
}

.back-button:hover {
    color: #c2b8d5;
}

h1{
    font-weight: 90;
    font-size: 35px;
}

h2{
    font-size: 38px;
}

h3{
    display: flex;
    font-size: 27px;
    font-weight: 90;
    margin-left: 45px;
}
p{
    background: #495057;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.about {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
}
.about-text {
    width: 50%;
    text-align: left;
    color: #f8f9fa;
    font-size: 30px;
}
.about img {
    width: 23%;
    border-radius: 15px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

button {
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #f8f9fa;
    transition: 0.2s;
    padding: 10px 20px;
    border: none;
    background: linear-gradient(135deg, #000f08, #c2b8d5);
    font-family: 'Jersey20';
    font-size: 25px;
    border-radius: 15px;
}

button:hover {
    transform: scale(1.05);
    transition: 0.4s;
}

.projects-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    color: #f8f9fa;
    margin-top: 60px;
}

.learning-outcomes-container {
    max-width: 1350px;
    margin: 20px auto;
    padding: 20px;
    color: #f8f9fa;
    margin-top: 60px;
}

.collapsible {
    background-color: #343a40;
    color: white;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    height: 76px;
    border: none;
    text-align: left;
    outline: 10px;
    font-size: 28px;
    font-family: 'Jersey20';
    border-radius: 15px;
    margin-bottom: 10px;
    transition: 0.4s;
}

.collapsible:hover {
    transform: scale(1.05);
    transition: 0.4s;
}

.collapsible.active-hover {
    transform: scale(1.05);
    transition: 0.4s;
}

.content {
    display: none;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #222;
    color: white;
    border-radius: 5px;
    margin-bottom: 10px;
}

.active {
    display: block;
}

.back-button {
    cursor: pointer;
    font-size: 25px;   
}

.back-button:hover {
    transform: scale(1.6);
    transition: 0.2s;
}

.proof{
    display: block;
    margin-bottom: 25px;
    line-height: 1.2;
    text-align: start;
    font-size: 22px;
    max-width: 1100px;
    margin-left: 80px;
    margin-right: 80px;
}

footer {
    margin-top: auto;
    padding: 10px;
    background: #343a40;
    color: white;
    text-align: center;
}

.footer_text{
    background: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

b{
    color: #9fcc72;
    font-weight: 80;
}

.am {   
    display: inline-block;
    transition: transform 0.4s;
    text-decoration: underline;
}

.am:hover {    
    transform: scale(1.07);
}

.image-slider{
    display: grid;
    grid-template-columns:auto auto;
    justify-content: space-around;
    align-items: center;
    align-content: center;
}

.image-slider2{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}

.challenge1{
    width: 550px;
    height: auto;
}

.challenge2{
    width: 750px;
    height: auto;
}

.maddie-logos{
    width: 400px;
    height: auto;
}

.pprototypes{
    width: 400px;
    height: auto;
}


.slideshow-container {
    flex: 1;
    position: relative;
    max-width: 400px;
    display: flex;
    flex-direction: column;

}

.slideshow-container2 {
    flex: 1;
    position: relative;
    max-width: 550px;
    display: flex;
    flex-direction: column;
}

.slideshow-container3 {
    flex: 1;
    position: relative;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}

.slideshow-container4 {
    flex: 1;
    position: relative;
    max-width: 550px;
    display: flex;
    flex-direction: column;
}

.slideshow-container5 {
    flex: 1;
    position: relative;
    max-width: 750px;
    display: flex;
    flex-direction: column;
    margin-left: auto;     
    margin-right: auto;
} 

.slideshow-container6 {
    flex: 1;
    position: relative;
    max-width: 550px;
    display: flex;
    flex-direction: column;
}

.slideshow-container7 {
    flex: 1;
    position: relative;
    max-width: 550px;
    display: flex;
    flex-direction: column;
}

.slideshow-container8 {
    flex: 1;
    position: relative;
    max-width: 550px;
    display: flex;
    flex-direction: column;
}

.slideshow-container9 {
    flex: 1;
    position: relative;
    max-width: 550px;
    display: flex;
    flex-direction: column;
}


.static-image {
    flex: 1;
    max-width: 400px;
}

.static-image img {
    width: 100%;
    height: auto;
    display: block;
}


.mySlides {
    display: none;
}

.mySlides2 {
    display: none;
}

.mySlides3 {
    display: none;
}

.mySlides4 {
    display: none;
}

.mySlides5 {
    display: none;
}

.mySlides6 {
    display: none;
}

.mySlides7 {
    display: none;
}

.mySlides8 {
    display: none;
}

.mySlides9 {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}

.active, .dot:hover {
    background-color: #717171;
}

.dot2 {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}

.active, .dot2:hover {
    background-color: #717171;
}

.dot3 {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}

.active, .dot3:hover {
    background-color: #717171;
}

.dot4 {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}

.dot5 {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}

.dot6 {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}


.dot7 {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}

.active, .dot7:hover {
    background-color: #717171;
}
.active, .dot4:hover {
    background-color: #717171;
}

.active, .dot5:hover {
    background-color: #717171;
}

.active, .dot6:hover {
    background-color: #717171;
}

.dot8 {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}

.active, .dot8:hover {
    background-color: #717171;
}

.dot9 {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}

.active, .dot9:hover {
    background-color: #717171;
}
.logo-proof{
    display: flex;
    justify-content: space-around;
}

figcaption{
    font-size: 21px;
}

.threed_model{
    background: linear-gradient(135deg, #000f08, #c2b8d5);
    padding: 20px 30px;
    border-radius: 15px;
    font-size: 20px;
    transition: 0.2s;
}

.threed_model:hover{
    transform: scale(1.05);
    transition: 0.2s;
}

pre {
    background-color: #1e1e1e; 
    color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    text-align: left;
    font-family: "Courier New", monospace;
    font-size: 14px;
}

code {
    display: block;
    text-align: left;
    white-space: pre-wrap;
    word-wrap: break-word; 
}


video{
    max-width: 550px;
}

.portrait{
    max-width: 330px;
}

.spread{
    max-width: 980px;
}

.spread2{
    max-width: 750px;
}

.stylescapes{
    max-width: 550px;
}

.project-link{
    background: none;
    font-size: 20px;
    transition: 0.2s;
    display: inline-block;
    background: linear-gradient(135deg, #000f08, #c2b8d5);
}

.project-link:hover{
    transition: 0.2s;
    transform: scale(1.05);
}

.fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .fullscreen-image {
    max-width: 90%;
    max-height: 90%;
  }
  
  .close-button {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 1001;
  }
  
  .close-button:hover {
    color: red;
  }

img{
    cursor: pointer;
    transition: transform 0.3s;
}

img:hover{
    transform: scale(1.02);
}

.scroll-link {
  color: #9fcc72;
  text-decoration: underline;
  cursor: pointer;
}

ul{
    font-size: 20px;
    text-align: left;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    background: #495057;
}

li{
    padding-right: 80px;
}

footer {
    background: #23272f;
    color: #fff;
    text-align: center;
    letter-spacing: 0.2px;
}

.contactme {
    font-size: 22px;
    font-weight: 500;
    margin: 0;
}

.contact_me {
    display: inline-block;
    margin: 0 18px;
    color: #74b9ff;
    font-size: 18px;
    text-decoration: none;
    font-weight: 400;
    border-radius: 5px;
    padding: 4px 14px;
    transition: background 0.15s, color 0.15s;
    vertical-align: middle;
}

.contact_me:hover, .contact_me:focus {
    background: #374151;
    color: #a29bfe;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .contactme {
        font-size: 18px;
    }
    .contact_me {
        font-size: 16px;
        padding: 4px 10px;
        margin: 0 8px;
    }
}

.am2{
display: inline-block;
    transition: transform 0.4s;
    text-decoration: underline;
    margin: 0 18px;
}

.am2:hover {    
    transform: scale(1.07);
}

/* --- RESPONSIVE DESIGN OVERRIDES --- */

/* Tablet and below */
@media (max-width: 1000px) {
  .about {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 8px;
  }
  .about-text {
    width: 95%;
    text-align: center;
    font-size: 20px;
    margin-bottom: 18px;
  }
  .about img {
    width: 70vw;
    max-width: 300px;
    min-width: 130px;
    margin: 0 auto 18px auto;
    display: block;
  }
  .button-container {
    flex-direction: column;
    gap: 10px;
    width: 100vw;
    margin: 0 auto 20px auto;
  }
  .projects-container, .learning-outcomes-container {
    padding: 8px;
    margin-top: 14px;
    width: 99vw;
  }
  .proof, ul {
    font-size: 15px;
    padding: 10px;
    margin-left: 0;
    margin-right: 0;
    max-width: 97vw;
  }
  h1, h2, h3 {
    font-size: 5vw;
    margin-left: 0;
  }
  .challenge1, .challenge2, .maddie-logos, .pprototypes, .spread, .spread2, .stylescapes, .portrait, video {
    max-width: 97vw !important;
    width: 100% !important;
    height: auto !important;
  }
  .image-slider,
  .image-slider2,
  .logo-proof {
    display: block !important;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  .slideshow-container,
  .slideshow-container2,
  .slideshow-container3,
  .slideshow-container4,
  .slideshow-container5,
  .slideshow-container6,
  .slideshow-container7,
  .slideshow-container8,
  .slideshow-container9 {
    max-width: 100vw;
    margin: 0 auto;
  }
  pre, code {
    font-size: 11px;
    max-width: 96vw;
    padding: 5px;
  }
  .collapsible {
    font-size: 18px;
    height: auto;
    padding: 9px;
  }
  .threed_model {
    padding: 10px 14px;
    font-size: 15px;
  }
  figcaption {
    font-size: 12px;
    padding: 0 2vw;
  }
  .content {
    padding: 8px;
    margin-bottom: 6px;
  }
  ul {
    font-size: 14px;
    padding: 7px;
  }
  li {
    padding-right: 0;
    margin-bottom: 2px;
  }
  footer, .contactme {
    font-size: 14px;
    padding: 7px;
  }
  .static-image,
  .static-image img {
    max-width: 97vw !important;
  }
  iframe {
    width: 96vw !important;
    min-width: 0 !important;
    height: 200px !important;
  }
  .back-button {
    font-size: 22px;
    top: 10px;
    right: 10px;
  }
}

/* Phones (smaller than 600px) */
@media (max-width: 600px) {
  header h1 {
    font-size: 8vw;
    padding: 8px;
  }
  h2 {
    font-size: 7vw;
  }
  h3 {
    font-size: 5vw;
    margin-left: 0;
  }
  .about-text {
    font-size: 15px;
  }
  .proof, ul {
    font-size: 12px;
  }
  .back-button {
    font-size: 17px;
    top: 6px;
    right: 8px;
  }
  .contactme, footer {
    font-size: 12px;
    padding: 4px;
  }
  .about img {
    width: 92vw;
    max-width: 170px;
  }
  .button-container button,
  button,
  .threed_model,
  .collapsible {
    font-size: 13px;
    padding: 9px;
  }
  pre, code {
    font-size: 9.5px;
    padding: 3px;
  }
  iframe {
    width: 99vw !important;
    min-width: 0 !important;
    height: 120px !important;
  }
}

@media (max-width: 400px) {
  .about img {
    width: 98vw;
    max-width: 120px;
  }
  .proof, ul, figcaption {
    font-size: 10px;
    padding: 4px;
  }
  .collapsible, .threed_model, button {
    font-size: 10px;
    padding: 7px;
  }
}
