
.center{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
}

.name{
    font-size: 150px;
    margin: 0;
    margin-top: -10px;
    background: linear-gradient(45deg, #7e91ff, #cf00f8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadein 1s forwards ease;
    opacity: 0;
    letter-spacing: -10px;
}

@media only screen and (max-width: 650px) {
    .name {
        font-size: 100px;
        letter-spacing: -7px;
    }
  }
  
@media only screen and (max-width: 450px) {
    .name {
        font-size: 70px;
        letter-spacing: -5px;
    }
  }
  

@keyframes fadein {
    from{
        opacity: 0;
        transform: translateY(10px);
    }
    to{
        opacity: 1;
    }
}

.nameholder{
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.nameholder .subtitle{
    margin: 0;
    margin-top: -25px !important;
    font-size: 25px;
    background: linear-gradient(45deg, #7e91ff, #cf00f8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadein 1s forwards ease;
    opacity: 0;
    animation-delay: .5s;
}

@media only screen and (max-width: 450px) {
    .nameholder .subtitle{
        margin-top: -15px !important;
        font-size: 20px;
    }
  }

.middle{
    width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0px;
}

.dergfull{
    width: 500px;
    margin-right: -200px;
    position: relative;
    z-index: 2;
    animation: fadein2 1s forwards ease;
    opacity: 0;
    animation-delay: .2s;
}

@keyframes fadein2 {
    from{
        opacity: 0;
        transform: translateY(30px);
    }
    to{
        opacity: 1;
    }
}

#modalImage{
    pointer-events: none;
}

@keyframes fadein3 {
    from{
        opacity: 0;
        transform: translateY(30px);
    }
    to{
        opacity: 0.2;
    }
}

.a5050{
    width: 700px;
    position: absolute;
    display: flex;
    z-index: 500;
}

@media only screen and (max-width: 710px) {
  .a5050 {
    display: none;
  }
}

.a5050 .left{
    flex: 1;
    display: flex;
    justify-content: left;
    margin-right: 5px;
    text-align: left;
    animation: fadeinleft 1s forwards ease;
    opacity: 0;
    animation-delay: 1s;
}

.a5050 .right{
    flex: 1;
    display: flex;
    justify-content: right;
    margin-left: 5px;
    text-align: right;
    animation: fadeinright 1s forwards ease;
    opacity: 0;
    animation-delay: 1s;
}

@keyframes fadeinleft {
    from{
        opacity: 0;
        transform: translateX(30px);
    }
    to{
        opacity: 1;
    }
}

@keyframes fadeinright {
    from{
        opacity: 0;
        transform: translateX(-30px);
    }
    to{
        opacity: 1;
    }
}

.a5050 div:nth-child(1) .pointer{
    display: flex;
    justify-content: left;
}

.a5050 div:nth-child(2) .pointer{
    display: flex;
    justify-content: right;
}

.pointer{
    height: 20px;
    opacity: 0.6;
    position: absolute;
    /* cursor: pointer; */
    animation: lines 1s forwards ease;
    animation-delay: 1s;
    white-space: nowrap;
}

.pointer p{
    margin: 0;
    padding: 0px 5px;
    text-shadow: 0px 0px 8px black, 
    0px 0px 3px black
    ;
}

.lineholder{
    flex: 1; /* set to 0 for the cool hover animation */
    display: flex;
    align-items: center;
    justify-content: center;
    /* opacity: 0;
    transition: all 0.5s; */
}

@keyframes lines {
    from{
        width: 0px;
    }
}


/*
.pointer:hover .lineholder{
    flex: 1;
    opacity: 1;
}

.pointer:hover .dotholder{
    opacity: 1;
}
*/


.line{
    flex: 1;
    background-color: white;
    height: 1px;
    box-shadow: 0px 0px 3px black;
}

.dot{
    width: 5px;
    height: 5px;
    background-color: white;
    position: absolute;
    border-radius: 100px;
    box-shadow: 0px 0px 3px black;
}

.dotholder{
    max-width: 5px; /* jank but eh */
    display: flex;
    align-items: center;
    justify-content: center;
    /* opacity: 0;
    transition: all 0.5s; */
}

.miniyap{
    position: absolute;
    top: 19px;
    font-size: 11px;
    opacity: 0.5;
}

/* floofer points! */

/* left points */
.a5050 .left .pointer:nth-child(1){
    transform: translateY(-380px);
    width: 320px;
}

.a5050 .left .pointer:nth-child(2){
    transform: translateY(-275px);
    width: 255px;
}

.a5050 .left .pointer:nth-child(3){
    transform: translateY(-223px);
    width: 318px;
}

.a5050 .left .pointer:nth-child(4){
    transform: translateY(-100px);
    width: 335px;
}

.a5050 .left .pointer:nth-child(5){
    transform: translateY(430px);
    width: 205px;
}




/* right points */
.a5050 .right .pointer:nth-child(1){
    transform: translateY(-370px);
    width: 320px;
}

.a5050 .right .pointer:nth-child(2){
    transform: translateY(-317px);
    width: 310px;
}

.a5050 .right .pointer:nth-child(3){
    transform: translateY(-270px);
    width: 325px;
}

.a5050 .right .pointer:nth-child(4){
    transform: translateY(-214px);
    width: 275px;
}

.a5050 .right .pointer:nth-child(5){
    transform: translateY(90px);
    width: 185px;
}

.a5050 .right .pointer:nth-child(6){
    transform: translateY(190px);
    width: 135px;
}

.content{
    width: 100%;
    max-width: 1000px;
    text-align: left;
}

.content h2{
    color: #c200f8;
    margin-bottom: 10px;
}

.content h2::after{
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #530769;
    margin-top: 2px;
}

.page{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.content h3{
    color: #c200f8;
    opacity: 0.6;
    margin-top: 10px;
    margin-bottom: 10px;
}

.content h3::after{
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #530769;
    margin-top: 2px;
}

.content p{
    margin: 0;
}


.container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 2px; 
  }

  @media only screen and (max-width: 750px) {
    .container {
        grid-template-columns: repeat(2, 1fr); 
    }
  }
  
  @media only screen and (max-width: 550px) {
    .container {
        grid-template-columns: repeat(1, 1fr); 
    }
  }
  
  .container > div {
    background-color: #383838;
    font-size: 30px;
    text-align: center;
    margin: 0;
    aspect-ratio: 1 / 1; 
    padding: 10px; 
    display: flex;
    align-items: center;
    justify-content: center;
  }

  @media only screen and (max-width: 550px) {
    .container > div {
        aspect-ratio: auto; 
        padding: 40px 10px; 
    }
  }
  

  .container > div.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  .container > div h1{
    margin: 0;
    font-size: 25px;
    line-height: 27px;
  }

  .container > div p{
    margin: 0;
    font-size: 15px;
    margin-bottom: -2px;
    opacity: 0.3;
    line-height: 20px;
  }

  .grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 10px; 
    padding-top: 5px;
  }

  @media only screen and (max-width: 1000px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr); 
    }
  }

  @media only screen and (max-width: 500px) {
    .grid-container {
        gap: 20px;
    }
  }


