/*
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=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');



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

:root {
    --yellow: #FFBF00;
    --turqoise: #01796F;
    --body-bg: #ffffef;
    --title-color: #2A3937;
    --neon-green: #BDEA4A;
    --body-text: #434F49;
    --light-bg: #ECF7EC;
    --radius: 1.5rem;
}
html {
    font-size: 1.25vw; /* 24-x */
}

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

}

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

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

body {
    margin: 0;
    padding: 0;
    font-family: "Red Hat Display", sans-serif;
    color: var(--body-text);
    background: var(--body-bg);
    overflow-x: hidden;
}
img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--yellow);
}
a:hover {
    color: var(--turqoise);
}

p,li {
    line-height: 1.5;
}


ul li::marker {
    color: var(--neon-green);
    font-size: 25px;
    line-height: 0;
}
ol li::marker {
    color: inherit;
    
}
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(--neon-green);
    display: block;
    position: absolute;
    left: -1.5rem;
    top: 0;
    z-index: -1;
    border-radius: 50%;

}
ol {
    padding-left: 1.5rem;
}
ul {
    padding-left: 1rem;
}
h1, h2, h3 {
    color: var(--title-color);
    line-height: 1.2;
}

h2 {
    font-size: 2.25rem;
    margin-top: 0;
    position: relative;
  margin-bottom: 0.5rem;
}
h2.has-text-align-center {
    justify-content: center;
    display: flex;
}
h2.has-text-align-center:before {
position: relative;
left: 1rem;
top: 0.25rem;
}
h2 a ,h3 a {
    color: inherit;
  }
  .wp-block-post-excerpt__excerpt  {
    margin-bottom: 1rem;
  }
  .wp-block-post-excerpt__more-text {
    margin-bottom: 1.5rem;
  }

 h1 {
    font-size: 3rem;
    position: relative;
    margin-bottom: 0.5rem;
    z-index: 1;
    opacity: 0;
    animation: hello 0.6s ease-in-out forwards;
    transform: translateX(-50px);
    animation-delay: 0.5s;
 } 
 .highlight.visible {
    opacity: 0;
    animation: hello 0.6s ease-in-out forwards;
    transform: translateX(-50px);
    animation-delay: 0.9s;
 }
 .hero h1 + p {
    opacity: 0;
    animation: hello 0.6s ease-in-out forwards;
    transform: translateX(-50px);
    animation-delay: 1.2s;
 }
 .wp-block-button, .wp-block-post-excerpt__more-text {
    opacity: 0;
 }
  .wp-block-button.visible, .wp-block-post-excerpt__more-text.visible {
    animation: hello 0.6s ease-in-out forwards;
    transform: translateX(-50px);
 }
.home h2 {
    opacity: 0;
}
.home h2.visible  {
animation: helloup 0.6s ease-in-out forwards;
transform: translateY(50px);
}

h1.visible:before, h2.visible:before {
    animation: hellosize 0.6s ease-in-out forwards;
    transform: scale(0);
    animation-delay: 1s;

}
 @keyframes helloup {
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
 @keyframes hello {
    100% {
        opacity: 1;
        transform: translateX(0);
    }
 }
 @keyframes hellosize {
    100% {
        opacity: 1;
        transform: scale(1);
    }
 }

h3, .archive h2 {
    font-size: 1.5rem;
}
.page-template-page-hero h1 {
    margin-top: 0;
}

h1:before, h2:before {
content: '';
width: 2rem;
height: 2rem;
position: absolute;
left: -0.75rem;
top: 0.75rem;
background: var(--neon-green);
border-radius: 50%;
outline: 3px solid var(--neon-green);
outline-offset: 6px;
z-index: -1;
display: block;
opacity: 0;
}


.button, input[type=submit], .wp-block-button a, .wp-block-post-excerpt__more-link {
    display: inline-block;
    padding: 1rem 1.5rem;
    color: var(--title-color);
    background-color: var(--yellow);
    font-weight: bold;
    border: none;
    font-family: inherit;
    font-size: inherit;
    line-height: 1;
    border-radius: 2rem;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.button:hover, input[type=submit]:hover, .wp-block-button a:hover, .wp-block-post-excerpt__more-link:hover {
    background-color: hsl(0, 0%, 0%, 0);
   outline: 2px solid var(--yellow);
   outline-offset: 1px;
   transform: translateX(10px);
   color: var(--title-color);
}


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


/***/

.header-normal {
    background-color: #fff;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
    position: relative;
    z-index: 10;
}

#top-head {
    background-color: var(--neon-green);
    color: var(--title-color);
    font-size: 0.75rem;
}
#top-head .container, #head .container {
display: flex;
justify-content: space-between;
align-items: center;
}

#head {
    padding: 0.75rem 0;
}

#top-head ul {
    display: flex;
    gap: 1.5rem;
    margin: 0.35rem 0;
}
#top-head ul li {
    display: flex;
}
#top-head a {
    color: var(--title-color);
}

#logo svg {
    max-width: 10rem;
}
#logo svg path{
    fill: var(--title-color);
}
#logo a:hover svg path {
    fill: var(--turqoise);
}
.highlight {
    color: var(--turqoise);
    opacity: 0;
}

