.space {
    background-color: #24305e;
    height: 90px;
    color: white;
    text-align: center;

}



.headerfrm {
    width: 100%;
    height: 100%;
}

.contactImg {
    margin-top: 6%;
    width: 100%;
    height: 80%;
}

.contact_us {
    color: white;
    text-align: center;
    line-height: 50px;
    font-size: 70px;
}

.About {
    /* margin-top: 5%; */
    text-align: center;
    padding-left: 20%;
    padding-right: 20%;
    /* margin-bottom: 5%; */
}

.content {
    background-color: #ededed;
}


/* Begining of contact section */

.contact_sec {
    margin-left: 30%;
}

.card2 {
    border-radius: 0px;
    padding: 20px;
    width: 410px;
    display: flex;
    flex-direction: column;
    background-color: white;
    /* left:20%; */
}

.title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.group {
    position: relative;
}

.form .group label {
    font-size: 14px;
    color: rgb(99, 102, 102);
    position: absolute;
    top: -10px;
    left: 10px;
    background-color: #fff;
    transition: all .3s ease;
}

.form .group input,
.form .group textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    outline: 0;
    width: 100%;
    background-color: transparent;
}

.form .group input:placeholder-shown+label,
.form .group textarea:placeholder-shown+label {
    top: 10px;
    background-color: transparent;
}

.form .group input:focus,
.form .group textarea:focus {
    border-color: #3366cc;
}

.form .group input:focus+label,
.form .group textarea:focus+label {
    top: -10px;
    left: 10px;
    background-color: #fff;
    color: #3366cc;
    font-weight: 600;
    font-size: 14px;
}

.form .group textarea {
    resize: none;
    height: 100px;
}

.form button {
    background-color: #3366cc;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form button:hover {
    background-color: #27408b;
}

/* end contact form */

@media (max-width: 768px) {
    .beginner {
        width: 100%;
        height: 40vh;
        /* float: left; */
        background-image: url(images/comp1.jpg);
        /* height: auto; */
        background-size: contain;
        background-attachment: fixed;
        background-repeat: no-repeat;
    }

    .headerfrm {
        margin-top: 15%;
        width: 100%;
        height: 50%;
    }

    .contactImg {
        margin-top: 15%;
        width: 100%;
        height: 50%;
    }

    .contact_sec {
        margin-left: 5%;
    }

    .footDown {
        margin-top: 28%;

    }

    .card2 {
        width: 240px;
        height: 370px;
        
    }

    .title {
        font-size: 15px;
    }

    h5 {
        font-size: 5px;
    }


    h1 {
        font-size: 12px;
    }

    h2 {
        font-size: 10px;
    }

}








#right {
    float: right;
    position: absolute;
    left: 200px;
}

#far {
    float: right;
    position: absolute;
    left: 580px;
}

#center {
    text-align: center;
    position: absolute;
    left: 940px;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    max-width: 300px;
    margin: auto;
    text-align: center;
    font-family: arial;
}