@import url('../fonts/jetbrains/css/jetbrains.css');
@import url('../fonts/switzer/css/switzer.css');

body{
  background-color: #101010;
}

:root {
    --cursor-width: 0.1675rem; /* equivalent to 3px assuming base font-size is 16px */
    --letter-spacing: 0.0625rem; /* equivalent to 1px assuming base font-size is 16px */
    --cursor-color: #f5f5f5;
    --spacing-company: 2rem;
    --megabyte-purple: #6666ff;
    --switch-background-colo: #000;  
    --dropdown-color: #fff

}

h1{
    font-family: 'JetBrainsMono-ExtraBold';
    font-size: 4rem;
    color: white;
}
h2{
    font-family: 'JetBrainsMono-Bold';
    font-size: 3rem;
    color: white;
}

h3{
    font-family: 'Switzer-Bold';
    font-size: 2.5rem;
    color: white;
}

h3.blockA{
  font-family: 'Switzer-Light';
  font-size: 2.0rem;
  color: white;
  margin-top: 1rem;
  line-height: 2.0rem;
  margin-bottom: 15rem;
}

h3.blockB{
  font-family: 'Switzer-Light';
  font-size: 2.0rem;
  color: white;
  margin-top: 1rem;
  line-height: 2.0rem;
  margin-bottom: 1rem;
}

h3.blockC{
  font-family: 'Switzer-Light';
  font-size: 2.0rem;
  color: white;
  margin-top: 1rem;
  line-height: 2.0rem;
  margin-bottom: 1rem;
  width: 35%;
}

h3.blockB strong{
  color: gray;
}

h4{
    font-family: 'Switzer-Medium';
    font-size: 1.2rem;
    color: white;
}

hgroup h4{
    font-family: 'Switzer-Light';
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.2rem;
    clear: both;
    display: block;
}

p{
    font-family: 'Switzer-Regular';
    font-size: 0.89rem;
    color: white;
}

.card p, .card h4{
    font-family: 'JetBrainsMono-NL-Regular';
    font-size: 0.80rem;
    color: white;
}

.card-new strong{
  color: white;
  font-family: 'JetBrainsMono-NL-Regular';
  font-size: 0.80rem;
  padding-left: 14rem;
  margin-bottom: 2.5rem;
  display: block;
}

p.subheading{
    font-family: 'JetBrainsMono-NL-Regular';
    font-size: 0.89rem;
    color: white;
    width: 30%;
    display: block;
    margin-top: 2rem;
}

li{
    font-family: 'Switzer-Regular';
    font-size: 0.89rem;
    color: white;
}

a:link, a:active{
    font-family: 'Switzer-Thin';
    font-size: 0.89rem;
    color: white;

}

a:hover{
   text-decoration: underline;
   color: var(--megabyte-purple);
}

a:visited{
    color: #ececec;
    text-decoration: underline;
}

.homeTitle {
  text-align: center;
  margin-bottom: 3rem;
  display: block;
  font-family: 'Switzer-Light';
  font-size: 2.4rem;
  color: white;
  line-height: 1.5rem;
  margin-top: 1rem;
}

.homeTitle h4{
  font-family: 'JetBrainsMono-NL-Regular';
  font-size: 1.3rem;
  text-transform: uppercase;
 }

.container {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers content vertically */
  align-items: center; /* Centers content horizontally */
}

.grid {
  display: flex;
  justify-content: space-between; /* Optional: Adds space between images */
}

.brand{
  font-size: 0.89rem;
  text-align: center;
  font-family: 'Switzer-Light';
}

.brand img {
  width: auto;
  height: auto;
  max-width: 100%; /* Ensures that the image does not overflow its container */
}

.text-animation, .text-animation-b {
    display: none;
    position: relative;
    letter-spacing: var(--letter-spacing);
    line-height: 1;
  }

  .text-animation-b{
    font-size: 1.8rem
  }
    
  .text-animation .letter, .text-animation .letter {
    display: inline-block;
    opacity: 0;
  }
  
  .cursor {
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--cursor-width);
    background: var(--cursor-color);
    z-index: 1;
  }
  
#logo {
    background-image: url('../logos/Megabyte_White.svg');
    display: block;
    width: 175px;
    height: 48px;
    background-size: contain;  /* scales the image as large as possible within its container without cropping or stretching it */
    background-repeat: no-repeat; /* prevents the image from repeating */
}

