@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* ICONS */
@font-face {
    font-family: 'fontello';
    src: url('./fonts/icons/font/fontello.eot?99038611');
    src: url('./fonts/icons/font/fontello.eot?99038611#iefix') format('embedded-opentype'),
        url('./fonts/icons/font/fontello.woff2?99038611') format('woff2'),
        url('./fonts/icons/font/fontello.woff?99038611') format('woff'),
        url('./fonts/icons/font/fontello.ttf?99038611') format('truetype'),
        url('./fonts/icons/font/fontello.svg?99038611#fontello') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"]:before,
[class*=" icon-"]:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: never;

    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */

    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;

    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;

    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    margin-left: .2em;

    /* you can be more comfortable with increased icons size */
    /* font-size: 120%; */

    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-justice-2:before {
    content: '\e800';
}

.icon-justice-1:before {
    content: '\e801';
}

.icon-justice-3:before {
    content: '\e802';
}

.icon-facebook:before {
    content: '\f09a';
}

.icon-linkedin:before {
    content: '\f0e1';
}

.icon-instagram:before {
    content: '\f16d';
}


:root {
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    font-variation-settings: normal;
    --font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    --text-color: #334155;
    --text-color-secondary: #313131;
    --primary-color: #9da776;
    --primary-color-text: #ffffff;
    --surface-0: #ffffff;
    --surface-50: #f8fafc;
    --surface-100: #f1f5f9;
    --surface-200: #e2e8f0;
    --surface-300: #cbd5e1;
    --surface-400: #94a3b8;
    --surface-500: #64748b;
    --surface-600: #475569;
    --surface-700: #334155;
    --surface-800: #1e293b;
    --surface-900: #0f172a;
    --surface-950: #020617;
    --gray-0: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --gray-950: #020617;
    --content-padding: 1.125rem;
    --inline-spacing: 0.5rem;
    --border-radius: 6px;
    --surface-ground: #f8fafc;
    --surface-section: #ffffff;
    --surface-card: #ffffff;
    --surface-overlay: #ffffff;
    --surface-border: #e2e8f0;
    --surface-hover: #f1f5f9;
    --focus-ring: none;
    --maskbg: rgba(0, 0, 0, 0.4);
    --highlight-bg: #ecfdf5;
    --highlight-text-color: #047857;
    --p-anchor-gutter: 2px;
    color-scheme: light;
}

body,html{
    margin: 0 !important;
    padding: 0;
    font-family: 'Lato';
}

nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

nav ul li a{
    color: #02307F;
    text-decoration: none;
    text-underline-offset: 0.25rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.btns{
    margin-top: 3rem;
}

.btn{
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 0.25rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #47683c;
    background: #47683c;
}

.btn.more{
    background: rgb(2, 32, 139);
    margin-left: 1.5rem;
}

header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 34%, rgba(227, 229, 218, 1) 65%);
}


nav{
    max-width: 1240px;
    margin: 0px auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .brand img{
    max-height: 6rem;
}

.hero-container{
    padding: 1rem;
    border-bottom: 1px solid var(--surface-200);
}

.hero{
    max-width: 1240px;
    margin: 0px auto;
}

.hero p {
    color: var(--text-color-secondary);
    font-size: 1.25rem;
    line-height: 1.5rem;
}

.hero h1{
    color: #47683c;
    font-size: 3rem;
    margin-top: 0;
}


.hero h1 .accent {
    color: var(--text-color-secondary);
    display: block;
    font-size: 2rem;
}

.hero-intro {
    display: flex;
    align-items: center;
    gap: 6rem;
    padding: 3rem 0;
}

.hero-intro .image{
    min-width: 30%;
    max-width: 30%;
}

.hero-intro img{
    border-top-left-radius: 100px;
    border-bottom-right-radius: 100px;
    object-fit: cover;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.about-container{
    max-width: 1240px;
    margin: 0px auto;
    padding: 6rem 1rem;
}

.about-block {
    margin: 0 auto;
    text-align: center;
    color: var(--text-color-secondary);
}

.about-block h2 {
    color: var(--text-color-secondary);
    font-size: 2rem;
    margin-top: 0;
}

.about-block p {
    color: var(--text-color-secondary);
    font-size: 1.125rem;
    margin: 0 auto;
    max-width: 75%;
    line-height: 2rem;
}

.about-categories {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.about-categories div {
    border: 1px solid var(--surface-300);
    border-radius: 0.75rem;
    padding: 2rem;
    flex: 1;
    font-size: 1rem;
    line-height: 1.75rem;
}

.about-categories span {
    display: flex;
    width: 6rem;
    height: 6rem;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: #f3f3f3;
    border-radius: 50%;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-container{
    max-width: 780px;
    margin: 1rem auto;
    padding: 6rem 0;
} 

.contact {
    display: flex;
    gap: 6rem;
}

.contact .images{
    max-width: 50%;
}

.contact img:first-child{
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    object-fit: cover;
    max-width: 100%;
}

.contact h2 {
    color: var(--text-color-secondary);
    font-size: 2rem;
    margin-top: 0;
}

.contact .content{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact .content p{
    margin: 0;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.contact .content a{
    color:  rgb(12, 117, 119);
}

footer {
    background: #222529;
    margin: 0;
    text-align: center;
    padding: 2rem;
    color: white;
}

footer .social {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

footer .social a {
    color: white;
    font-size: 2rem;
    padding: 0 0.5rem;
}

@media only screen and (max-width: 1024px) {
    nav{
        max-width: 1024px;
        padding: 0 3rem;
    }

    .hero{
        max-width: 1024px;
        padding: 0 3rem;
    }

    .about-container{
        max-width: 1240px;
        padding: 6rem 3rem;
    }
    
    .contact-container{
        max-width: 780px;
        padding: 6rem 3rem;
    } 
}

@media only screen and (max-width: 800px) {
    header {
        background: linear-gradient(180deg, rgba(255, 255, 255, 1) 10%, rgba(227, 229, 218, 1) 30%);
    }

    nav{
        max-width: 100%;
        padding: 0 3rem;
    }

    nav .brand{
        margin: auto;
        padding: 1rem;
    }

    nav .brand img {
        max-height: 5rem;
        left: -0.5rem;
    }

    .hero{
        max-width: 100%;
        padding: 0 ;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h1 .accent {
        display: block;
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-intro {
        display: block;
        padding: 3rem 0;
        text-align: center;
        padding-top: 0rem;
    }

    .hero-intro .image {
        min-width: 65%;
        max-width: 65%;
        margin: 3rem auto;
    }

    .btn{
        display: none;
    }

    .about-block h2 {
        font-size: 1.5rem;
    }

    .about-container{
        max-width: 100%;
        padding: 3rem 1rem;
    }
    
    .contact-container{
        max-width: 100%;
        padding: 3rem 1rem;
        padding-top: 0;
    } 

    .about-block p {
        font-size: 1rem;
        max-width: 100%;
        line-height: 1.5rem;
    }

    .about-categories {
        display: block;
        margin-top: 3rem;
    }

    .about-categories div {
       margin-bottom: 1.5rem;
    }

    .about-categories div {
        border: 1px solid var(--surface-300);
        border-radius: 0.75rem;
        padding: 1.5rem;
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .contact h2 {
        font-size: 1.5rem;
    }

    .contact {
        display: block;
        text-align: center;
    }

    .contact .images {
        margin: auto;
        max-width: 65%;
        margin-bottom: 3rem;
    }

    .contact .content p {
        font-size: 1rem;
    }
}