@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;700&family=Raleway:wght@200&display=swap');
html{
    height: 100%;
}
body{
    background-image: url(/imgs/Background.gif);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #040310;
    font-family: "Montserrat";
    color: white;
    overflow-x: hidden;
    background-attachment: fixed;
}
.header{
    list-style: none;
    text-transform: uppercase;
    display: flex;
    position: relative;
    align-items: center;
    text-decoration: none;
}
.navbar li {
    display: inline-block;
    margin-left: 5.5vw;
    margin-right: 5.5vw;
    color: white;
}
.navbar li:active{
    color: white;
}
.navbar li a{
    transition: all 0.3s ease 0s;
    text-shadow: 0em 0em 2em white, 0em 0em 3em white, 0em 0em .1em white;
}

.navbar li a:hover{
    color: rgb(255, 255, 255);
    letter-spacing: 0px;
    text-shadow: 0em 0em 1em rgb(255, 0, 242), 0em 0em 2em rgb(255, 0, 242), 0em 0em 3em rgb(255, 0, 242), 0em 0em 4em rgb(255, 0, 242), 0em 0em 5em rgb(255, 0, 242), 0em 0em .3em rgb(255, 0, 242), 0em 0em .3em rgb(255, 0, 242), 0em 0em .1em rgb(255, 255, 242);
}

.navbar{
    list-style: none;
    text-transform: uppercase;
    letter-spacing: 7px;
}

.spacer {
    aspect-ratio: 16/9;
    width: 100.4%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-top: -90px;
}
.layer1 {
    background-image: url(./layered-waves-haikei.svg);
}
.bluewaves{
    position: relative;
    background-image: url(./SVG/BlueWaves.svg);
    margin-top: -40vw;
}
.flip{
    transform: rotate(180deg);
}
.bluewaves-bottom{
    background-image: url(./SVG/BlueWaves.svg);
    margin-top: -1vw;
}
.pinkwaves-bottom{
    background-image: url(./SVG/Pink-Waves.svg);
    margin-top: -1vw;
}
.OrangeBlob
{
    position: absolute;
    scale: 200%;
    top: 200%;
}
.BlueBlob
{
    position: absolute;
    bottom: 10%;
    left: 13%;
    z-index: 1;
}
.PurpleBlob
{
    position: absolute;
    bottom: 20%;
    left: -25%;
    z-index: 0;
}
.logo
{
    font-size: 2rem;
    font-family: "Montserrat";
    color: rgb(255, 255, 255);
    font-weight: 700;
    letter-spacing: 7px;
    margin-left: 2.4%;
    text-shadow:
    0.05em 0 0 rgba(255, 0, 0, .75),
    -0.025em -0.05em 0 rgba(0, 255, 0, .75),
    0.025em 0.05em 0 rgba(0, 0, 255, .75),;
    animation: glitch 750ms infinite;

}
.logo span {
    position: absolute;
}
.logo span:first-child{
    animation: glitch 650ms infinite;
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 25%);
    transform: translate(-0.1em, -0.025em);

}
.logo span:last-child{
    animation: glitch 375ms infinite;
    clip-path: polygon(0 60%, 100% 60%, 100% 90%, 0 100%);
    transform: translate(0.09em, 0.025em);
}

