

#container {
    position: relative;
    width: 100vw; 
    height: 100vh; 
    overflow: hidden; 
}

.frame{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.75;
}

iframe {
    width: 100%;
    height: 100%;
    border: none; 
}

.hText{
    position: absolute;
    top: 56%;
    left: 54%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    pointer-events: none;
    z-index: 1;
}
.p1Header {
    top: 46%;
    position: relative;
    font-family: 'azonix';
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 4.5rem;
    text-shadow: 10px 10px 20px rgba(0, 0, 0, 2);
    z-index: 1;
    text-align: center;
    white-space: nowrap;
}
.keywords {
    text-shadow: 10px 10px 20px rgba(1, 1, 1, 2);
    line-height: 1.5;
    font-family: 'telegraf';
    font-size: 1.6rem;
    color: white;
    text-align: left;
    padding-right: 20%;
    position: relative;
    max-width: 800px;
}

.logoCover {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 160px;
    height: 53px;
    background-color: rgb(0, 0, 0);
    z-index: 10;
}

/* -------------------------------------------------------Problem------------------------------------------------ */

#problem {
    position: relative;
    width: 100vw;
    height: 90vh;
    overflow: hidden;
}

.p1Ani1 {
    position: absolute;
    width: 44%;
    left: 48.5%;
    top: 45%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    opacity: 0.9;
}

.pText {
    position: absolute;
    width: 18%;
    left: 57%;
    top: 57%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    color: white;
    text-align: left;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    min-width: 250px; 
}

.pLine1 {
    position: absolute;
    left: 0;
    width: 12%;
    top: 42%;
    border: 0;
    height: 2px;
    background: white;
    margin: 20px 0;
  }

  .pLine2 {
    position: absolute;
    right: 0;
    width: 12%;
    top: 42%;
    border: 0;
    height: 2px;
    background: white;
    margin: 20px 0;
  }

  /* ------------------------------------------------------objectives----------------------------------------------- */

  #objectives{
    position: relative;
    width: 100vw;
    height: 90vh;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 1fr 3fr 1.5fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.p1Ani2 {
    grid-area: 2 / 2 / 3 / 3;
    width: 88%;
    justify-self: center;
    align-self: center;
    cursor: pointer;
    opacity: 0.8;
}

.oText {
    grid-area: 2 / 2 / 3 / 3;
    width: 49%;
    pointer-events: none;
    color: #e0e0e0;
    text-align: left;
    min-width: 250px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    z-index: 10;
    justify-self: flex-end;
    align-self: center;
    padding-top: 28%;
    padding-right: 12%;
    
}
.oLine1{
    grid-area: 2 / 1 / 3 / 2;
    width: 50%;
    justify-self: flex-start;
    align-self: center;
    border: 0;
    height: 2px;
    background: white;
}
.oLine2{
    grid-area: 2 / 3 / 3 / 4;
    width: 50%;
    justify-self: flex-end;
    align-self: center;
    border: 0;
    height: 2px;
    background: white;
}

/* ----------------------------------------------------SOLUTION---------------------------------------------- */

.horizontal-scroll {
    display: flex;
    width: 800vw; /* Adjust based on the number of sections */
    overflow-y: hidden;
}

/* --------------------------------hz1-------------------open---------------------------------- */

.open{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: grid;
grid-template-columns: 1fr 0.8fr 1fr;
grid-template-rows: 1fr 2fr 1fr;
grid-column-gap: 0px;
grid-row-gap: 0px;
}

.heroImg{
    width: 100%;
    align-self: center;
    justify-self: center;
    grid-area: 2 / 2 / 3 / 3;
}
    
.scrollPrompt{
    color: #979797;
    align-self: center;
    justify-self:center;
    grid-area: 2 / 3 / 3 / 4;
    font-size: 1.2rem;
}
/* ----------------------------hz2------------------------unpack1-sprite design hero----------------------------------- */

.unpack1{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: grid;
grid-template-columns: 1fr 2fr 0.5fr 1fr 1fr;
grid-template-rows: 1fr 2fr 0.7fr;
grid-column-gap: 0px;
grid-row-gap: 0px;
}

.heroImg1{
    width: 100%;
    align-self: center;
    justify-self: center;
    grid-area: 2 / 2 / 3 / 3;
    
}
.heroText{
    grid-area: 2 / 4 / 3 / 5; 
    width: 80%;
    align-self: center;
    justify-self: center;
    text-align: left;
}

/* ----------------------------hz3------------------------unpack2-hero mecs---------------------------------- */

