.intro {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    width: 100%;
}

.introBackground {
    z-index: 1;
    position: absolute;
    height: inherit;
    width: inherit;
    background-image: url("../images/introBackground.jfif");
    background-size: cover;
    background-position-y: top;
    background-position-x: center;
    background-repeat: no-repeat;
	-webkit-animation: vertical-motion-simulation 220s ease-out infinite both;
    animation: vertical-motion-simulation 220s ease-out infinite both;
}

.introTitle {
    z-index: 2;
    position: absolute;
    display: flex;
    justify-content: center;
    width: fit-content;
    font-size: 180px;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    -webkit-animation: focus-in-focus-out 2.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
	animation: focus-in-focus-out 2.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
    cursor: pointer;
}

.introTitle:hover {
	opacity: 1 !important;
}

.introContent {
    z-index: 2;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 560px;
    width: 75vw;
    font-size: 18px;
    top: 390px;
    gap: 5px;
    overflow-y: visible;
}

.introCard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: fit-content;
    width: 31%;
    transition: 0.2s;
    margin: 0;
}

.introCard:hover {
    transition: 0.2s;
    margin-top: 65px;
    margin-left: 5px;
    margin-right: 5px;
}

.introCardPointed {
    height: 0;
    width: 100%;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%, 50% 100%);
    background-color: rgb(255, 255, 255);
    transition: 0.2s;
    cursor: pointer;
}

.introCard:hover .introCardPointed {
    height: 80px;
    transition: 0.2s;
}

.introCardContent {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    height: fit-content;
    background-color: rgb(255, 255, 255);
    transition: 0.2s;
    padding-bottom: 20px;
    border-radius: 2px;
    cursor: pointer;
}

.introCard:hover .introCardContent {
    background-color: rgb(255, 255, 255);
    transition: 0.2s;
    padding-top: 15px;
}

.introCard img {
    height: 250px;
    width: 100%;
    padding-bottom: 20px;
}

.cardText {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 290px;
    width: 80%;
}

.cardText h2, .cardText h3 {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

.cardText h2 {
    font-size: 30px;
}

.introCard:nth-child(1) .cardText h2 {
    color: rgb(0, 187, 3);
}

.introCard:nth-child(2) .cardText h2 {
    color: rgb(0, 0, 255);
}

.introCard:nth-child(3) .cardText h2 {
    color: rgb(255, 106, 106);
}

.cardText h3 {
    font-size: 18px;
    padding-bottom: 0;
}

.cardComplement {
    display: flex;
    justify-content: space-between;
    align-items: end;
    height: 100%;
    width: 100%;
}

.cardComplement div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 47%;
}

@keyframes vertical-motion-simulation {
    0% {
        
        background-position-y: top;
    }
    50% {
        
        background-position-y: bottom;
    }
    100% {
        
        background-position-y: top;
      }
}

@keyframes focus-in-focus-out {
    0% {
        -webkit-filter: blur(12px);
        filter: blur(12px);
        opacity: 0;
    }
    60% {
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
    100% {
        opacity: 0.5;
    }
}

@keyframes horizontal-motion-simulation {
    0% {
        
        background-position-x: left;
    }
    50% {
        
        background-position-x: right;
    }
    100% {
        
        background-position-x: left;
      }
}

@media (width < 1200px) {
    .introTitle {
        font-size: 165px;
    }

    .introContent {
        width: 85vw;
    }
}

@media (width < 1100px) {
    .introContent {
        width: 100vw;
    }
}

@media (width < 950px) {
    .introTitle {
        font-size: 125px;
    }

    .introContent {
        flex-direction: column;
        height: fit-content;
        gap: 20px;
        top: 400px;
    }

    .introCard {
        width: 85%;
    }

    .introCard:hover {
        transition: 0.2s;
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .introCard img {
        height: 300px;
        width: 600px;
    }

    .cardText {
        height: 240px;
    }
}

@media (width < 850px) {
    .introBackground {
        -webkit-animation: horizontal-motion-simulation 220s ease-out infinite both;
        animation: horizontal-motion-simulation 220s ease-out infinite both;
    }
}

@media (width < 750px) {
    .introTitle {
        font-size: 80px;
    }

    .introCard {
        width: 90%;
    }

    .introCard img {
        height: 350px;
        width: 100%;
    }
}

@media (width < 650px) {
    .intro {
        align-items: start;
    }

    .introTitle {
        top: 150px;
    }

    .introContent {
        top: 280px;
    }

    .introCard img {
        height: 300px;
    }
}

@media (width < 520px) {
    .cardText {
        height: 270px;
    }
}

@media (width < 460px) {
    .introTitle {
        font-size: 60px;
    }
}

@media (width < 420px) {
    .cardText {
        height: 290px;
    }
}

@media (width < 330px) {
    .introTitle {
        font-size: 50px;
    }

    .introCard img {
        height: 230px;
    }

    .cardText {
        height: 335px;
    }
}