/* Header */
.hero {
    background-color: #000;
    background-image: url("../media/basket_violet_fn.gif");
    background-position: center;
    background-size: cover;
  }

  .heroB{
    background-color: #000;
    background-image: url("../media/ballet_violet_fn.gif");
    background-position: center;
    background-size: cover;
    height: 814px;
    width: 100%;
    display: flexbox;
    border-radius: 20px; /* Adjust this value as needed */
    background-color: #000;
    padding: 3rem;
  }
  
  .spacer{
    margin-top: 1rem;
  }

  .spacerB{
    margin-top: 2rem;
  }

  .spacerB p{
    margin-bottom: 3rem;
  }

  .pushB{
    margin-top: 0.40rem;
  }

  .pushC{
    clear: both;
  }

  .extraPadding{
    margin-left: 4rem;
    margin-right: 4rem;
  }

  header {
    padding: var(--spacing-company) 0;
  }

  header hgroup {
    margin-bottom: var(--spacing-company);
    margin-top: 10em;
    margin-bottom: 10em;
  }

  hgroup{
    margin-left: 2rem;
  }

  details[role=list] summary+ul, li[role=list]>ul{
    background-color: transparent;
    border: 0px solid var(--megabyte-purple);
  }

  details[role=list] summary+ul li, li[role=list]>ul li{
    background-color: #000;
    color: #fff;
    font-family: 'JetBrainsMono-NL-Regular';
  }

  summary{
    font-family: 'JetBrainsMono-NL-Regular';
    font-size: 0.79rem;
    color: white;
  }

  details[role=list] summary+ul li a, li[role=list]>ul li a{
    background-color: #000;
    font-family: 'JetBrainsMono-NL-Regular';
    font-size: 0.79rem;
    color: white;
  }
  details[role=list] summary+ul li a:hover, li[role=list]>ul li a:hover{
    text-decoration: underline;
    background-color: #000;
  }

  details summary:focus:not([role=button]), details summary:hover:not([role=button]), li[role=list]>ul li:hover{
    background-color: transparent;
    color: #fff;
    font-family: 'JetBrainsMono-NL-Regular';
  }

  .halfContainer{
    display: block;
    width: 40%;
  }

/* Dark scheme (Forced) */
/* Enabled if forced with data-theme="dark" */

[data-theme=dark] {
    --background-color: #000;
}

a.blackButton{
  border: 1px solid #fff;
  border-radius: 10px; /* Adjust this value as needed */
  text-align: center;
  color: white;
  background-color: #000;
  padding: 0.5rem;
  font-family: 'JetBrainsMono-NL-Regular';
  font-size: 0.78rem;
}

a.whiteButton{
  border: 1px solid #000;
  border-radius: 10px; /* Adjust this value as needed */
  text-align: center;
  color: #000;
  background-color: #fff;
  padding: 0.5rem;
  font-family: 'JetBrainsMono-NL-Regular';
  font-size: 0.78rem;
}

.square {
  width: 75%;
  height: 18rem;
  border-radius: 20px;
  padding: 1rem;
  border: 1px solid gray;
  margin-bottom: 5rem;
  margin-left: 4rem;
}

.square img{
  margin-top: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 1rem;
  width: 157px;
  height: 217px;
}

.subSquare{
  width: 98%;
  margin-right: 20px; /* Adjust the margin as needed */
  border-radius: 20px;
  padding: 1rem;
  border: 1px solid gray;
  display: block;
  text-align: center;
}

.subSquare p{
  font-size: 0.88rem;
  text-align: left;
  color: gray;
}

.showcaseA{
  border-radius: 20px;
  width: 100rem;
  height: 25rem;
 
}

.square:hover{
  background-color: #1c1c1c;
}
.square-content h5, .subSquare h5{
  font-family: 'JetBrainsMono-NL-Regular';
  text-transform: uppercase;
  font-size: 0.78rem;
  color: white;
}

.subSquare h5{
  text-align: left;
  color: gray;
  margin-top: 3rem;
}

.square-content h5{
  text-align: center;
  margin-block-end: 0.5rem;
  margin-block-start: 0.5rem;
}

.square-content h5 strong{
  margin-right: 0.23rem;
}
.square-content p{
  font-family: 'JetBrainsMono-NL-Regular';
  font-size: 0.63rem;
  color: white;
  text-align: center;
  color: #ececec;
}

