.services {
    display: flex;
    align-items: center;
}

.content {
    text-align: start;
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    margin: 20px;
    padding: 20px;
    border: 1px solid whitesmoke;
    transition: all .3s ease;
}

.content > *{
    flex: 1 1 100%;
}

.content:hover {
    background-color: rgba(30, 187, 163, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
    cursor: pointer;
}

.content h4 {
    font-size: 25px;
} 

@media (max-width: 900px) {
    .services {
        display: flex;
        flex-direction: column;
        text-align: start;
    } 
}
/*===Start of SECOND Card Hover===*/
.services1 {
    display: flex;
    align-items: center;
}

.content {
    text-align: start;
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    margin: 20px;
    padding: 20px;
    border: 1px solid whitesmoke;
    transition: all .3s ease;
}

.content> *{
    flex: 1 1 100%;
}

.content:hover {
    background-color: rgba(30, 187, 163, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
    cursor: pointer;
}

.content h4 {
    font-size: 25px;
}

@media (max-width: 900px) {
    .services1 {
        display: flex;
        flex-direction: column;
        text-align: start;
    }
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}

.main-content {
    display: flex;
}

.main-content .box {
    flex-basis: 50%;
    padding: 10px 20px;
}

.box h2 {
    color: #d9d9d9;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
}

.box .contents {
    margin: 20px 0 0 0;
}

.left .contents p {
    text-align: justify;
    color: #d9d9d9;
}

.left .contents .social {
    margin: 20px 0 0 0;
}

.left .contents .social a {
    padding: 0 2px;
}

.left .contents .social a i {
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: #808080;
    color: #d9d9d9;
    font-size: 18px;
    transition: all 0.5s ease;
}      

.left .contents .social a i:hover {
    background-color: #800000;
}

.center .contents .fas {
    height: 45px;
    width: 45px;
    font-size: 1.4375rem;
    background-color: #f5f5f5;
    color: #d9d9d9;
    margin-right: 10px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    transition: all;
    cursor: pointer;
}

.center .contents .fas:hover {
    background-color: #800000;
}

.center .contents .text {
    font-size: 1.0625rem;
    font-weight: 500;
    padding-left: 10px;
    color: #d9d9d9;
    margin-top: 10px;
}

.center .contents .phone {
    margin: 10px 0;
}

.right form .text {
    font-size: 1.0625rem;
    color: #808080;
    margin-bottom: 2px;
}

.right form .msg {
    margin-bottom: 10px;
}

.right form input, .right form textarea {
    width: 100%;
    padding: 10px;
    background-color: #1a1a1a;
    border: none;
    outline: none;
    color: #d9d9d9;
    font-size: 1.0625rem;
    border-radius: 5px;
}

.right form input:focus,
.right form textarea:focus {
    border: 2px solid #808080;
}

.right form input {
    height: 40px;
}

.right form .btn {
    margin-top: 5px;
}

.right form .btn button {
    height: 40px;
    width: 100%;
    background-color: #800000;
    border: none;
    outline: none;
    color: #d9d9d9;
    font-size: 1.0625rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.5s ease;
}

.right form .btn button:hover {
    background-color: #ff0000;
}

@media screen and (max-width: 900px) {
    footer {
        position: relative;
        bottom: 0px;
    }
    .main-content {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .main-content .box {
        margin-bottom: 30px;
    }
}
/*=======================START OF GALLERY===========*/
.containerr {
    width: 90%;
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 100px auto;
    padding: 5px;
    background-color: #111;
}

.boxed {
    width: 250px;
    margin: 0 10px;
    padding: 5px;
    transition: 1s;
}

.boxed img {
    width: 100%;
    height: 250px;
    display: block;
    border-radius: 5px;
}

.boxed:hover {
    transform: scale(1.2);
    z-index: 2;
    cursor: pointer;
}

@media screen {
    .containerr {
        flex-wrap: wrap;
        height: auto;
    }

    .boxed {
        margin: 10px auto;
    }
}
/*=======================END OF GALLERY===========*/