@import url(main.css);

#main-hero {
    height: 86vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5vw;
}

#main-headline {
    text-transform: uppercase;
    font-size: clamp(2rem, 4.5vw, 8rem);
    margin-top: 4vh;
    margin-bottom: 0px;
}

#main-seperator {
    border-bottom: 0.5vw solid white;
    width: 7.5%;
    visibility: hidden;
}

#xcits-left { 
    display: flex;
    flex-direction: column;
    align-items: end;
    font-size: clamp(2rem, 2.5vw, 4rem);
}

#xcits {
    display: flex;
    flex-direction: row;
    justify-content: end;
    margin-top: 6vh;
}

#xcits-img {
    background-image: url(../images/xcITs_Logo.svg);
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 320 / 79;
}

#xcits-seperator {
    margin-left: 1vw;
    margin-right: 1vw;
    width: 0.2rem;
    background-color: white;
}

#git-button {
    color: white;
    font-size: xx-large;
    background-color: transparent;
    padding: 0.8rem;
    border-radius: 0.5rem;
    border: 2px solid white;
    outline: 3px solid transparent;
    outline-offset: 0px;
    cursor: pointer;
    font-weight: bolder;
    transition: all .5s;
    position: relative;
}


#git-button:hover {
    outline-color: var(--xcits-green);
    outline-offset: 5px;
}

/* #git-button:hover::after {
    opacity: 1;
    transform: translateX(-100%);
    transition: all 1s;
}

#git-button::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(102,188,69);
    top: 0px;
    left: 100%;
    z-index: -1;
    opacity: 0;
    transition: all 1s;
    transform: translateX(0%);
} */

#git-wrapper {
    margin-top: max(1vh, 5vh);
    width: fit-content;
}

.cards {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.card {
    border-radius: 0.5rem;
    border: 2px solid white;
    display: flex;
    flex-direction: column;
    flex-basis: 0;
    flex-grow: 1;
    margin-left: 2.5vw;
    margin-right: 2.5vw;
    margin-bottom: 5vw;
    background-color: rgba(0, 0, 0, 0.6);
    transition: all .5s;
    outline: 3px solid transparent;
    position: relative;
    /* transform: translateY(-30%); */
    /* box-shadow: 5px 10px 18px rgba(255, 255, 255, 0.3); */
}

.card:hover {
    outline: 3px solid var(--xcits-green);
    outline-offset: 5px;
}

.card:nth-child(1) {
    margin-left: 5vw;
}

.card:nth-child(3) {
    margin-right: 5vw;
}

.card-header{
    padding: 1rem 1rem 0rem 1rem;
    text-align: center;
}

.card-header h2{
    margin: 0px;
}

.card-content {
    padding: 1rem;
    /* height: fit-content; */
}

.card-content img {
    float: left;
    margin: 0px 15px 15px 0px;
}

.card-content p {
    margin: 0px;
    font-size: x-large;
}

.card-link::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
}
/* 
.moving-line {
    position: relative;
}

.moving-line::after{
    content: "";
    position: absolute;
    border-bottom: 4px solid white;
    width: 0%;
    animation: moving-line-anim 20s alternate infinite ease-in-out;
} */

/* .waves {
    position:relative;
    width: 100%;
    height:15vh;
    margin-bottom:-7px; 
    min-height:100px;
    max-height:150px;
  }
  
  .content {
    position:relative;
    height:20vh;
    text-align:center;
    background-color: white;
  }
  
  
  .parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
  }
  .parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
  }
  .parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
  }
  .parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
  }
  .parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
  }
  @keyframes move-forever {
    0% {
     transform: translate3d(-90px,0,0);
    }
    100% { 
      transform: translate3d(85px,0,0);
    }
  } */

/* @keyframes moving-line-anim {
    0% {
        left: 0%;
        width: 0%;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 0%;
        right: 0%;
    }
} */

@media only screen and (max-width: 900px) {

/*     #xcits-left {
        font-size: 5vw;
        flex-direction: row;
        justify-content: space-between;
        flex: 1;
    }

    #xcits {
        flex-direction: column;
    } */

/*     .waves {
        height:40px;
        min-height:40px;
      }
 */
    #xcits-img {
        display: none;
    }

    #main-headline {
        font-size: 8.5vw;
    }

    .cards {
        flex-direction: column;
    }

    .card:nth-child(1) {
        margin-left: 2.5vw;
    }
    
    .card:nth-child(3) {
        margin-right: 2.5vw;
    }
} 