@keyframes glitch{
    0%{
        text-shadow:
        -0.05em 0 0 rgba(255, 0, 0, .75),
        -0.025em -0.05em 0 rgba(0, 255, 0, .75),
        -0.05em -0.05em 0 rgba(0, 0, 255, .75);
    }
    24%{
        text-shadow:
        -0.05em 0 0 rgba(255, 0, 0, .75),
        -0.025em -0.05em 0 rgba(0, 255, 0, .75),
        -0.05em -0.05em 0 rgba(0, 0, 255, .75);
    }
    25%{
        text-shadow:
        0.05em 0 0 rgba(255, 0, 0, .75),
        -0.025em -0.05em 0 rgba(0, 255, 0, .75),
        0.05em 0.025em 0 rgba(0, 0, 255, .75);
    }
    49%{
        text-shadow:
        0.05em 0 0 rgba(255, 0, 0, .75),
        -0.025em -0.05em 0 rgba(0, 255, 0, .75),
        0.05em 0.025em 0 rgba(0, 0, 255, .75);
    }
    50%{
        text-shadow:
        -0.025em 0 0 rgba(255, 0, 0, .75),
        0.025em -0.025em 0 rgba(0, 255, 0, .75),
        0.025em 0.015em 0 rgba(0, 0, 255, .75);
    }
    99%{
        text-shadow:
        -0.025em 0 0 rgba(255, 0, 0, .75),
        0.025em -0.025em 0 rgba(0, 255, 0, .75),
        0.025em 0.015em 0 rgba(0, 0, 255, .75);
    }
    100%{
        text-shadow:
        0.05em 0 0 rgba(255, 0, 0, .75),
        -0.025em 0.025em 0 rgba(0, 255, 0, .75),
        -0.025em -0.025em 0 rgba(0, 0, 255, .75);
    } 
}
.top-portrait{
    position: absolute;
    bottom: 0px; /* Adjust based on desired distance from bottom */
    right: 0px; /* Adjust based on desired distance from right */
    max-width: 40%; /* Or a fixed width */
    border-radius: 20px; Maintains your styling
}
.introcell{
    background-image: linear-gradient(140deg, rgba(6,0,133,0.5382528011204482) 0%, rgba(180,51,255,0.66987570028011204) 46%, rgba(222,0,255,0.77718837535014) 100%);
    width: 50%;
    height: 35rem;
    margin-top: 10rem;
    margin-left: auto;
    margin-right: auto;
    border-radius: 2.5%;
    position: relative; /* Ensures .top-portrait can be positioned absolutely within */
    padding: 20px; /* Provides space for content */
    padding-bottom: 120px; /* Adjust based on the image height + desired spacing */
    min-height: 1rem; /* Adjust as needed */
    max-height: 27rem;
    text-align: justify; /* Optional, for better text alignment */
    --glow-color: rgb(255, 207, 255);
    --glow-spread-color: rgba(156, 45, 151, 0.781);
    box-shadow: 0 0 1em .25em var(--glow-color),
        0 0 4em 1em var(--glow-spread-color),
        inset 0 0 .75em .25em var(--glow-color);
    text-shadow: 0 0 .5em var(--glow-color);
    overflow: hidden;
}

