/*BUILDING*/
.building {
    margin-top: 50px;
    padding: 2rem 1.5rem;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

.text {
    text-align: justify;
    order: 1;
    animation: slideInFromLeft 1s ease-in;
}

.building img {
    order: 2;
    animation: slideInFromRight 1s ease-in;
}

.fromBottom {
    animation: slideInFromBottom 1s ease-in;
}

.building h1 {
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--light-color);
    margin-bottom: 1.5rem;
    text-align: left;
}

p {
    font-size: 1.2rem;
    color: #333;
}

h2 {
    font-size: 2rem;
    font-weight: 400;
    color: var(--dark-color);
    width: fit-content;
    border-bottom: 1px solid var(--dark-color);
}

ul {
    margin-bottom: 2rem;
   
}

li {
    display: flex;
    gap: 1rem;
    align-content: center;
    align-items: center;
}

i {
    color: #375BA9;
}

.contact-us {
    color: #333;
    text-align: justify;
    font-style: italic;
}

.contact-us a {
    color: #375BA9;
    font-weight: 500;
}


/* Tablets and under*/
@media(max-width:915px){

    
    .text {
        order: 2;
    }

    .grid img {
        order: 1;
    }

    h1 {
        text-align: center;
    }

    ul {
        margin-bottom: 0;
    }

}


/* KEYFRAMES */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }
}
@keyframes slideInFromRight {
        0% {
            transform: translateX(100%);
        }
        100% {
            transform: translateX(0%);
        }
}
@keyframes slideInFromBottom {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0%);
    }
}