body{
    background-color: white;
    overflow-y: scroll;
    overflow-x: hidden;
}

.introBackground{
    left: 10%;
    width: 100%;
    height: 700px;
    overflow-x: hidden;
}

.intro{
    width: 800px;
    height: 450px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 30px 50px gray;
    overflow-x: hidden;
}

#slide{
    width: max-content;
    margin-top: 50px;
    
}

.item{
    width: 25%;
    height: 50%;
    background-position: inline-block;
    background-size: cover;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px black;
    transition: .5s;
}

.item:nth-child(1), .item:nth-child(2){
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(0);
    box-shadow: none;
}

.item:nth-child(3){
    left: 100%;
}

.item:nth-child(4){
    left: calc(90% + 220px);
}

.item:nth-child(5){
    left: calc(90% + 440px);
    opacity: 0;
}

.item:nth-child(n+6){
    left: calc(90%+660px);
    opacity: 0;
}

.item .content{
    width: 300px;
    position: absolute;
    left: 100px;
    top: 55%;
    transform: translateY(-50%);
    color: white;
    display: none;
}

.item:nth-child(2) .content{
    display: block;
}

.item .name{
    font-size: 40px;
    font-weight: bold;
    opacity: 0;
    animation: showcontent 1s ease-in-out 1 forwards;
}

.item .des{
    margin: 20px 0;
    opacity: 0;
    animation: showcontent 1s ease-in-out 0.3s 1 forwards;
}

@keyframes showcontent{
    from{
        opacity:0;
        transform: translateY(100px);
        filter: blur(20px);
    }to{
        opacity:1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.buttons{
    width: 100%;
    position: absolute;
    bottom: 50px;
    margin-left: -50px;
    text-align: center;
}

.s_button{
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: red;
    background-color: white;
    font-size: 25px;
    border-radius: 50%;
    font-weight: bold;
    margin: 0 25px;
    transition: .5s;
}

.s_button:hover{
    cursor: pointer;
    background-color: red;
    color: white;
}

.card{
    height: 700px;
    position: relative;
}

.card-container{
    position: relative;
    width: 80%;
    height: fit-content;
    left: 10%;
    text-align: center;
    margin: 100px 0;
}

.title-container{
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 2em;
    line-height: 0.5em;
}

.title-container{
    font-style: italic;
}

.title-container h1, .title-container h3{
    margin: 20px;
}

.card-pic{
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    width: 50%;
    height: 500px;
    left: 50%;
    top: 50%;
    border-radius: 20px;
    transform: translate(-50%,-50%);
}

.card-description{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: absolute;
    width: 50%;
    padding: 20px;
    background-color: #f2f2f2;
    border-radius: 20px;
    left: 50%;
    top: 50%;
    font-size: 1.3em;
    transform: translate(-50%,-50%);
    transition-delay: 0.1s;
}

.reveal{
    left: 50%;
}

.first.card-pic.active2{
    background-image: url('../image/cardPic1.jpg');
    left: 70%;
}

.first.card-description.active2, .third.card-description.active2{
    left: 30%;
}

.second.card-pic.active2{
    background-image: url('../image/cardPic2.jpg');
    left: 30%;
}

.second.card-description.active2{
    left: 70%;
}

.third.card-pic.active2{
    background-image: url('../image/cardPic3.jpg');
    left: 70%;
}

.divider{
    width: 70px;
    height: 4px;
    border-top: 1px solid red;
    border-bottom: 1px solid red;
    margin-top: 8px;
    margin-bottom: 8px;
}

.video-container{
    margin-bottom: 100px;
}

.video-container video{
    border-radius: 20px;
    margin-left: 50%;
    transform: translateX(-50%);
}

.divider.video{
    width: 100px;
}