@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=BioRhyme:wght@200..800&family=Bona+Nova+SC:ital,wght@0,400;0,700;1,400&family=Cormorant:ital,wght@0,300..700;1,300..700&family=Great+Vibes&family=Host+Grotesk:ital,wght@0,300..800;1,300..800&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Lora:ital,wght@0,400..700;1,400..700&family=Orbitron:wght@400..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Playwrite+GB+S:ital,wght@0,100..400;1,100..400&family=Quicksand:wght@300..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Schibsted+Grotesk:ital,wght@0,400..900;1,400..900&family=Yellowtail&family=Zilla+Slab:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

/* font-family: "Bebas Neue", sans-serif; */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

html,
body {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
}

.page1 {
  position: relative;
  width: 100%;
  background-color: #003784;
}

/* background: #813513 */
/* text color: #faae33 */

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6rem;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 5px dotted #f8af01;
  z-index: 10;
}

header a {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  color: #003784;
  background-color: #f8af01;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  border-radius: 30px;
  letter-spacing: 0.2rem;
}

#buyBtn i {
  padding-left: 0.3rem;
}

.nav-mid {
  position: relative;
  right: 5rem;
}

.background,
.background2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 0.5;
}

.background2 {
  z-index: 0;
  opacity: 0.02;
  background-image: url("./images/texture.jpg");
}


.nav-mid img {
  width: 13rem;
}

.container {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 700vh;
  z-index: 9;
}

.canvasContainer {
  width: 100%;
  height: 100vh;
  position: sticky;
  top: 35%;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: clip;
}

#frame {
  width: 100%;
  height: 100vh;
  display: block;
  transform: scale(1);
}

.right-navigation {
  position: fixed;
  bottom: 5%;
  right: 2%;
  display: flex;
  gap: 0.3rem;
  z-index: 10;
}

.right-navigation a {
  color: #003784;
  background-color: #f8af01;
  font-family: "Bebas Neue", sans-serif;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.right-navigation a i {
  font-size: 1.5rem;
}

.textBox {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  padding-top: 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  color: #f8af01;
}

#heading {
  width: 100%;
  text-align: center;
  font-size: 14rem;
  font-weight: 800;
  letter-spacing: -1rem;
  line-height: 13rem;
  border-bottom: 5px dotted #f8af01;
}

.textBox h4 {
  font-size: 5rem;
  letter-spacing: -0.25rem;
  margin-top: 2rem;
}

#box1,
#box2 {
  position: absolute;
  width: 100%;
  height: 50rem;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

#box1 p {
  width: 14%;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.btn {
  padding: 1rem 1.5rem;
  width: 9rem;
  text-decoration: none;
  background-color: #f8af01;
  color: #003784;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  border-radius: 30px;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#box2 {
  position: relative;
  margin-top: 90vh;
  height: 100%;
  justify-content: space-between;
}

#box2 h2 {
  font-size: 9rem;
  font-weight: 800;
  letter-spacing: -0.5rem;
  line-height: 9rem;
  width: 70%;
  margin-bottom: 2rem;
}

#box2 p {
  font-size: 1.5rem;
  width: 25%;
  font-weight: 600;
  text-transform: uppercase;
  padding-bottom: 3rem;
  margin-left: .5rem;
}

#box3 {
  margin-top: 30rem;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: end;
  align-items: end;
  flex-direction: column;
  margin-right: 3rem;
}

#box3 h2 {
  font-size: 7rem;
  font-weight: 800;
  letter-spacing: -0.2rem;
  line-height: 9rem;
  width: 70%;
  margin-bottom: 2rem;
  text-align: right;
}

.presentaciones {
  display: flex;
  justify-content: start;
  align-items: end;
  width: 100%;
  height: 100%;
  padding-left: 5rem;
}

.presentaciones img {
  width: 3%;
}

.presentaciones .p3 {
  width: 2%;
  margin-bottom: .7rem;
}

.p1 {
  width: 10%;
  margin-bottom: -0.2rem;
  margin-left: -1rem;
  margin-right: -1rem;
}

.p2 {
  width: 10%;
}


.p4 {
  width: 1%;
}

#box3 p {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  padding-bottom: 3rem;
  width: 100%;
  max-width: 20%;
  transform: translateX(0);
  /* Removed the -380% which might cause overflow constraints sideways */
}

.page2 {
  width: 100%;
  height: 250vh;
  display: flex;
  position: relative;
  z-index: 10;
  background-color: #281006;
}

