
/*CONTAINER THEMES */
@container style(--theme: dark) {
    body {
        --color-black: #FAF9F6;
        --color-white: #000000;
        --color-red: #0000FF;
        --color-blue: #FF0000;
        --color-purple: #f5f9e4;
        --color-pastel-green: #6563f6;
    }
}

#header_logo{
    height: 1rem;
}

/* HOME PAGE STYLES */
/*INTRODUCTION SECTION*/
.intro{
    display: contents;
    
}

.intro_img {
  position: relative;
  width: 100%;
  height: 800px; /* adjust to match your original GIF */
  overflow: hidden;
}

.intro_text{
    gap: 1rem;
    flex-direction: column;
    margin: 2rem;
    display: flex;
    justify-content: flex-start;
    align-items: start;
    text-align: left;
    color: var(--color-black);
}

.intro_text p{
    font-size: 1.6rem;
    max-width: 800px;
}


/* ARTICLE CARDS */

.article_card-overlay {
    display: none;
}
.article_card {
    position: relative;
    overflow: hidden;
}
.article_card-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    inset: 0;
    background: rgba(176, 185, 209, 0.377);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    padding: 2rem 1rem 1.5rem 1rem;
    transition: opacity 0.5s ease-in-out;
    z-index: 2;
}
.article_card:hover .article_card-overlay,
.article_card:focus-within .article_card-overlay {
    opacity: 1;
    pointer-events: auto;
    cursor: var(--cursor-hover);
}
/* Hide info outside overlay on desktop */

.intro__content{
    display: contents;
}

.article_cards{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 1rem;
}

.article_card {
    display: flex;
    flex-direction: column;
    border: none;
    text-align:left;;
    transition: all .3s ease;
    gap: 0.25rem;
    text-wrap: nowrap;
    height: 100%;
    padding: 1rem;
    border: 2px solid var(--color-black);
}

.article_card-image{
    display: contents;
    justify-content: center;
    align-items: center;
}
.article_card img{
    width: 100%;
    align-self: stretch;
    height:30rem;
    object-fit: cover;
}

.article_card-details{
display: flex;
justify-content: space-between;
align-items: flex-start;
align-self: stretch;
}

.article_card img:hover {
    color: var(--color-white);
}

#low-poly-cover{
width: 90rem;
}

/* ROTATING ICON */
#rotating_icon:hover path{
    cursor: var(--cursor-hover);
}

footer{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

/* ARTICLES PAGE  */
.mwg_effect000 {
  height: 100vh;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
}
.mwg_effect000 .header div:nth-child(2) {
  font-size: 26px;
}
.mwg_effect000 .header div:last-child {
  display: flex;
  justify-content: flex-end;
}
.mwg_effect000 .button {
  font-size: 14px;
  text-transform: uppercase;
  
  border-radius: 24px;
  height: 48px;
  gap: 5px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  width: max-content; 
}

.mwg_effect000 .button img {
  width: 22px;
  height: auto;
  display: block;
}

.mwg_effect000 .medias {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1vw;
}
.mwg_effect000 .medias img {
  width: 11vw;
  height: 11vw;
  object-fit: fill;
  border-radius: 4%;
  display: block;
  will-change: transform;
}

@media (max-width: 768px) {
  .mwg_effect000 .medias {
      gap: 1vw;
  }
  .mwg_effect000 .medias img {
      width: 24vw;
      height: 24vw;
  }
}

/* ABOUT PAGE */
.about-image-intro{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  margin-top: 12rem;
}
.about-image-intro img{
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
}

/* CONTACT PAGE */

#marquee-contact{
  padding-top: 4rem;
  background-color: var(--color-white);

  border: none;
}
#track-reverse-contact h2{
  font-size: 6rem;
  color: var(--color-green);
}

/*  ▼  contact.css  ▼  */
.contact {
  display: flex;
  flex-direction: column;
  padding-top: 12rem;
  justify-content: space-between;
  --gap: 1rem;
  margin: 0 auto;
  padding: 2rem var(--gap);
  border-radius: 1rem;
  width: webkit-fill-available;
}

/* Cool font from Google Fonts! */
@import url('https://fonts.googleapis.com/css?family=Raleway:900&display=swap');

body {
	margin: 0px;
}

#container {

	/* This filter is a lot of the magic */
	filter: url(#threshold) blur(0.7px);
}