.hero {
    background-color: var(--light-bg);
    overflow: hidden;
    padding: 7vw 0;
}
.hero img {
    border-radius: var(--radius);
    overflow: hidden;
}


.home-hero {

    background-image:  url("img/heroo.png");
    background-repeat: no-repeat;
   background-size: cover;
   background-position: top right;
}

.card, .home-cta ul li, blockquote {
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #fff;
    box-shadow: 0px 2px 10px 0px rgba(1, 122, 111, 0.20);
    padding: 0 1.5rem;
    overflow: hidden;
}

blockquote {
    margin: 0 0 1rem 0;
}
.wp-block-buttons > .wp-block-button, .button {
margin-bottom: 1rem;

}

.home-cta ul li figure, .card figure {
    margin: 0 -1.5rem;
}
.home-cta ul li h3, .home-cta ul li h2 {
    margin: 1rem 0 0.5rem 0;
    font-size: 1.5rem;
}

.portfolio ul {
    column-count: 3;
    display: block;
}
.portfolio ul li {
    break-inside: avoid;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
   margin-bottom:  1.25em;
}
.portfolio ul li figure {
    border-radius: var(--radius);
    overflow: hidden;
    margin: 0;
}
.portfolio ul li h3 {
    position: absolute;
    bottom: 0;
    z-index: 1;
    color: #fff;
    margin: 0;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    text-align: center;
    line-height: 1.2;
    width: 100%;
    pointer-events: none;
}
.portfolio ul li h3:before {
    content: '';
    display: block;
    background: rgb(10,10,10);
background: linear-gradient(0deg, rgba(10,10,10,0.8365721288515406) 28%, rgba(0,0,0,0.5816701680672269) 60%, rgba(0,0,0,0) 100%);
    width: 100%;
    height: 4rem;
    position: absolute;
    bottom: 0;
    z-index: -1;
    left: 0;
   
}



input[type=text], 
input[type=tel],
input[type=file],
input[type=email], textarea, select {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.10);
    box-shadow: 0px 2px 10px 0px rgba(1, 122, 111, 0.20);

    padding: 0.5rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    width: 100%;
}

.fullwide {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
}

.narrow {
    max-width: 50rem;
    margin: 0 auto;
}

.neongreen-bg {
    background: var(--neon-green);
    padding: 5rem 0;
}       
body .home-gallery {
    display: block;
    column-count: 2;
    gap: 1.25em!important;
}                                                                                                                                                                     
body .home-gallery figure {
    margin-bottom: 1.25em!important;
    border-radius: var(--radius);
    overflow: hidden;
}

.nav-links {
    text-align: center;
    margin: 3rem 0;
}
.nav-links span, .nav-links a {
    display:inline-block;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    background-color: #fff;
    border: solid 1px #ddd;
    border-radius: 5px;
}



footer {
    background: var(--turqoise);
    color: #fff;
    border-top: solid 3px var(--neon-green);
    font-size: smaller;
    padding: 5rem 0 3rem 0;
}
footer h3, footer a {
    color: #fff;
}
footer li{
    list-style-type: none;
}
footer a:hover, #copyright a:hover{
    color: var(--neon-green);
}

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

.home .wp-block-post-featured-image a img, .card a figure img{

    transition: all 0.3s ease-in-out;
}
.home .wp-block-post-featured-image a, .card a , .card figure{
    overflow: hidden;
}
.card figure a{
overflow: hidden;
display: block;
}
.card figure{
    margin-bottom: 1rem;
}
.home .wp-block-post-featured-image a:hover img, .card a figure:hover img {
transform: scale(1.2);
}
   


@media only screen and (max-width: 1281px) {
   /* home referenciak*/
    .home-reference, .home-reference .wp-block-buttons {
        display: block!important;
    }
    .home-reference-txt {
        text-align: center;
    }
    .home-reference h2 {
        justify-content: center;
        display: flex;
    }
    .home-reference h2:before {
    position: relative;
    left: 1rem;
    top: 0.25rem;
    }
    #head .container {
       flex-wrap: wrap;
    }
    #head-menu {
        width: 100%;
    }
    
    .home-hero {
        background-position: top;
    }
}
@media only screen and (max-width: 1023px) {
    #top-head .container {
        display: block;
        text-align: center;
    }
}
@media only screen and (max-width: 768px) {
   .home-hero {
    background-position: bottom -30vw right;
    background-size: 190% auto;
    padding-bottom: 45vw;
   }
   h1, h2 {
    font-size: 2rem;
   }
   h3 {
    font-size: 1.25rem;
   }
   .home-cta ul {
    display: block;
   }
   .home-cta ul li {
    margin-bottom: 1rem;
   }

.portfolio ul {
    column-count: 2;
}
}

@media only screen and (max-width: 480px) {
    #top-head ul {
        display: block;
        margin: 0;
        padding: 0;
        text-align: left;
    }
    #top-head .container {
        text-align: left;
    }

    #top-head ul li {
        margin: 0;
        padding: 0;
        padding: 0.25rem 0;
    }
    footer .column-4 > div {
        width: 100%;
    }
    .wp-block-spacer {
        max-height: 50px;
    }
    .neongreen-bg {
        padding: 10vw 0;
    }
    .portfolio ul {
        column-count: 1;
    }
     
}
