.main-content{
    margin:0;
    padding:0;
    display:flex;
    flex-direction: column;
    align-items: center;
    background-color:#000000;
    height:170vh;
    width:100%;
    overflow:hidden;

   
}


.possible-line{
    /*
    position:absolute;
    top:40vh;
    */
    margin-top:10vh;
    padding:0;
    width:75%;
    height:40%;
    background-color:transparent;
    z-index: 1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content: center;
    text-align:center;
    font-family: "Times-New-Roman", sans-serif;
    gap:8%;
    
    animation: expand 1.2s ease-out;
    animation-fill-mode: backwards;
    animation-delay:0.3s;
}

@keyframes expand {
    from {
        opacity: 0;
        transform: scale(0.1);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.possible-line h1{
    animation: pulseGlow 2s infinite 1.2s;
    font-size: clamp(20px, 10vw, 200px);
    color: white;
    margin:0;
    
}

.possible-line h2{
    font-size: clamp(16px, 2vw, 32px);
    color:#ffffff;
    margin-top:0;
}

.possible-line p{
    font-size: clamp(5px, 1.6vw, 50px);
    /*color: rgb(159, 159, 159);*/
    color:white;
    margin-top: 0vh;
}

@keyframes pulseGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255,255,255,0.2);
    }

    50% {
        text-shadow: 0 0 25px rgba(255,255,255,0.6);
    }
}

.detect-button {
    padding: 3.5vh 4vw;
    color:white;
    background-color: var(--accent-color);
    border:none;

    cursor: pointer;
    font-size: clamp(8px, 1.3vw, 16px);
    font-weight: 500;
    font-family: "Oxanium", sans-serif;
    text-decoration: none;
    z-index: 1;
    

    display: flex;
    justify-content: center;
    align-items: center;
    position:relative;

    animation: loadIn 1.2s ease-out;
    animation-delay: 0.6s;
    animation-fill-mode: backwards;
    border-radius:999px;
}




.detect-button::before {
    content: "";
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;


    transform: scaleX(0);
    height: 100%;

    background: rgb(255, 255, 255);
    transition: transform 0.4s ease;
    border-radius:999px;
    z-index: -1;
    transform-origin: center;
}

.detect-button:hover::before {
    transform: scaleX(1);
}

.detect-button:hover {
    color: rgb(0, 0, 0);
}



@keyframes loadIn {
    from {
        opacity: 0;
        transform: translateY(30vh);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sub-content{
    width:100%;
    height: 50%;
    margin-top:10%;
    display:flex;
    flex-direction:row;
    align-items:center;
    background-color: transparent;
}

.looped-video {
    padding:0;
    width:clamp(1px,20%, 500px);
    height: auto;
    z-index:0;
    background-color: rgb(0, 0, 0);
    margin-left:20%;
    /*
    position:absolute;
    top: 30vh;
   
    margin: 8vh auto;
    filter: blur(3px);
    */
}

.statistics{
    padding:0;
    width:40%;
    height: 80%;
    z-index:0;
    background-color: transparent;
    margin-left:10%;
    display:flex;
    flex-direction: column;
    align-items:center;
}

.title-container{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;
    margin-bottom:5%;
    width:100%;
    gap:4%;
}

.title-container .bar-thingy{
    width:1%;
    height:100%;
    background-color: rgb(0, 255, 98);
}

.title-container h1{
    font-size: clamp(5px, 2.4vw, 70px);
    font-weight:600;
    color: var(--soft-color);
    font-family: "Times-New-Roman", sans-serif;
    padding:0;
    letter-spacing: 4%;
}

.grid-container{
    width:100%;
    height:75%;
    display:grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    border-radius:12px;
    border-style: solid;
    border-width: 1px;
    border-color: var(--medium-border-color);

    overflow: hidden;   
    background: var(--soft-border-color);
    gap: 1px;  
}

.grid-container div{
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 10%;
    font-family: "Times-new-Roman", sans-serif;
    color:white;
    background: black;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.05);
    gap: 15%;
}

.statistics div h1{
    font-size: clamp(5px, 2.1vw, 50px);
    font-weight:500;
    margin:0;
    padding:none;
}

.statistics div p{
    font-size: clamp(5px, 1vw, 50px);
    letter-spacing: 5%;
    font-weight:500;
    margin:0;
    padding:none;
    color:var(--soft-color);
    width: 80%;
}

.card-container {
    padding:0;
    margin-top:20vh;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;

    width:100%;
    height:70vh;
    background-color:#090909;
    z-index:1;

    border-style:solid;
    border-width: 1px;
    border-color: #151515;

}

.card-container h1{
    width:100%;
    text-align:center;
    color:white;
    font-family: "Times-New-Roman", sans-serif;
    font-size: clamp(20px, 3vw, 70px);
    margin:0;
    padding: 0;
}


.card { 
    padding:0;
    width: 30%;
    height: 35vh;
    background-color: #0c0c0c;
    border-radius: 12px;
    border-style:solid;
    border-width: 1px;
    border-color: var(--soft-border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 0;
    position:relative;

    transform: translateX(25vw);
    opacity:0;
    transition: 1s;
}

.card.show {
    opacity: 1;
    transform: translateX(0);
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("CardBackgroundDesignGreen.png");
    background-size: cover;
    background-position: center;
    opacity: 0.9;
    z-index: -1;
}


.card img{
    margin-top: 5vh;
    width: 60%;
    height: auto;
    border-radius: 12px;

}

.card .card-text{
    background-color:transparent;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height:80%;
    border-style: solid;
    border-width: 0px;
    border-color: #212121;
    justify-content:center;
}

.card h1{
    color:white;
    font-size: clamp(8px, 1.5vw, 24px);
    padding:none;
    margin:none;
    font-family: "Oxanium", sans-serif;
    text-align:left;
    width:100%;
    padding-left:5%;
}

.card p{
    color:white;
    font-size: clamp(6px, 1vw, 20px);
    width: 100%;
    padding:none;
    margin:none;
    text-align:left;
    padding-left:5%;
}


footer {
  background-color: #151515;
  color: white;
  text-align: center;
  margin:0;
  padding:0;
  height:8vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer p{
    font-family: "space grotesk", sans-serif;
    font-size: clamp(5px, 1vw, 20px);
}