#text1, #text2 {
  padding-top: 4rem;
	position: absolute;
	width: 100%;
	display: inline-block;
	
	font-family: 'Raleway', sans-serif;
	font-size: 20rem;
  color: var(--color-black);
	
	text-align: start;
	
	user-select: none;
}
.contact__title {
  margin-bottom: 1.5rem;
}
.contact_header{
  display: flex;
  width: 50%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.contact-img{
  width:120%;
}
/* --- Grid layout --- */
.contact__form {
  width: 50%;
  display: grid;
  gap: var(--gap);
}
.field { display: flex; flex-direction: column; }

.field--full { grid-column: 1 / -1; }

label {
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-size: 2rem;
  color: var(--color-black);
  font-family: var(--font-primary);
}

input,
textarea {
  padding: .75rem 1rem;
  border: 2px solid var(--color-black);
  font-family:Arial, Helvetica, sans-serif;
  border-radius: .5rem;
  font-size: 1rem;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 4px solid var(--color-green);
  
}

small.error {
  color: #b00020;
  font-size: .75rem;
  height: 0;
  margin-top: 0.25rem;
}

.btn {
  padding: 0.9rem 1.5rem;
  border: none;
  background: var(--color-green);
  color: var(--color-black);
  font-size: 1rem;
  border-radius: .5rem;
  cursor: pointer;
  grid-column: 1 / -1; 
}

.btn:hover,
.btn:focus-visible { background: var(--color-blue); }



/* ARTICLE SOCIAL MEDIA PAGE */

.article-image{
    width: 100%;
}
.article-image img{
    width:100%;
    max-height: 80rem;
    padding-bottom: 2rem;
    object-fit: cover;
    
}
#interview-title{
    width: 100%;
    border-bottom: 1px solid var(--color-black);
}
#interview-title h4{
    font-size: 1.4rem;
    font-weight: 100;
    color: var(--color-grey);
}
 #interview-qa h4{
    color: var(--color-black);
 }
 .interview{
    padding: 4rem;
    flex-direction: column;
    display: flex;
    justify-content: center;
    
}

#image-question img{
    width:80%;
}
#image-question, #image-ascii{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.8rem;
}
.question{
    padding-bottom: 4rem;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
}


/*- - - -INTERVIEW TABS - - -*/
.tabs {
    display: flex;
    flex-wrap: wrap;
    
  }
  .tabs label {
    font-family: var(--font-primary);
    order: 1;
    color: var(--color-black);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 3rem;
    margin-right: 0.2rem;
    font-weight: bold;
    transition: 
    color 0.6s ease-out,
    box-shadow 0.6s ease-out,
    border 0.6s ease-out;
  }
   
  .tabs .tab {
    order: 9;
    flex-grow: 1;
    width: 100%;
    height: 100%;
    display: none;
    padding: 1rem;
    background: var(--color-white);
    border: 1px solid var(--color-black);

    padding: 20px;
    box-shadow: inset 0px 0px 10px 10px var(--color-green);

  }
  .tabs input[type="radio"] {
  display: none;
}
 
.tabs input[type="radio"]:checked + label {
    background: var(--color-white);
    color: var(--color-black);
    border-right: 1px solid var(--color-black);
    border-left: 1px solid var(--color-black);
    border-top: 1px solid var(--color-black);
    box-shadow: inset 0px 0px 10px 10px var(--color-green);

}
 
.tabs input[type="radio"]:checked + label + .tab {
  display: block;
}

/* ASCII ART ARTICLE */

#ascii-article{
    width: 80%;
}
#ascii-canvas {
    width: 100%;
    height: auto;
    display: flex;
    font-family: monospace;
    background-color: black;
  }

  #ascii-article-all{
    padding: 2rem;
    box-shadow: 0px 6px 40px 2px #4934c0;
    border-radius: 1px solid var(--color-black);
  }

  #intro-interview{
    padding-top: 2rem;
  }

  #ascii-webcam-container{
    width: 100%;
  }
  #ascii-article-content h2{
    text-shadow: 0px 3px 12px #4934c0 
 }
 /* gallery */

.gallery{
    height: 80dvh;
    min-height: auto;
}

#draggable, #draggable_2, #draggable_3, #draggable_4, #draggable_5, #draggable_6 {
    position: absolute;
    z-index: 9;
    touch-action: none;
  }
  
  #draggable_element {
    cursor:grab;
    max-width: 14rem;
}

  #draggable_element:active {
    cursor: grabbing;
  }

