/*
Theme Name: My Awesome Theme
Theme URI: https://www.myawesometheme.com
Author: John Doe
Author URI: https://www.johndoe.com
Description: My Awesome Theme is a responsive, modern, and feature-rich WordPress theme designed for all kinds of websites. It comes with a custom homepage layout, multiple widget areas, and full compatibility with popular plugins.
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: my-awesome-theme
Tags: responsive, modern, custom-background, custom-header, custom-menu, featured-images, threaded-comments, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Italianno&display=swap');

:root {

    --light-green: #2FA38D;
    --dark: rgba(0, 0, 0, 0.4);
    --body-bg: #BFE1DC;
    --body-txt: #333333;
    --light-bg: #F2F3F1;
    --title: #063535;
    --light-txt: #F6FAFB;
    --teal: #3F6E6A;
    --radius: 1.5rem;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

html {
    font-size: 1.25vw;
    /* 24px */
}

@media only screen and (max-width: 1281px) {
    html {
        font-size: 20px;
    }
}

@media only screen and (max-width: 768px) {
    html {
        font-size: 18px;
    }
}

body {
    margin: 0;
    padding: 0;
    background: var(--body-bg);
    color: var(--body-txt);
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

body.home {
    background: var(--light-bg);
}

h1,
h2 {
    font-family: 'Italianno', cursive;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--title);
    text-decoration: none;
}

a:hover,
.wp-block-button a:hover,
input[type=submit]:hover {
    color: var(--light-green);
}

p,
li {
    line-height: 1.5;
}

ul {
    padding-left: 20px;
    list-style-type: disc;
}

ul li::marker {
    color: var(--title);
}

ol {
    padding-left: 1.5rem;
}

ol li::marker {
    color: #fff;
    font-weight: bold;
}

ol li {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    padding-left: 10px;
}

ol li::before {
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    background: var(--light-green);
    display: block;
    position: absolute;
    left: -1.5rem;
    top: 0;
    z-index: -1;
    border-radius: 50%;
}

h1,
h2,
h3 {
    color: var(--title);
}

h1 {
    font-size: 5.2rem;
    position: relative;
    padding-bottom: 1rem;
}

h2 {
    font-size: 4.25rem;
    position: relative;
    padding-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.7rem;
}

.button,
.wp-block-button a,
input[type=submit],
.service-content .button,
.wp-block-post-excerpt__more-link {
    display: inline-block;
    padding: 1rem 1.5rem;
    margin: 1rem 1rem 4rem 0rem;
    color: var(--light-txt);
    background: var(--title);
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    font-family: inherit;
    font-size: inherit;
    line-height: 1;
    border-radius: 2rem;
}

blockquote {
    background: var(--dark);
    padding: 0.5rem 1rem;
    margin-left: 0;
    border-left: solid 5px var(--light-green);
}

.align-center {
    text-align: center;
}

header {
    background-color: var(--light-bg);
    position: relative;
    z-index: 10;
}

.contact-card {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

#name {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    color: var(--body-txt);
    white-space: nowrap;
}

#subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    color: var(--body-txt);
}

#head .content-box {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

img {
    overflow: visible;
}


#logo img {
    width: 150px;
    height: auto;
}

#head {
    padding: 0.75rem 0;

}

.hero {
    overflow: hidden;
    padding: 7vw 0;
    position: relative;
}

.hero-content h1 {
    margin: 0 0 2rem;
    padding: 1rem 0;
}

.home-hero {
    background-image: url(img/hero_60.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100vw;
    margin-left: calc(-1 * ((100vw - 100%) / 2));
}

.about-section,
.contact-section {
    background: var(--teal);
    color: var(--light-txt);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 5vw 0;
}

.about-image img {
    width: 300px;
    height: 300px;
    max-width: none;
    object-fit: cover;
    border-radius: 50% !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    display: block;
    overflow: hidden !important;
}

.hero-content,
.about-content,
.contact-section .wp-block-group__inner-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--gap);
}

.box-style,
.services-home,
.home-blog ul li,
.home-opinion {
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: var(--body-bg);
    box-shadow: 0px 2px 10px 0px rgba(1, 122, 110, 0.20);
    padding: 0 1.5rem;
    overflow: hidden;
}

.services-home figure,
.home-blog ul li figure {
    margin: 0 -1.5rem;
}

.home-blog ul li h3,
.services-home h3 {
    margin: 1rem 0 0.5rem 0;
}

.opinion-image img {
    width: 150px;
    height: 150px;
    max-width: none;
    object-fit: cover;
    border-radius: 50% !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    display: block;
    margin: 2rem auto 1.5rem;
    overflow: hidden !important;
}

.contact-image img {
    width: 500px;
    height: 500px;

    object-fit: cover;
    border-radius: 10% !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    display: block;
    margin: 1rem auto 1.5rem;
    overflow: hidden !important;
}

.about-inner-image img {
    width: 300px;
    height: 300px;
    max-width: none;
    object-fit: cover;
    border-radius: 50% !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    display: block;
    overflow: hidden !important;
}

.service-card {
    display: flex;
    gap: var(--gap);
    margin-bottom: 40px;
    background: var(--teal);
    color: var(--light-txt);
    padding: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
    border-radius: var(--radius);
}

.service-card h2,
.contact-section h2 {
    color: var(--light-txt);
}

.service-card h2 {
    text-align: left;
    margin: auto;
}

.service-card .service-content,
.service-card h2 {
    padding-left: 1rem;
}

.service-card .service-image {
    flex: 0 0 320px;
    max-width: 100%;
    border-radius: var(--radius, 12px);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(1, 122, 110, .20);
    border: 1px solid rgba(0, 0, 0, .10);
}

.service-card .service-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    padding: 0;
}

input[type=text],
input[type=email],
textarea {
    background: #fff;
    font-family: inherit;
    padding: 10px;
    border: solid 5px #F2EDE9;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2));
    width: 100%;
    margin-bottom: 20px;
    font-size: inherit;
}

#social-links {
    background: var(--light-bg);
    padding: 1.5rem 0;
    text-align: center;
}

.social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    --gap: 1.5rem;
}

.social-icons img {
    width: 100%;
}

.social-icons a:hover img {
    opacity: 0.7;
}

footer {
    background: var(--teal);
    color: var(--light-txt);

}

footer a {
    color: var(--light-txt);
    text-decoration: none;
}

footer a:hover {
    color: var(--light-green);
}

#copyright {
    background: var(--teal);
    color: var(--light-txt);
    font-size: smaller;
    border-top: 1px solid rgba(255, 255, 255, 0.40);
    overflow: hidden;
}

@media only screen and (max-width: 1023px) {

    #head .content-box {
        display: block;
        text-align: center;
    }

    #head-menu {
        width: 100%;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }

}



@media only screen and (max-width: 768px) {

    .services-home {
        display: block;
    }

    .home-blog ul {
        display: block;
    }

    .home-blog ul li {
        margin-bottom: 1rem;
    }

    .services-home .wp-block-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0 !important;
        padding: 0;
    }

}

@media only screen and (max-width: 480px) {
    footer .column-4 > div {
        width: 100%;
    }
}