.grid-item{
    font-size: 14px;
}

.minibox{
    display: flex;
    margin-bottom: 2px;
}

.minibox .left{
    display: flex;
    align-items: start;
    justify-content: center;
}

.minibox .left span{
    font-size: 25px;
}

.minibox .right{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 7px;
}

.minibox .right h1{
    margin: 0;
    font-size: 22px;
    margin-top: -5px;
}

.optional{
    opacity: 0.5;
    font-size: 12px;
    font-weight: normal;
}

@media only screen and (max-width: 700px) {
  .optional {
    display: block;
  }
}

.minih2{
    font-size: 15px;
    opacity: 0.6;
}

.minip{
    font-size: 12px;
    opacity: 0.6;
}

.ref-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; 
    grid-template-rows: 200px 200px 250px 250px 250px 250px 250px 200px 300px 300px;      
    gap: 10px;           
  }

  .ref-item {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

  }

  .ref-item.active {
    opacity: 1;
    transform: translateY(0);
  }

  .ref-item:hover .custom-cursor {
    opacity: 1; 
  }

  .ref-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
    cursor: zoom-in;
  }

  
  .item1 {
    grid-column: 1 / 3; 
    grid-row: 1 / 3; 
  }

  .item2 {
    grid-column: 3 / 4; 
    grid-row: 1 / 3;    
  }

  .item3 {
    grid-column: 1; 
    grid-row: 3;    
  }

  .item4 {
    grid-column: 1; 
    grid-row: 4;    
  }

  .item5 {
    grid-column: 2 / 4; 
    grid-row: 3 / 5;    
  }

  .item5 img{
    object-position: top;
  }

  .item6 {
    grid-column: 1 / 3; 
    grid-row: 5 / 7;    
  }

  .item7 {
    grid-column: 3 / 4; 
    grid-row: 5 / 7;    
  }

  .item8 {
    grid-column: 2 / 4; 
    grid-row: 7 / 9;    
  }

  .item9 {
    grid-column: 1 / 1; 
    grid-row: 7 / 9;      
    background: linear-gradient(-225deg, 
                        rgb(155, 18, 24) 0%, 
                        rgb(155, 18, 24) 16.66%, 
                        rgb(255, 65, 28) 16.66%, 
                        rgb(255, 65, 28) 33.33%, 
                        rgb(241, 212, 74) 33.33%, 
                        rgb(241, 212, 74) 50%, 
                        rgb(42, 204, 19) 50%, 
                        rgb(42, 204, 19) 66.66%, 
                        rgb(15, 76, 192) 66.66%, 
                        rgb(15, 76, 192) 83.33%, 
                        rgb(96, 0, 203) 83.33%, 
                        rgb(96, 0, 203) 100%);
    border-radius: 7px;
  }

  .item9 img{
    object-fit: contain;
    filter: drop-shadow(0px 0px 5px black);
  }

  .item10 {
    grid-column: 1 / 3; 
    grid-row: 9 / 11;    
  }
  
  .item11 {
    grid-column: 3 / 3; 
    grid-row: 9 / 9;    
  }
  
  .item12 {
    grid-column: 3 / 3; 
    grid-row: 10 / 10;    
  }


  @media only screen and (max-width: 700px) {
    .ref-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto; 
        gap: 10px;
    }
    .item1, .item2, .item3, .item4, .item5, .item6, .item7, .item8, .item9, .item10, .item11, .item12 {
        grid-column: span 1; 
        grid-row: auto; 
      }
  }
  
  .overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgb(208, 31, 31); /* Semi-transparent black background */
    color: white;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 5px;
  }

  @media only screen and (max-width: 450px) {
    .overlay {
        font-size: 0.7rem;
        padding: 2px 7px;
    }
  }

  .overlay.active {
    opacity: 1;
    transform: translateY(0);
  }

  .modal {
    visibility: hidden;
    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;
    overflow: hidden;
    opacity: 0; 
    transition: opacity 0.2s ease-in;
  }
  
  .modal-content {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .modal.show {
    visibility: visible;
    display: flex;
    opacity: 1; 
  }
  
  .modal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .modal::after {
    font-family: 'Material Symbols Outlined', sans-serif; 
    content: 'close';
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 60px;
    cursor: pointer;
    color: rgb(224, 17, 17);
    text-shadow: 0px 0px 10px red;
  }

.modalOverlay{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 50000;
    bottom: 0;
    margin-bottom: 15px;
}

.modalOverlay a{
    text-decoration: none;
}

.modalOverlay .overlay{
    position: relative;
    bottom: 0;
    left: 0;
    font-size: 20px;
}

.copyright{
    margin-bottom: 10px;
}

.funfacts{
  grid-template-columns: repeat(2, 1fr); 
}