/* GROCERIES ARTICLE */
.accordion-header {
    font-family: var(--font-Hardanger);
    text-shadow:  1px 0px 11px var(--color-purple);
    font-size: 2rem;
    background-color: transparent;
    border: none;
    text-align: center;
    width: 100%;
    padding: 1rem 0;
    cursor:var(--cursor-hover);
    outline: none;
    border-top: 2px solid var(--color-black);
  }
  
  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding-left: 0.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .accordion-content p {
    margin: 1rem 0;
  }
  .accordion-item{
    background-color: var(--color-pastel-green);
  }
  .groceries-image{
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
  }
  #wowzersMeme img{
    width: 16rem;
    max-height: none;
  }
  #hypeFoodBrand img{
    width: 28rem;
    max-height: none;
  }
  #oneTrick img{
    width: 28rem;
    max-height: none;
  }
  #fridgePic img{
    width: 26rem;
    max-height: none;
  }
  .groceries-image img{
    width: 30rem;
  }
  .groceries-inner-images{
    padding-bottom: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
  }
  .groceries-inner-image img{
    width:12rem;
    max-height: 14rem;
  }
  #fridgePic{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }
  #freshProduce img{
    width: 26rem;
    max-height: none;
  }
  .groceries-article-psa{
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }


/* LOW POLY SCAN 01 */

#low-poly-article{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.low-poly{
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;        
  width: 80%;         
  background-color: var(--color-white);
  margin: 2rem auto;  
}
.low-poly h1{
    color: var(--color-black);
    text-shadow: 0px 3px 12px var(--color-green);
    text-align: start;
    font-size: 2rem;
}
#poly-questions{
  padding: 2rem;
  box-shadow: 0px 3px 40px var(--color-green) ;
}

.lowPolyScan {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 600px;
}

.lowPolyScan iframe {
  width: 100%;
  height: 800px;
  border: none;
}

/* Overlay base style */
.overlay {
  position: absolute;
  z-index: 10;
  background: #ffffff00; /
}

/* Top-right logo cover */
.top-right {
  top: 0;
  right: 0;
  width: 100%;
  height: 100px;
}

/* Bottom-right info box cover */
.bottom-right {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 50px;
  background: var(--color-white); /* transparent, change if needed */
}

iframe{
  width: 100%;
  min-height: 600px;
  height: 700px;
}


/* ABOUT */
#bg-video {
    filter: invert(1);
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: 178%;
    object-fit: cover;
    opacity: 0.6; /* Optional: adjust for better readability */
    pointer-events: none; /* So clicks pass through to elements on top */
  }

#about_intro_text {
    position: relative;
    z-index: 2;
    padding: 3rem;
    text-shadow: -1px -1px 1px rgb(255, 255, 255);
  }
  #about_intro_text p{
    color: var(--color-black);
    font-size: 2rem;
  }


/* NEW MEDIA QUERIES RESPONSIVE FOR MOBILE */
@media (max-width: 800px) {
    /*HOME PAGE */
   .intro__content{
        display: block;
    }
    .article_card-image{
        height: auto;
    }

    .article_card img{
        padding-bottom: 1rem;   
    }
    .article_card-overlay{
        display: contents;
    }
    .article_card{
        border: none;
    }
    .interview p{
        font-size: 1.4rem;
       }
    /* CONTACT PAGE */
    .contact_header{
        width: 100%;
    }
    .contact__form{
      width: 80%;
    }
    #text1, #text2 {
      padding-top: 6rem;
        font-size: 9rem;
    }

    /* SOCIAL MEDIA PAGE */
    .article{
        width: 100%;
    }
    .interview{
        padding: 1rem;
    }
    .question{
        padding-bottom: 2rem;
    }
    #image-question img{
        width:100%;
    }
    #image-question{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }
    /* ASCII PAGE */
    #ascii-article{
        width: 100%;
    }
    #image-ascii img{
        width: 400px;
    }

    #ascii-article{
        background-image: none;
    }
    #ascii-article-all{
        padding: 1rem;
        box-shadow: 0px 0px 10px 2px #4934c0;
        border-radius: 1px solid var(--color-black);
    }
    #draggable_element {
        cursor:grab;
        max-width: 12rem;
      }
    /* GROCERIES PAGE */
    .groceries-image img{
        width: 20rem;
      }
      .groceries-inner-image img{
        width:10rem;
        max-height: 12rem;
      }
      .accordion-content {
        padding-left: 1rem;
        padding-right: 1rem;
      }
    /* LOW POLY NTERVIEW 01 */
    iframe{
      max-height: 500px;
    }
    
}