.page2 .left {
  position: relative;
  width: 55%;
  height: 100%;
  color: #f8af01;
}

.page2 .right {
  position: relative;
  width: 45%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.right img {
  position: relative;
  width: 100%;
  height: 125vh;
  object-fit: cover;
}

#headingDiv {
  padding: 3rem 2rem;
  border-bottom: 5px dotted #f8af01;
}

#headingDiv h2 {
  font-size: 5rem;
  font-weight: 700;
  line-height: 4rem;
}

.page2 .left h4 {
  margin-top: 9rem;
  font-size: 1.4rem;
  font-weight: 800;
  width: 35%;
  padding: 0 2rem;
  color: #f8af01;
}

#itemBox {
  margin-top: 1rem;
  width: 100%;
  padding: 4rem 0;
}

#item {
  position: relative;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

#item img {
  width: 3rem;
  height: 3rem;
  padding: 0.5rem;
  border: 2px solid #f8af01;
  border-radius: 50%;
}

#item p {
  width: 35%;
  margin-top: 0;
  font-size: 0.8rem;
}

.page2 .box {
  padding: 0 2rem;
  margin-top: 15rem;
  font-size: 2rem;
}

.page2 .bottomBox {
  position: absolute;
  bottom: 10%;
}

.page2 .bottomBox h2 {
  font-size: 4.5rem;
  width: 96%;
  padding: 0 2rem;
  line-height: 3.5rem;
  font-weight: 800;
}

.page3 {
  position: relative;
  height: 300vh;
  flex-direction: column;
  background-color: #003784;
  color: #f8af01;
  padding: 6rem 2rem;
  z-index: 10;
}

.page3 h2 {
  font-size: 6rem;
  font-weight: 800;
  line-height: 5rem;
}

.page3 p {
  font-size: 0.8rem;
  font-weight: 600;
  width: 20%;
  margin-top: 1rem;
}

.page3 .box {
  width: 100%;
  padding: 2rem;
  height: 36rem;
}

.page3 .card {
  width: 30rem;
  height: 33rem;
  overflow: hidden;
  rotate: 6deg;
}

.card-left {
  float: left;
}

.card-right {
  float: right;
}

.cardTxt {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cardTxt h4 {
  background-color: #f8af01;
  color: #003784;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
}

.cardTxt p {
  width: 35%;
  margin-top: 0;
}

.card img {
  width: 100%;
  height: 29rem;
  border-radius: 5px;
}

/* Media Queries */
@media screen and (max-width: 1024px) {
  #heading {
    font-size: 10rem;
    line-height: 9rem;
  }

  #box2 h2 {
    font-size: 7rem;
    line-height: 7rem;
  }

  #box3 h2 {
    font-size: 6rem;
    line-height: 6rem;
  }

  .page2 .left h4 {
    margin-top: 5rem;
    width: 60%;
  }

  .page3 .card {
    width: 25rem;
    height: 30rem;
  }

  .card img {
    height: 26rem;
  }
}