.openingtext{
    font-size: 27.5px;
    font-family: "Montserrat", sans-serif;
    color: #ffffff;
    max-width: 35vw;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 3rem;
    margin-right: 20px; /* Ensures text doesn't flow behind the image if it's wider than expected */
}
.quote-attribution{
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
    color: #ffffff;
    padding-left: 3rem;
    padding-right: 3rem;
}
.OrangeContainer{
    background-image: linear-gradient(#fcaf3c, #fa9424);
    max-height: 95rem;
    min-height: 50rem;
    width: 100.4%;
    position: relative;
}
.BlueContainer{
    position: relative;
    background-color: #3782ee;
    max-height: 45rem;
    min-height: 0rem;
    width: 100.4%;
}
.PinkContainer{
    background-image: linear-gradient(#bd01a6, #34005f);
    min-height: 90rem;
    width: 100.4%;
    margin-top: -38vw;
}
.TL-Cable{
    margin-left: -20%;
    width: 90vw;
    position: absolute;
    z-index: 1;
}
.TL-Cable path{
    stroke: white;
}
.dot {
    fill: white; /* Change the color of the dots */
    r: 15; /* Change the radius of the dots */
  }
 .dotButton {
      display: none;
      position: absolute;
      background-color: #000;
      color: white;
      border: none;
      padding: 8px;
      cursor: pointer;
      border-radius: 5px;
    }
.tltext{
    fill: black;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: black;
}
.tltext:hover{
    fill: white;
}
.mainbody-text{
    display: inline-block;
    position: absolute;
    margin-left: 3rem;
    padding: 10px;
    background-color: rgba(0, 0, 0, .4);
    font-size: 20px;
    border-radius: 10px;
    transform: translateX(50rem);
}
.mainbody-box
{
    display: inline-block;
    position: absolute;
    margin: 5vh;
    padding: 10px;
    background-color: rgba(0, 0, 0, .4);
    font-size: 20px;
    border-radius: 10px;
    min-height: 100vh;
    min-width: 58vw;
    transform: translateX(35vw);
}
.tl-rect{
    fill: rgba(0, 0, 0, .5);
    border-radius: 20px;
    transition: width .5s, height .5s, fill .5s;
}
.tl-rect-hovered{
    fill: rgba(0, 0, 0, .8);
    width: 500px;
    height: 245px;
    cursor: pointer;
}

.dot{
    fill: white;
    r: 10;
    transition: r .5s;
}
.dot-hovered{
    fill: #f7770f;
    r: 20;
    transition: r .3s;
    cursor: pointer;
}

.entirepage#blur.active
{
    filter: blur(5px);
    transition: filter 0.1s ease-in-out;
}
.modalheader{
    position:absolute;
    width: 800px;
    height: 600px;
    left: 50%;
    top: 50%;
    border-radius: 2rem;
    transform: translate(-50%, -50%);
    background: linear-gradient(140deg, rgba(222,0,255,0.700717787114846) 0%, rgba(6,0,133,0.7987570028011204) 50%, rgba(222,0,255,0.7035189075630253) 100%);
    z-index: 3;
    visibility: hidden;
    max-height: 0px;
}
.modalheader#contactmodal.active
{
    visibility: visible;
    transition: max-height 0.7s ease-in-out;
    max-height: 750px;
    position: fixed;
}
.contacttitle{
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 7px;
    left: 36%;
    position: relative;
}
.inputs{
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    font-size: 18px;
    height: 35px;
    width: 680px;
    margin: 10px 50px 0px 50px;
    padding: 13px 10px 13px 10px;
    color: white;
}
input[name="firstName"]{
    width: 325px;
    margin: 10px 0px 0px 50px;
}
input[name="lastName"]{
    width: 325px;
    margin: 10px 50px 0px 5px;
}
textarea[name="message"]{
    height: 150px;
}
.send{
    position: relative;
    top: 10px;
    left: 650px;
}

.fa-solid{
    position: relative;
    bottom: 14.1%;
    left: 12%;
    color: rgb(41, 41, 41);
}
.fa-envelope{
    color: white;
    position: relative;
    left: 43.5%;
    top: 0%;
}
@keyframes envelopesent{
    1%{color: rgb(255, 77, 255);}
    100%{color: white;}
}
.contactform{
    opacity: 0%;
}

.contactform#contactform.active
{
    opacity: 100%;
    transition: opacity .9s ease-in-out;
}
.fa-xmark{
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    color: #fff;
}
.fa-xmark:hover{
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    cursor: pointer;
    color: rgb(255, 0, 242);
}

button {
    --glow-color: rgb(255, 207, 255);
    --glow-spread-color: rgba(156, 45, 151, 0.781);
    --btn-color: rgb(85, 37, 83);
    font: Montserrat;
    border: .25em solid var(--glow-color);
    padding: 1em 3em;
    color: var(--glow-color);
    font-size: 15px;
    background-color: var(--btn-color);
    border-radius: 1em;
    outline: none;
    box-shadow: 0 0 1em .25em var(--glow-color),
           0 0 4em 1em var(--glow-spread-color),
           inset 0 0 .75em .25em var(--glow-color);
    text-shadow: 0 0 .5em var(--glow-color);
    position: relative;
    transition: all 0.3s;
   }
   
   button::after {
    z-index: 1;
    pointer-events: none;
    content: "";
    position: absolute;
    top: 120%;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--glow-spread-color);
    filter: blur(2em);
    opacity: .7;
    transform: perspective(1.5em) rotateX(35deg) scale(1, .3);
   }
   
   button:hover {
    color: var(--btn-color);
    background-color: rgb(255, 255, 255);
    box-shadow: 0 0 1em .25em var(--glow-color),
           0 0 4em 2em var(--glow-spread-color),
           inset 0 0 .75em .25em var(--glow-color);
           cursor: pointer;pointer
   }
   
   button:active 
   {
    box-shadow: 0 0 0.6em .25em var(--glow-color),
           0 0 2.5em 2em var(--glow-spread-color),
           inset 0 0 .5em .25em var(--glow-color);
   }

   .fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}


  .quote-dots {
    text-align: center;
    margin-top: 20px; /* Adjust spacing as needed */
}

