/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* Minimal utility classes */
.flex {
  display: flex;
}

.justify-center {
  justify-content: center;
}

.font-bold {
  font-weight: 700;
}

/* Essential CSS resets (from Tailwind) to maintain visual consistency */

/* Box-sizing reset - critical for proper layout */
*,
::before,
::after {
  box-sizing: border-box;
}

/* Link resets */
a {
  color: inherit;
  text-decoration: inherit;
}

/* Form element resets */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

/* Button appearance resets */
button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

button,
[role="button"] {
  cursor: pointer;
}

/* Image/media element resets */
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

img,
video {
  max-width: 100%;
  height: auto;
}

/*
  Variable
*/

:root{
  --primary_color: #FF2678;
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

*,
*::before,
*::after {
  transition: all 0.3s ease-in-out;
}

html {
  color: #000000;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/* ==========================================================================
   custom fonts 
  ==========================================================================  */

@font-face {
  font-family: ir_title;

  src: url(../fonts/title.woff2);
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 600px){
  .highlight>span{
    padding: 0 0.1em;
  }
}

@media only screen and (min-width: 601px){
  .highlight>span{
    padding: 0 0.2em;
  }
}

@media only screen and (max-width: 768px){
  nav .hamburger{
    display: inline-block;
  }

  .hamburger .icon{
    background:url('../img/hamburger.svg');
    background-size:30px;
    background-repeat: no-repeat;
    background-position: left;
    height: 100%;
    display: block;
  }

  .hamburger a.ham{
    background:url('../img/closed.svg');
    background-size:22px;
    background-repeat: no-repeat;
    background-position: left;
  }

  nav .nav_menu{
    display: none;
  }

  nav .social{
    display: none;
  }

  .landing .title{
    font-size: min(11vmax, 94px);
  }

  .about .title{
    text-align: center;
  }

  .about .content_container{
    flex-direction: column;
  }

  .about .content_word{
    width: 100%;
    padding-top: 4vh;
    text-align: center;
  }

  .content_word p{
    padding-top: 3vh;
  }

  .work{
    min-height: 60vh;
  }

  .work .work_message{
    width: 70%;
    padding-top: 3vh;
  }

  .contact .contact_form{
    flex-direction: column;
  }

  .contact_form .form_left, .contact_form .form_right{
    width: 100%;
  }

  .contact_form input,
  .contact_form textarea{
    width: 90%;
  }

  .contact_form textarea{
    height: min(20vh, 180px);
  }

  .footer{
    margin-top: 10vh;
  }

  .footer .footer_social img{
    width: max(2vmax, 24px);
  }
}

@media only screen and (min-width: 769px){
  nav .hamburger{
    display: none;
  }

  nav .nav_menu{
    display: flex;
  }

  nav .mobile_menu{
    display: none;
  }

  .landing .title{
    font-size: min(11vmax, 180px);
  }

  .about .content_container{
    flex-direction: row;
  }

  .about .content_word{
    width: 60%;
    padding: 0 5%;
  }

  .work{
    min-height: 80vh;
  }

  .work .work_message{
    width: 50%;
  }

  .contact .contact_form{
    flex-direction: row;
  }

  .contact_form .form_left, .contact_form .form_right{
    width: 50%;
  }

  .contact_form input,
  .contact_form textarea{
    width: 70%;
  }

  .contact_form textarea{
    height: 60%;
  }

  .footer{
    margin-top: 15vh;
  }

  .footer .footer_social img{
    width: max(2vmax, 30px);
  }

  .highlight>span{
    padding: 0 0.3em;
  }
}

@media only screen and (min-width: 35em){
  /* Style adjustments for viewports that meet the condition */
}

/* Mobile Devices */
@media only screen and (max-width: 767px) {
  .partner_logo_box {
    width: 250px;
    height: 200px;
    padding: 20px;
  }
  
  .ice_banner_box {
    width: 400px;
    height: 200px;
    padding: 0px;
  }
}

/* Tablets and Larger Devices */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .partner_logo_box {
    width: 300px;
    height: 300px;
    padding: 25px;
  }
  
  .ice_banner_box {
    width: 600px;
    height: 300px;
    padding: 0px;
  }
}

/* Desktops and Larger Screens */
@media only screen and (min-width: 1200px) {
  .partner_logo_box {
    width: 400px;
    height: 400px;
    padding: 30px;
  }
  
  .ice_banner_box {
    width: 900px;
    height: 450px;
    padding: 0px;
  }

  .banner_container{
    top: 0;
  }
}

/* Wide screens - increase work section height for banner visibility */
@media only screen and (min-width: 1400px) {
  .work{
    min-height: 100vh;
  }
}

/* Ultra-wide screens - additional height for banner visibility */
@media only screen and (min-width: 1750px) {
  .work{
    min-height: 130vh;
  }
}

@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

main, nav{
  margin: 0;
}

main{
  height: 100%;
}

section{
  display: block;
  width: 100%;
}

nav{
  /* position:absolute; */
  position: fixed;
  top:0;
  width: 100%;
  margin: 0 0 0 0 ;
  padding: 30px 10% 0 10%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-size: 20px;
  line-height: 24px;
  text-transform: uppercase;
  height: 80px;
  background-color: #000;
  z-index: 100;
  padding-bottom: 10px;
}

nav>a{
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-size: 20px;
  line-height: 24px;
  text-transform: uppercase;
}

nav>.logo, .nav_menu,.social, .hamburger{
  flex-grow: 1;
}

nav>.logo>img{
  height: 100%;
  width: auto;
}

nav>div{
  height: 100%;
}

nav>.nav_menu{
  /* display: flex; */
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8em;
}

nav .mobile_menu{
  position: absolute;
  top: inherit;
  left: 0;
  height: 100vh;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  gap: 10%;
  align-items: center;
  font-size: 1.2em;
  color: #fff;
  background-color: #000;
  z-index: -1000;
}

nav .disable{
  display: none;
}

nav .active{
  display: flex;
}

.nav_menu>*{
  flex: none;
}

nav .social, nav .hamburger{
  /* float: right; */
  /* text-align: right; */
  vertical-align: middle;
}

nav>.social>a{
  float: right;
  text-align: right;
  vertical-align: middle;
}

nav .nav_menu a:visited, 
nav .mobile_menu a:visited{
  color:#fff;
}

.landing{
  /* position: relative; */
  height: 100%;
  padding: 15vh 10% 0% 10%;
  /* padding-top: 20vh; */
  background: fixed no-repeat right center url("../img/bg_logo_blur.svg");
  background-size: 30%;
  text-align: center;
}

.landing .title{
  font-family: ir_title, sans-serif;
  font-style: normal;
  font-weight: 400;
  /* font-size: 220px; */
  /* font-size: 13.5em; */
  /* font-size: 11vmax; */
  line-height: 11.5vmax;
  /* or 100% */
  text-transform: uppercase;
}

.white{
  color: white;
}

.primary_pink{
  color:#FF2678 !important;
  padding-top: 30px;
}

.highlight>span{
  background-color: white;
  /* padding: 0 0.3em; */
}

.test{
  overflow: hidden;
  /* background: linear-gradient(90deg, #000, #fff, #000); */
  background: linear-gradient(90deg, #FF2678, #fff, #FF2678);
  background-repeat: no-repeat;
  background-size: 80%;
  animation: animate 2s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  /* -webkit-text-fill-color: rgba(255, 255, 255, 0); */
  -webkit-text-fill-color: rgba(255, 38, 120, 0);
  /* -webkit-text-fill-color: #FF2678; */
}

.scroll{
  position: relative;
  left: 0;
  right: 0;
  bottom: 10px;
  margin: 0 auto;
  display: flex;
  height: 10vh;
  margin-top: 5vh;
  margin-bottom: 2vh;
  gap:1vw;
  align-items: center;
  font-family: Inter, sans-serif;
  font-weight: 900;
}
.scroll.description{

  margin-top: -3vh !important;

} 

.scroll .bar{
  position: relative;
  height: 80%;
  overflow: hidden;
}

.scroll .moving{
  inset: 0%;
  left:0;
  right: 0;
  margin: 0 auto;
  position: absolute;
  overflow: hidden;
  width: 50%;
  border-radius: 9999px;
}

.moving .movingbar{
  border-radius: 9999px;
  position: absolute;
  /* top: 50%; */
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  height: 30%;
  width: 50%;
  animation: moving 2s linear infinite;
}

.scroll .bar img{
  height: 100%;
}

/* 
  - About
*/

.about{
  height: 100%;
  padding: 5vh 10%;
  /* padding-top: 20vh; */
  background-color: #fff;
}

.about .title{
  color:var(--primary_color);
  /* padding-top: 5vh; */
  font-family: ir_title, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 180px;
  /* font-size: 13.5em; */
  font-size: 10vw;
  line-height: 10vw;
  text-transform: uppercase;
}

.about .content_container{
  display: flex;
  justify-content: space-between;
  justify-items: center;
  align-items: center;
  padding-top:5vh;
  height: 100%;
}

.about .logo_mark{
  flex-grow: 1;
  width: 30%;
  position: relative;
  height: 100%;
  /* left:-10%; */
}

.about .content_word{
  /* flex-grow: 1; */
  /* width: 60%; */
  word-wrap: break-word;
}

.content_word h2{
  font-family: ir_title, sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: max(2.4vmax,1.7em);
  text-transform: uppercase;
  padding:0 0 2vw 0;
}

.content_word h3{
  padding: 0 0 1.4vw 0;
  font-family: ir_title, sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: max(1.6vmax, 1.3em);
  text-transform: uppercase;
}

.content_word p{
  font-size: 1em;
  font-family: Inter,sans-serif;
  font-style: light;
  font-weight: 300;
}

.work{
  background-color: var(--primary_color);
  height: 100%;
  padding: 0 10%;
  width: 100%;
  overflow: hidden;
}

.work .title{
  color:#fff;
  padding-top: 5vh;
  font-family: ir_title, sans-serif;
  font-style: normal;
  font-weight: 400;
  /* font-size: 13.5em; */
  font-size: 8vw;
  line-height: 10vw;
  text-transform: uppercase;
}

.banner_container{
  position: relative;
  overflow: hidden;
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  left: -20%;
  top: 0;
  padding: 1vw 0;
  background-color: #fff;
  transform-origin: center;
  transform: rotate(356deg);
  /* --offset: 33vw;s */
  --move-initial: calc(-32.5%);
  --move-final: calc(-67%);
  /* --offset: 20vw;
  --move-initial: calc(-25% + var(--offset));
  --move-final: calc(-120% + var(--offset)); */
}

.banner_marquee{
  display: flex;
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  white-space: nowrap;
  font-size: 10vw;
  padding: 0;
  transform: translate3d(var(--move-initial), 0, 0);
  animation: marquee 5s linear infinite;
  font-family: ir_title, sans-serif;
  font-style: normal;
  font-weight: 400;
  /* or 100% */
  text-transform: uppercase;
}

.banner_container span{
  position: relative;
  display: block;
  padding-right: 1%;
  color: var(--primary_color);
}

.work .work_message{
  /* width: 35%; */
  color: #fff;
  margin-bottom: 4% ;
  font-size: 1em;
  line-height: 1.2em;
  font-family: Inter,sans-serif;
  font-weight: 300;
}

.work button{
  color: #fff;
  width: -moz-fit-content;
  width: fit-content;
  border: 1px solid #FFFFFF;
  border-radius: 40px;
  display: flex;
  justify-items: center;
  justify-content: center;
  align-items: center;
  align-content: center;
  text-transform: uppercase;
  padding: 2% 4%;
  line-height: 1.2em;
  font-family: Inter,sans-serif;
  font-weight: 900;
  cursor: pointer;
  font-size: 1.1em;
  gap:10px;
}

/* Sept 2024 changes */

/* Existing Partners Section Styles */
.partners {
  background-color: #000;
  height: 100%;
  padding: 0 10%;
  width: 100%;
  min-height: 45vh;
}

.partners_title{
  color:var(--primary_color);
  padding-top: 5vh;
  font-family: ir_title, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 120px;
  /* font-size: 13.5em; */
  font-size: 8vw;
  line-height: 10vw;
  text-transform: uppercase;
}

.partners_logos {
  display: flex;
  justify-content: center;
  gap: 0px;
  flex-wrap: wrap;
  padding-top: 50px;
}

.partner_logo_box {
  background-color: #000000;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner_logo_box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ice_banner {
  display: flex;
  justify-content: center;
  gap: 0px;
  flex-wrap: wrap;
  padding-top: 20px;
}

.ice_banner_box {
  background-color: #000000;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ice_banner_box a {
  display: block;
  width: 100%;
  height: 100%;
}

.ice_banner_box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.ice_banner_box img:hover {
  opacity: 0.8;
}

.contact .title{
  color:var(--primary_color);
  padding-top: 5vh;
  font-family: ir_title, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 120px;
  /* font-size: 13.5em; */
  font-size: 8vw;
  line-height: 10vw;
  text-transform: uppercase;
}


.contact .body{
  color: #fff;
  padding: 1vh 0;
  font-size: 1em;
  line-height: 1.2em;
  font-family: Inter,sans-serif;
  font-style: light;
  font-weight: 900;
}



.contact{
  background-color: #000;
  height: 100%;
  padding: 0 10%;
  width: 100%;
  min-height: 70vh;
}

.contact .contact_form{
  display: flex;
  font-size: 1em;
  line-height: 1.2em;
  font-family: Inter,sans-serif;
  font-style: light;
  font-weight: 300;
  margin-top: 5vh;
}

.contact_form .form_left, .contact_form .form_right{
  /* display: flex; */
  /* width: 50%; */
  display: flex;
  flex-direction: column;
}

.contact_form input{
  border-radius: 5px;
  margin-bottom: 2vh;
  /* width: 70%; */
  height: 1.8em;
  padding: 1em ;
}

.contact_form textarea{
  border-radius: 5px;
  margin-bottom: 2vh;
  /* width: 70%; */
  /* height: 60%; */
  padding: 1em ;
}

.contact_form input[type=text]:focus{
  border: 2px var(--primary_color) solid !important;
}

.contact_form label{
  color: #fff;
  display: block;
  font-family: Inter, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  padding: 0.2em 0;
  font-size: 0.8em;
}

.contact_form .submit{
  display: flex;
  justify-items: center;
  justify-content: center;
  align-items: center;
  align-content: center;
  color: var(--primary_color);
  text-transform: uppercase;
  padding: 2% 4%;
  width: -moz-fit-content;
  width: fit-content;
  border: 1px solid var(--primary_color);
  border-radius: 40px;
  line-height: 1.2em;
  font-family: Inter,sans-serif;
  font-weight: 900;
  cursor: pointer;
  font-size: 1.1em;
  gap:10px;
}

/* .contact_form .submit img, .work .send img{
  height: 40%;
} */

.work .send:after{
  content: '';
  background:url('../img/go.svg');
  background-size: 0.8em;
  background-repeat: no-repeat;
  background-position: left;
  height: 0.8em;
  width: 0.8em;
}

.contact_form .submit:after{
  content: '';
  background:url('../img/submit.svg');
  background-size: 0.8em;
  background-repeat: no-repeat;
  background-position: left;
  height: 0.8em;
  width: 0.8em;
}

.footer{
  background-color: #000;
  height: 100%;
  padding: 0 10%;
  width: 100%;
  padding-bottom: 5vh;
}

.footer .footer_logo{
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  justify-content: center;
  color: var(--primary_color);
  font-family: ir_title, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.2em;
  /* font-size: 13.5em; */
  /* font-size: 3vw; */
  line-height: 1.5em;
  text-transform: uppercase;
}

.footer .footer_logo img{
  max-width: 5vw;
  min-width: 3vw;
  /* margin: 0 auto; */
}

.footer .footer_social{
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: center;
  justify-content: center;
  margin: 1% 0;
}

.footer .tc{
  color: #fff;
  padding: 1vh 0;
  font-size: 0.7em;
  line-height: 1.5em;
  font-family: Inter,sans-serif;
  font-style: light;
  font-weight: 400;
  text-align: center;
}

/* 
  Animation
 */

@keyframes animate {
  0% {
    background-position: -500%;
  }

  100% {
    background-position: 500%;
  }
}

@keyframes marquee {
  0% {
    transform: translate3d(var(--move-initial), 0, 0);
  }

  100% {
    transform: translate3d(var( --move-final), 0, 0);
  }
}

@keyframes moving {
  0% {
    /* (x,y) */
    transform: translate(-50%, -100%);
  }

  100% {
    transform: translate(-50%, 500%);
  }
}