@media screen and (max-width: 768px) {

  /* Header */
  header {
    flex-wrap: wrap;
    height: auto;
    padding: 1rem;
    justify-content: center;
    gap: 1rem;
    position: fixed;
    background-color: #003784;
    width: 100vw;
    box-sizing: border-box;
  }

  .nav-left,
  .nav-right {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-mid {
    right: 0;
    order: -1;
    width: 100%;
    text-align: center;
  }

  .nav-mid img {
    width: 8rem;
  }

  header a {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
    letter-spacing: 0.1rem;
  }

  /* Page 1 */
  .textBox {
    padding-top: 10rem;
    width: 100vw;
    box-sizing: border-box;
  }

  #heading {
    font-size: 5rem;
    line-height: 5rem;
    letter-spacing: -3px;
  }

  .textBox h4 {
    font-size: 2.5rem;
    text-align: center;
    margin-top: 1rem;
    padding: 0 1rem;
  }

  #box1 {
    height: 80vh;
    position: absolute;
    top: 0;
    justify-content: flex-end;
    padding-bottom: 5rem;
    align-items: center;
    width: 100vw;
    box-sizing: border-box;
  }

  #box1 p {
    width: 90%;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
  }

  .btn {
    width: 100%;
    max-width: 20rem;
    box-sizing: border-box;
  }

  #box2 {
    margin-top: 120vh;
    height: auto;
    position: relative;
    padding: 0 1rem;
    align-items: center;
    width: 100vw;
    box-sizing: border-box;
  }

  #box2 h2 {
    font-size: 4rem;
    line-height: 4rem;
    width: 100%;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  #box2 p {
    width: 90%;
    text-align: center;
    margin-left: 0;
    font-size: 1.2rem;
  }

  #box3 {
    margin-top: 120vh;
    margin-right: 0;
    padding: 1rem;
    height: auto;
    align-items: center;
    width: 100vw;
    box-sizing: border-box;
  }

  #box3 h2 {
    font-size: 3.5rem;
    line-height: 3.5rem;
    width: 100%;
    text-align: center;
  }

  #box3 p {
    width: 90%;
    transform: none;
    text-align: center;
    font-size: 1.2rem;
  }

  .presentaciones {
    padding-left: 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    margin-top: 2rem;
    width: 100%;
    box-sizing: border-box;
  }

  .presentaciones img {
    width: 45%;
    margin: 0;
    object-fit: contain;
  }

  .p1,
  .p2,
  .p3,
  .p4 {
    width: 22%;
    margin: 0;
  }

  /* Page 2 */
  .page2 {
    flex-direction: column;
    height: auto;
    padding-bottom: 4rem;
    width: 100vw;
    box-sizing: border-box;
  }

  .page2 .left {
    width: 100%;
    height: auto;
    box-sizing: border-box;
  }

  .page2 .right {
    width: 100%;
    height: auto;
    margin-top: 2rem;
    box-sizing: border-box;
  }

  .right img {
    height: 50vh;
    object-fit: cover;
    max-width: 100%;
  }

  #headingDiv {
    padding: 2rem 1rem;
    box-sizing: border-box;
    width: 100%;
  }

  #headingDiv h2 {
    font-size: 4rem;
    line-height: 4rem;
  }

  .page2 .left h4 {
    margin-top: 2rem;
    width: 100%;
    font-size: 2rem;
    padding: 0 1rem;
    text-align: center;
    box-sizing: border-box;
  }

  #itemBox {
    padding: 2rem 0;
    box-sizing: border-box;
    width: 100%;
  }

  #item {
    flex-direction: column;
    text-align: center;
    padding: 0 1rem;
    gap: 0.5rem;
    box-sizing: border-box;
    width: 100%;
  }

  #item img {
    width: 4rem;
    height: 4rem;
  }

  #item p {
    width: 100%;
    font-size: 1.1rem;
    box-sizing: border-box;
  }

  .page2 .box {
    margin-top: 3rem;
    padding: 0 1rem;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
  }

  .page2 .box>div {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem !important;
  }

  .page2 .bottomBox {
    position: relative;
    margin-top: 3rem;
    text-align: center;
    padding: 0 1rem;
    bottom: auto;
    box-sizing: border-box;
    width: 100%;
  }

  .page2 .bottomBox h2 {
    font-size: 3.5rem;
    line-height: 3.5rem;
    width: 100%;
    padding: 0;
    margin-bottom: 1.5rem;
    box-sizing: border-box;
  }

  .page2 .bottomBox .btn {
    margin-left: auto !important;
    margin-right: auto;
    margin-top: 0 !important;
  }

  /* overriding inline styles */

  /* Page 3 */
  .page3 {
    height: auto;
    padding: 4rem 1rem;
    width: 100vw;
    box-sizing: border-box;
  }

  .page3 h2 {
    font-size: 4rem;
    line-height: 4rem;
    text-align: center;
    width: 100%;
  }

  .page3 p {
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    margin: 1rem auto;
    box-sizing: border-box;
  }

  .page3 .box {
    height: auto;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }

  .page3 .card {
    width: 100%;
    max-width: 25rem;
    height: auto;
    rotate: 0deg;
    margin: 0 auto;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .card-left,
  .card-right {
    float: none;
  }

  .cardTxt {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .cardTxt p {
    width: 100%;
    font-size: 1.1rem;
  }

  .card img {
    height: auto;
    max-height: 20rem;
    object-fit: cover;
    border-radius: 0 0 5px 5px;
  }

  /* Touch Interactions & Enhancements */
  .btn:active,
  header a:active,
  .right-navigation a:active {
    transform: scale(0.95);
    transition: transform 0.1s;
  }

  footer {
    width: 100vw;
    box-sizing: border-box;
  }
}