.dot {
    display: inline-block;
    width: 10px; /* Dot size */
    height: 10px; /* Dot size */
    border-radius: 50%;
    background-color: #ccc; /* Dot color */
    margin: 0 5px; /* Space between dots */
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.dot.active {
    background-color: var(--btn-color);
    transition: all 0.3s ease 0s;
    width: 13px;
    height: 13px;
    --glow-color: rgb(255, 255, 255);
    --glow-spread-color: rgba(255, 0, 242, 0.781);
    --btn-color: rgb(255, 144, 251);
    box-shadow: 0 0 1em .25em var(--glow-color),
    0 0 4em 1em var(--glow-spread-color),
    inset 0 0 .75em .25em var(--glow-color);
text-shadow: 0 0 .5em var(--glow-color);
}

.spinner-cont{
    width: 52.5rem;
    padding-left: 45%;
    position: relative;
    z-index: 3;
}
div#carousel { 
    perspective: 1200px; 
    padding-top: 10%; 
    padding-bottom: 20%;
    padding-right: 10%;
    font-size:0; 
  }

  @keyframes spin {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(173deg);
    }
    100% {
        transform: rotateY(0deg);
    }
    
}

  figure#spinner { 
    transform-style: preserve-3d; 
    height: 300px; 
    transform-origin: 50% 50% -500px; 
    transition: 1s; 
  } 
  figure#spinner img { 
    width: 100%; max-width: 415px; 
    position: absolute; left: 30%;
    transform-origin: 50% 50% -500px;
    outline:1px solid transparent;
  }


  figure#spinner img:nth-child(1) { transform:rotateY(0deg); 
  }
  figure#spinner img:nth-child(2) { transform: rotateY(-45deg); }
  figure#spinner img:nth-child(3) { transform: rotateY(45deg); }
  figure#spinner img:nth-child(4) { transform: rotateY(-90deg); }
  figure#spinner img:nth-child(5) { transform: rotateY(90deg); }
  figure#spinner img:nth-child(6) { transform: rotateY(135deg); }
  figure#spinner img:nth-child(7) { transform: rotateY(-135deg); }
  figure#spinner img:nth-child(8) { transform: rotateY(180deg); }
  .social-cont{
    width: 100%;
    height: 90vh;
    margin-top: -82.6vh;
    font-size: 20px;
    background-image: url(/imgs/Footer.gif);
    background-repeat: no-repeat;
    background-size: cover;
  }
  .cert-info {
    position: absolute;
    width: auto;
    min-width: 200px;
    bottom: 20%; /* Keeps it below the carousel */
    left: 80%;
    transform: translate(-50%, 0px); /* Initially centered */
    text-align: center;
    color: white;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 8px;
    opacity: 1;
    z-index: 1000;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out; /* Smooth transition */
    white-space: nowrap;
}


.cert-info.hidden {
    opacity: 0;
    transform: translate(-50%, 10px);
}
  .carosel-arrow
  {
    color: white;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: 150%;
  }
  .arrowcont
  {
    position: relative;
    justify-content: center;
    height: 5rem;
  }
  .carosel-arrow:hover
  {
    color: #f7770f;
    cursor: pointer;
    
  }
  .arrowright
  {
    transform: translate(700%, -50%);
    z-index: 1000;
  }
  .arrowleft
  {
    transform: translate(-700%, -50%);
    z-index: 1000;
  }

  .TextBoxTitle
  {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    margin-top: 10px;
  }
  .social-text{
    padding-top: 20vh;
    font-size: 35px;
    display: flex;
    position: relative;
    justify-content: center;
  }

  .socialmedia{
    display: flex;
    position: absolute;
    width: 11.25rem;
    height: 50%; 
    left: 49%;
    transform: translate(-50%);
}
  .fa-brands{
    color: white;
    padding: 5px;
}
.fa-brands:hover{
    color: rgb(255, 115, 0);
    transition: color 0.2s ease-in-out;
    cursor: pointer;
}
.mainbody-text{
    background-color: rgba(1, 1, 1, .7);
    position: relative;
    width: 43vw;
    height: 100%;
    top: -10vh;
    transform: translateX(51.5vw);
}
.bioimg{
    width: 28.2%;
    float: left;
}