.index-images img{
    width: 100%;
}

.title-contact{
    text-align: center;
    animation: fade-up 1s both;
    position: relative;
    top: -250px;
}

.contact-page{
    border-radius: 1em;
    position: relative;
    background-color: #f5f5f5;
    max-width: 70%;
    padding: 40px 0;
    top: -200px;
    box-shadow: 0 5px 10px 7px rgb(27, 27, 27, .2);
    animation: fade-up 1s both;
}

.contact-box{
    width: 100%;
}

.form-section{
    padding: 0 40px;
    border-right: 1px #1483BE solid;
    box-sizing: border-box;
}

.inputBox{
    position: relative;
    padding: 10px 20px 10px 0;
    margin-right: 10px;
}

.inputBox span{
    color: #bbb;
    position: absolute;
    text-align: left;
    top: 19px;
    left: 5px;
    pointer-events: none;
    transition: 0.5s;
    padding: 5px;
}

.inputBox-1{
    position: relative;
    padding: 10px 20px 10px 0;
    margin-right: 10px;
}

.inputBox-1 span{
    color: #bbb;
    position: absolute;
    text-align: left;
    top: 19px;
    left: 5px;
    pointer-events: none;
    transition: 0.5s;
    padding: 5px;
}

.form-section h1{
    margin: 20px 0 10px 0;
}

.form-section input{
    border-radius: 5px;
    border: 2px solid #bbb;
    height: 30px;
    width: 100%;
    padding: 5px 10px;
    box-shadow: none;
    outline: none;
    background: transparent;
    transition: 0.5s;
}

.inputBox input:valid ~ span,
.inputBox input:focus ~ span{
    color: #1483BE;
    transform: translateX(10px) translateY(-20px) scale(0.8);
    background: #f5f5f5;
}

.inputBox input:valid,
.inputBox input:focus{
    border: #1483BE 2px solid;
    transition: 0.3s;
}

.inputBox-1 input:valid ~ span,
.inputBox-1 input:focus ~ span{
    color: #1483BE;
    transform: translateX(10px) translateY(-20px) scale(0.8);
    background: #f5f5f5;
}

.inputBox-1 input:valid,
.inputBox-1 input:focus{
    border: #1483BE 2px solid;
    transition: 0.3s;
}

.form-section textarea{
    border-radius: 5px;
    border: 2px solid #bbb;
    height: 50px;
    width: 100%;
    padding: 10px 10px;
    box-shadow: none;
    outline: none;
    background: transparent;
    resize: none;
    transition: 0.5s;
}

.inputBox textarea:valid ~ span,
.inputBox textarea:focus ~ span{
    color: #1483BE;
    transform: translateX(10px) translateY(-20px) scale(0.8);
    background: #f5f5f5;
}

.inputBox textarea:valid,
.inputBox textarea:focus{
    border: #1483BE 2px solid;
    transition: 0.3s;
}

.address-section{
    padding: 0 40px 40px 40px;
    margin: 0;
    line-height: 1.6;
}

/* KEYFRAME */
@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    
    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}


/* Mobile: width < 768px */
@media (max-width: 768px) {
    .title-contact{
        top: -100px;
    }

    .contact-page{
        top: -100px;
        max-width: 100%;
    }

    .form-section{
        display: none;
        border-right: none;
    }

    .form-section input{
        width: 100%;
    }

    .address-section{
        margin-top: 50px;
        width: 80%;
    }

    .address-section img{
        width: 100%;
    }

}