.squareContainer {
  overflow: scroll;
  display: block;
  justify-content: space-between;
  clear: both;
  width: 100%;
}

a.leftArrow{
  margin-right: 1rem;
  margin-bottom: 1rem;
  background-image: url("../media/arrow-left.png");
  display: block;
  width: 42px;
  height: 42px;
  float: left;
}

a.rightArrow{
  margin-left: 1rem;
  margin-bottom: 1rem;
  background-image: url("../media/arrow-right.png");
  display: block;
  width: 42px;
  height: 42px;
  float: left;
}

.videoAd {
  background-color: var(--megabyte-purple);
  background-image: url("../media/bg-1.jpg");
  background-position: center;
  background-size: cover;
  height: 814px;
  width: 100%;
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
  border-radius: 20px; /* Adjust this value as needed */
  background-color: #000;
  padding: 3rem;
  text-align: center;
}

.videoAd h5 {
  font-family: 'JetBrainsMono-NL-Regular';
  font-size: 2.0rem;
  color: white;
  text-align: center;
  margin-bottom: 1rem;
}

.videoAd a.whiteButton {
  display: block;
  font-size: 1.5rem;
  color: black;
  text-decoration: none;
}

.num {
  text-align: left;
  display: inline-block;
  margin-right: 5rem;
}

.sentence {
  text-align: left;
  display: inline-block;
  padding: 1rem;
}

.desktopPad{
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.footerText{
  font-family: 'JetBrainsMono-NL-Regular';
  font-size: 0.78rem;
  color: gray;
  text-align: left;
  width: 35%;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
}


/* Mobile Styles */
@media (max-width: 767px) {
  /* Hero */
  .hero {
    padding: 0px;
    background-position: top;
  }


  .heroB{
    padding-left: 0.5rem;
    padding-top: 5rem;
  }

  .container-fluid {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .container-fluid nav ul,
  .container-fluid header hgroup {
    text-align: center;
  }

  .container-fluid nav ul li {
    display: block;
    margin-bottom: 5px;
  }

  .container-fluid nav ul li:last-child {
    margin-bottom: 0;
  }

  .container-fluid nav ul li details {
    text-align: left;
  }

  .container-fluid nav ul li details summary {
    display: block;
  }

  .container-fluid nav ul li details ul {
    margin-top: 10px;
  }

  .container-fluid header hgroup h4 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .container-fluid header hgroup p {
    font-size: 14px;
  }

  .homeTitle {
    margin-bottom: 1rem;
  }

  header hgroup {
    margin-bottom: var(--spacing-company);
    margin-top: 10em;
    margin-bottom: 10em;
  }
  
  hgroup{
    margin-left: 0.25rem;
  }

  p.subheading{
    width: 100%;
    margin-top: 1rem;
  }

  .text-animation, .text-animation-b{
    font-size: 1.5rem;
  }

  /* Brand Grid */
  .grid {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }

  /* Individual Brand */
  .brand {
    flex: 0 0 100%; /* Ensure each brand occupies the full width of its container */
    padding: 0.325rem; /* Add some spacing between brands */
  }

  .brand img {
    transform: scale(0.55); /* Make the images 25% smaller */
  }

  .cursor {
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--cursor-width);
    background: var(--cursor-color);
    z-index: 1;
  }

  h3.blockA{
    margin-bottom: 3rem;
  }

  .card{
    margin-right: 1rem;
  }
  
  .card-new{
    margin-top: 1rem;
  }


.num {
  text-align: left;
  display: inline-block;
  margin-right: 0rem;
}

.sentence {
  text-align: left;
  display: inline-block;
  padding-top: 0.5rem;
}

.square {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  height: 22rem;
  width: 100%;
}


.square-content p{
  font-family: 'JetBrainsMono-NL-Regular';
  font-size: 0.63rem;
  color: white;
  text-align: left;
  color: #ececec;
  margin-left: 1rem;
}

.desktopPad{
  margin-top: 0rem;
  margin-bottom: 0rem;
}

h3.blockB{
  text-align: center;
  margin-bottom: 1.5rem;
}

.showcaseA {
  border-radius: 20px;
}

.squareContainer {
  width: 100%; 
}

.subSquare{
  clear: both;
  margin-bottom: 1rem;
  width: 99%;
}

.spacerB{
  margin-top: 0.5rem;
}

.footerText{
  width: 95%;
}

h3.blockC{
  width: 95%;
}

.halfContainer{
  width: 100%;
}

}