.unpack2{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 2fr 0.2fr 2fr 1fr;
    grid-template-rows: 1fr 2.5fr 0.9fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.heroMechanics{
    grid-area: 2 / 2 / 3 / 3;
    width: 85%;
    align-self: center;
    justify-self: center;
    border-radius: 5%;
    
}
.unpack2Text{
    grid-area: 2 / 4 / 3 / 5; 
    width: 60%;
    align-self: center;
    justify-self: center;
    text-align: left;
}
/* -------------------------------------------------unpack 3 environment-------------------------------------------- */

.unpack3{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: grid;
grid-template-columns: 0.1fr repeat(2, 1.5fr) 1.5fr 0.2fr;
grid-template-rows: 1.3fr 1.8fr 1fr;
grid-column-gap: 4%;
grid-row-gap: 0px;
}

.env1{
    grid-area: 2 / 2 / 3 / 3;
    width: 100%;
    align-self: center;
    justify-self: center;
    border-radius: 5%;
}

.env2{
    grid-area: 2 / 3 / 3 / 4;
    width: 100%;
    align-self: center;
    justify-self: center;
    border-radius: 5%;
}

.envText{
    grid-area: 2 / 4 / 3 / 5;
    width: 80%;
    align-self: center;
    justify-self: flex-start;
    text-align: left;
}

/* -------------------------------------------------unpack 4 building and scripting------------------------------------------- */

.unpack4{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: grid;
grid-template-columns: 0.3fr 0.9fr 0.9fr 0.5fr 0.5fr 0.4fr;
grid-template-rows: 1fr repeat(2, 1.5fr) 1fr;
grid-column-gap: 6%;
}

.un1{
    grid-area: 2 / 2 / 3 / 3;
    width: 100%;
    align-self: center;
    justify-self: center;
    border-radius: 5%;
}
.un2{
    grid-area: 3 / 2 / 4 / 3;
    width: 100%;
    align-self: center;
    justify-self: center;
    border-radius: 5%;
}
.un3{
    grid-area: 2 / 3 / 4 / 4;
    width: 125%;
    align-self: center;
    justify-self: center;
    border-radius: 5%;

}

.unityText{
    grid-area: 2 / 4 / 4 / 6;
    width: 60%;
    align-self: center;
    justify-self: center;
    text-align: left;
}

/* -------------------------------------------------unpack 5----------------------------------------- */

.unpack5{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: grid;
grid-template-columns: 0.4fr repeat(2, 0.9fr) repeat(2, 0.4fr) 0.4fr;
grid-template-rows: 1fr repeat(2, 1.5fr) 1fr;
grid-column-gap: 2%;
grid-row-gap:1%;
}
.uiText{
    grid-area: 2 / 4 / 4 / 6;
    width: 80%;
    align-self: center;
    justify-self: center;
    text-align: left;
}
.ui1{
    grid-area: 2 / 2 / 3 / 3;
    width: 93%;
    align-self: center;
    justify-self: center;
    border-radius: 5%;
}
.ui2{
    grid-area: 2 / 3 / 3 / 4;
    width: 93%;
    align-self: center;
    justify-self: center;
    border-radius: 5%;
}
.ui3{
    grid-area: 3 / 2 / 4 / 3;
    width: 93%;
    align-self: center;
    justify-self: center;
    border-radius: 5%;
}
.ui4{
    grid-area: 3 / 3 / 4 / 4;
    width: 93%;
    align-self: center;
    justify-self: center;
    border-radius: 5%;
}


/* ------------------------------------------------gameplay------------------------------------ */


.unpack6 {
        
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 2.5fr 1fr;
    grid-template-rows: 1.2fr 2fr 0.1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.play{
    grid-area: 1 / 2 / 2 / 3;
    justify-self: center;
    align-self: end;
    margin-bottom: 8%;
}

#myVideo {
    width: 100%;
    height: auto;
    border-radius: 24px;
    /* border: 2px solid white; */
}

.videoContainer1 {
    grid-area: 2 / 2 / 3 / 3;
    width: 100%;
    height: auto;
    align-content: center;
    justify-content: center;
}


/* -------------------footer--------------------- */

.footerContainer {
    position: relative;
    height: 30vh;
    width: 100%;
    overflow: hidden;
    display: grid;
grid-template-columns: 1fr 2fr 1fr;
grid-template-rows:  1fr;
grid-column-gap: 0px;
grid-row-gap: 0px;
  }

   /* Image Container */
   .image-container1 {
    grid-area: 1 / 2 / 2 / 3;
    width: 100%;
    justify-self: center;
    align-self: center;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-direction: row;
    gap: 20px;
    padding: 10px;
    flex-wrap: wrap;
    z-index: 5;
  }
  
  .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-transform: lowercase;
    width: 30%;
    transition: transform 0.3s ease;
  }
  
  .item:hover { transform: scale(1.1) translateY(-10px); }
  
  .item img {
    width: 25%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 16px;
  }
  
  .item p {
    text-align: center;
    font-size: 1.6rem;
    margin: 0;
    margin-top: 20px;
    cursor: pointer;
  }