@import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo&family=Ubuntu+Sans:ital,wght@0,100..800;1,100..800&display=swap');
body {
    width: 100%;
    max-width: 80vw;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    margin: 0;
    padding-left: 10vw;
}

.mywork-page {
    max-width: 100vw;
    
    
}
body.mywork-page{
    padding-left: 0vw;
}
.mywork.header{
    padding-left: 0vw;
}
body.mywork-page .submenu {
    padding-left: 12vw;
  }
main{
    padding-top: 0;
    /* padding-bottom: 5vh; */
    
}

h1{
    font-size: 40px;
    text-align: left;
    padding-top: 30px;
    padding-left: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    color: black;
    font-family: noto-sans-cjk-kr, sans-serif;
    font-weight: 400;
    font-style: normal;
    max-width: 80vw;
    
}
img {
    max-width: 100%;
    height: auto;
}

.title
{
    word-wrap: break-word;
    max-width: 100vw;
    padding-left: 10vw;
    

}
.title h1{
    font-size: 40px;
}
p{
    font-size: 16px;
    line-height: 1.8;
    font-family: noto-sans-cjk-kr, sans-serif;
}
h2{
    font-family: noto-sans-cjk-kr, sans-serif;
    color: black;
    font-weight: 400;
    font-size: 20px;
}
h3{
    font-family: noto-sans-cjk-kr, sans-serif;
    color: grey;
    font-weight: 500;
}
a{
    font-family: noto-sans-cjk-kr, sans-serif;
}
video{
    width: 100%;
    height: auto;
}
em{
    font-family: "freight-text-pro", serif;
    font-weight: 400;
    font-style: italic; 

}
.abouttext{
    
    max-width: 80vw;
    line-height: 1.5;
}

.myphoto{
    max-width: 100%;
    height: auto;
 
}
.myphoto img{
    max-width: 80vw;
    height: auto;
    padding-top: 50px;
    border-radius: 10px;
}
.aboutcup{
    display: none;}

.outer {
    height: 400px;
    white-space: nowrap;
    position: relative;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-top: 60px;
    z-index: 1;
    max-width: 100vw;
    
   
}
footer{
    text-align: right;
    border-top: 0.5px solid lightgrey;

}
.footercontainer{
    padding-top: 30px
}
.inner {
    width: 300px;
    background-color: white;
    float: none;
    height: 400px;
    margin: 0 0.25%;
    display: inline-block;
    zoom: 1;
    
}
.inner img{
    object-fit: cover;}

.outer div img {
    width: 300px;
    height: 300px;
    padding: 0;
}
.text-container {
    font-size: 16px; /* Set font size as needed */
    display: flex;
    justify-content: space-between; /* Ensures spacing between elements */
    align-items: center;
}

.text-container span:first-child {
    text-align: left; /* Year aligned to the left */
}

.text-container .medium {
    text-align: right; /* Aligns the description to the right */
    margin-left: auto; /* Pushes this text to the far right */
}
.text-container span {
    display: inline-block;
    vertical-align: top; /* Align text at the top */
    font-family: noto-sans-cjk-kr, sans-serif;
}

.graphics img{  
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.specs{
    padding-top: 10vh;
    padding-bottom: 10vh;
}
@media screen and (min-width: 768px) {
    
    h1{
    font-size: 96px;
    text-align: left;
    padding-bottom: 0;
    /* padding-left: 10vw; */
    margin-bottom: 0;
    color: black;
    font-family: noto-sans-cjk-kr, sans-serif;
    font-weight: 400;
    font-style: normal;
    }
    .title h1{
        font-size: 96px;
    }
    .abouttext{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        column-gap: 20px;
        line-height: 1.5;
        
    }
    .intro1{
        grid-column-start: 3;
        grid-column-end: 5;
        padding-top: 100px;
        display: flex;
        flex-direction: column;
        grid-row-start: 1;
        justify-content: flex-end;
    }
    
    .intro2{
        grid-column-start: 1;
        grid-column-end: 5;
    }
    .intro3{
        grid-column-start: 1;
        grid-column-end: 5;
    }
    .myphoto{
        grid-column-start: 1;
        grid-column-end: 3;
        display: flex;
    }
    .myphoto img{
        width: 100%;
        height: auto;
        padding-top: 100px;
        padding-right: 30px;
        border-radius: 10px;
    }
    .aboutcup{
        grid-column-start: 3;
        grid-column-end: 4;
    }
    .aboutcup img{
        max-width: 100%;
        height: auto;
        border-radius: 10px;
    }
}

/* ===================== */
/* ✅ MOBILE (Phones) ✅ */
/* ===================== */
@media screen and (max-width: 767px) {
    /* body.mywork-page {
        text-align: center;
        padding-left: 5vw;
        padding-right: 5vw;
      }
      
      .mywork-page .outer {
        display: block;
        overflow: visible;
        white-space: normal;
        padding-top: 30px;
        text-align: center;
      }
      
      .mywork-page .inner {
        display: block;
        margin: 0 auto 30px auto;
        width: 100%;
        max-width: 90vw;
      }
      
      .mywork-page .title,
      .mywork-page h1,
      .mywork-page .highlight {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
        margin-left: auto;
        margin-right: auto;
      } */
      
    body {
        max-width: 100vw;
        padding-left: 5vw;
        padding-right: 5vw;
    }

    h1 {
        font-size: 32px; /* Reduce title size */
        text-align: center;
    }

    .title {
        max-width: 100%;
        text-align: center;
    }

    .outer {
        display: flex;
        align-items: center;
        overflow-x: auto;
        padding-top: 30px;
    }

    .inner {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
    /* .outer {
        display: block;
        overflow-x: visible;
        overflow-y: visible;
        padding-top: 30px;
        white-space: normal;
    }
    
    .inner {
        display: block;
        width: 100%;
        height: auto;
        margin-bottom: 30px;
    }
     */

    .inner img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .text-container {
        flex-direction: column;
        text-align: center;
    }

    .text-container span {
        display: block;
    }

    .abouttext {
        display: block;
        max-width: 90vw;
    }

    .myphoto img {
        max-width: 100%;
        padding-top: 30px;
    }
}

/* ===================== */
/* ✅ TABLET STYLES ✅ */
/* ===================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    body {
        max-width: 100vw;
        padding-left: 7vw;
        padding-right: 7vw;
    }

    h1 {
        font-size: 48px;
        text-align: left;
    }

    .title {
        text-align: left;
    }

    .outer {
        max-width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        padding-top: 40px;
    }

    .inner {
        width: 100%;
        height: auto;
    }

    .inner img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .text-container {
        display: flex;
        justify-content: space-between;
    }

    .text-container span {
        display: inline-block;
    }

    .abouttext {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
    }
}
