@font-face {
    font-family: Foerte;
    src: url(fonts/foerte/FOERTE.ttf);
}
@font-face {
    font-family: EspinosaNovaPro;
    src: url(fonts/espinosa-nova/EspinosaNovaPro-Regular.otf);
}
@font-face {
    font-family: EspinosaNovaProBold;
    src: url(fonts/espinosa-nova/EspinosaNovaPro-Bold.otf);
}
@font-face {
    font-family: Kaushan;
    src: url(fonts/Kaushan_Script/KaushanScript-Regular.ttf);
}



.fade_text {
    opacity: 0;
    filter: blur(2px);
    transform: translateX(-5%);
    transition-delay: 0.2s;
    transition: all 1s;
}

.fade_service {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-100%);
}
@media(min-width: 1200px) {
    .fade_service:nth-child(3){
        transition-delay: 0.6s;
    }
    .fade_service:nth-child(4){
        transition-delay: 0.4s;
    }
    .fade_service:nth-child(5){
        transition-delay: 0.6s;
    }
    .fade_service:nth-child(6){
        transition-delay: 0.4s;
    }
}


.timeline {
    position: relative;
    max-width: 1200px;
    margin: 100px auto;
}

.timeline_container {
    padding: 30px 50px;
    position: relative;
    width: 50%;
    opacity: 0;
    transition: all 1s;
}

.timeline_text {
    padding: 20px 30px;
    background-color: #fff;
    position: relative;
    border-radius: 6px;
    font-size: 20px;
    z-index: 3;
}

.left_container {
    left: 0;
}

.timeline_container img {
    position: absolute;
    width: 200px;
    border-radius: 100%;
    right: -150px;
    top: 15%;
    z-index: 2;
}

.right_container {
    left: 50%;
}

.right_container img {
    left: -150px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 100;
    background: #000000;
    top: 0;
    left: 50%;
    margin-left: -3px;
    z-index: 1;
}

.timeline_text h2 {
    font-size: 30px;
    font-weight: 600;
}

.left-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 30%;
    z-index: 3;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid white;
    right: -15px;
}

.right-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 30%;
    z-index: 3;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid white;
    left: -15px;
}

@media screen and (max-width: 1200px) {
    .timeline {
        margin: 50px auto;
    }
    .timeline::after {
        left: 31px;
    }
    .timeline_container {
        width: 100%;
        padding-left: 120px;
        padding-right: 25px;
    }
    .timeline_text {
        font-size: 15px;
    }
    .right_container {
        left: 0;
    }
    .left_container img,
    .right_container img {
        top: 30%;
        left: 10px;
        width: 100px;
    }
    .left-arrow,
    .right-arrow {
        border-right: 15px solid white;
        border-left: 0;
        left: -15px;
    }
}

#team {
    background-image: url('images/time.jpg');
}
@media screen and (max-width: 1200px) {
    #team {
        font-family: Kaushan;
        background-image: url('images/time2.jpg');
    }
}

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


form {
    display: flex;
    flex-direction: column;
    padding: 2vw 2vw;
    width: 100%;
    border-radius: 20px;
    background-color: #3e3e3e;
}
@media (min-width: 1200px) {
    form {
        width: 75%;
    }
}

form input, form textarea{
    border: 0;
    margin: 10px 0;
    padding: 20px;
    outline: none;
    background: #f5f5f5;
    font-size: 16px;
    border-radius: 10px;
}
form input:hover, form textarea:hover{
    transition-duration: 0.3s;
    background-color: #d5d5d5;
}

form button{
    font-weight: bold;
    color: #fff;
    padding: 2px 1px;
    font-size: 20px;
    border: 0;
    outline: none;
    cursor: pointer;
    width: 150px;
    margin: 20px auto 0;
    border-radius: 10px;
}
form button:hover{
    transition-duration: 0.3s;
    color: black;
    background-color: white;
}