@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
    background-color: #f4f2f2;
}

.contact-bg {
    height: 80vh;
    background: radial-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), rgb(255, 252, 252) url(img/about-bg.jpeg);
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.center {
    text-align: center;
}

.contact-bg h2 {
    font-size: 3rem;
    text-transform: uppercase;
    padding: 0.4rem 0;
    letter-spacing: 4px;
    text-shadow: 4px -6px 18px;
}

.about-content p {
    padding-left: 250px;
    padding-right: 250px;
    padding-bottom: 100px;
    padding-top: 80px;
}

.contact-text h2 {
    font-size: 1.7rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding-top: 40px;
    text-align: center;
    font-weight: 500;
    color: #0e6414;
    text-shadow: 4px -6px 18px;
}

.contact-bg h3 {
    font-weight: 200;
}

.contact-text a {
    text-decoration-line: none;
    color: #14721b;
    font-weight: 1500px;
}

.line div {
    margin: 0 0.8rem;
}

.line div:nth-child(1),
.line div:nth-child(2) {
    height: 3px;
    width: 70px;
    background: #00ff15;
    border-radius: 5px;
}

.line {
    display: flex;
    align-items: center;
}

.img {
    padding-left: 500px;
}

.text {
    font-weight: 300;
    opacity: 0.9;
}

.contact-bg .text {
    margin: 1.6rem 0;
}

.contact-body {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem;
    background-color: #ffffff;
    border-radius: 10px;
}

.contact-info {
    margin: 2rem 0;
    text-align: center;
    padding: 4rem 0;
}

.contact-info span {
    display: block;
}

.contact-info div {
    margin: 0.8rem 0;
    padding: 3rem;
}

.contact-text i {
    padding-top: 1.8rem;
    padding-right: 4.8rem;
    padding-left: 120px;
    color: #000;
}

.contact-info span .fas {
    font-size: 2rem;
    padding-bottom: 0.9rem;
    color: #000000;
}

.contact-info div span:nth-child(2) {
    font-weight: 500;
    font-size: 1.1rem;
}

.contact-info .text {
    padding-top: 0.4rem;
}

.contact-form form {
    padding-bottom: 1rem;
}

.form-control {
    width: 100%;
    border: 1.5px solid #c7c7c7;
    border-radius: 5px;
    padding: 0.7rem;
    margin: 0.6rem 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    outline: 0;
}

.form-control:focus {
    box-shadow: 0 0 6px -3px rgba(48, 48, 48, 1);
}

.contact-form form div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 0.6rem;
}

.send-btn {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    color: #fff;
    background: #04fb21;
    border: none;
    border-radius: 5px;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    transition: all 0.4s ease;
}

.send-btn:hover {
    opacity: 0.8;
}

.contact-form > div img {
    width: 85%;
}

.contact-form > div {
    margin: 0 auto;
    text-align: center;
}

.contact-footer {
    padding: 2rem 0;
    background: #000;
}

.contact-footer h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
}

.social-links a {
    text-decoration: none;
    width: 40px;
    height: 40px;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.4rem;
    transition: all 0.4s ease;
}

.social-links a:hover {
    color: #55ff00;
    border-color: #0dff00;
}

.copywrite {
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
}

/* Media Queries */

/* Mobile devices (Portrait) */
@media only screen and (max-width: 480px) {
    .contact-bg {
        height: 60vh;
        padding: 0 1rem;
    }
    .contact-bg h2 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    .about-content p {
        padding: 20px;
        text-align: justify;
    }
    .contact-text h2 {
        font-size: 1.2rem;
        padding-top: 20px;
    }
    .contact-text i {
        padding: 0 10px 10px;
        padding-top: 10%;
    }
    .img {
        padding-left: 0;
        text-align: center;
    }
    .line div:nth-child(1),
    .line div:nth-child(2) {
        width: 50px;
    }
    .contact-form form div {
        grid-template-columns: 1fr;
    }
    .contact-form > div img {
        width: 100%;
    }
}

/* Tablets (Portrait) */
@media only screen and (min-width: 481px) and (max-width: 768px) {
    .contact-bg {
        height: 70vh;
    }
    .contact-bg h2 {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }
    .about-content p {
        padding-left: 50px;
        padding-right: 50px;
        padding-top: 40px;
        padding-bottom: 40px;
        text-align: justify;
    }
    .contact-text h2 {
        font-size: 1.5rem;
        padding-top: 30px;
    }
    .contact-text i {
        padding-left: 50px;
        padding-right: 50px;
        padding-top: 20px;
    }
    .img {
        padding-left: 0;
        text-align: center;
    }
    .line div:nth-child(1),
    .line div:nth-child(2) {
        width: 60px;
    }
    .contact-form form div {
        grid-template-columns: 1fr;
    }
    .contact-form > div img {
        width: 90%;
    }
}

/* Laptops (Landscape) */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .contact-bg {
        height: 75vh;
    }
    .contact-bg h2 {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    .about-content p {
        padding-left: 150px;
        padding-right: 150px;
        padding-top: 60px;
        padding-bottom: 60px;
        text-align: justify;
    }
    .contact-text h2 {
        font-size: 1.6rem;
        padding-top: 35px;
    }
    .contact-text i {
        padding-left: 80px;
        padding-right: 80px;
        padding-top: 30px;
    }
    .img {
        padding-left: 0;
        text-align: center;
    }
    .line div:nth-child(1),
    .line div:nth-child(2) {
        width: 65px;
    }
    .contact-form > div img {
        width: 95%;
    }
}

/* Desktops (Large screens) */
@media only screen and (min-width: 1025px) {
    .contact-bg {
        height: 80vh;
    }
    .contact-bg h2 {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    .about-content p {
        padding-left: 250px;
        padding-right: 250px;
        padding-top: 80px;
        padding-bottom: 100px;
        text-align: justify;
    }
    .contact-text h2 {
        font-size: 1.7rem;
        padding-top: 40px;
        padding-bottom: 10%;
    }
    .contact-text i {
        padding-left: 120px;
        padding-right: 120px;
        padding-top: 40px;
    }
    .img {
        padding-left: 500px;
        text-align: left;
    }
    .line div:nth-child(1),
    .line div:nth-child(2) {
        width: 70px;
    }
    .contact-form > div img {
        width: 85%;
    }
}
