@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
@font-face {
    font-family: 'Cocon Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Cocon Regular'), url('CoconRegularFont.woff') format('woff');
}
:root{
    --zelena-l: #bbdb49;
    --oranzova-l: #ff9700;
    --oranzova-p: #ffecc59e;
    --ruzova-l:#e62f60;
    --zelena-tm: #495815;
    --seda: #cccccc59;
    --seda-tm: #6b6b6b;
    --seda-sl: #f2f2f2bd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; 
    scroll-behavior: smooth;
}

a{
    text-decoration: none;
    color: black;
}

 
h2{
    font-family:'Cocon Regular';
    font-weight:normal;
    font-size: 2.5rem;
}

p{
    color: #818181;
}

body{
    background: #f9f9f9;
    min-height: 100vh;
    overflow-x: hidden;
}

header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 100;
}

form {
    all: unset;
    display: contents;
}

.menu{
    width: 100%;
    position: fixed;
    top: 0;
    /*backdrop-filter: blur(5px);
    background-color: #e8cfaa2b;*/
    background-color: white;
    height: 15vh;
    padding: 10px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;    
    box-shadow: 0px 3px 16px 5px #818181;
}

.menu .active{
    position: fixed;
}

.nav{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    justify-content: flex-end;
}

.cart-link {
    position: relative;
    display: inline-block;
}

.cart-count {
    position: absolute;
    bottom: -5px;
    left: 27px;
    background-color: var(--seda);
    color: grey;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    min-width: 18px;
    text-align: center;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}
  

.bar{
    display: none;
}

.nav .bar{
    position: absolute;
    top: 30px;
    left: 30px;
}

.logo{
    width: 30%;
    cursor: pointer;
}

.logo .obr{
    height: 15vh;
    width: 100%;
    display: flex;
    align-items: center;
}

.logo .obr a, .logo .obr img{
    height: 100%;
}

.button{
    background-color: var(--zelena-l);
    padding: 10px;
    border-radius: 27px;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 20px;
    transition: 0.3s;
    cursor: pointer;
    border: none;
    min-width: 140px;
}

.button:hover{
    background-color:var(--oranzova-l);
}
.navigation a{
    text-decoration: none;
    color: var(--zelena-tm);
    padding: 6px 15px;
    border-radius: 20px;
    margin: 0 10px;
    font-weight: 600;
    transition: 0.3s;
}


.navigation a:hover {
    background: var(--zelena-l);
    color: black;
}

@media (max-width:1200px){
    body, html{
        overflow-x: hidden;
    }
}

@media(max-width:1000px){
    .bar{
        display: flex;
        width: 100%;
        color: black;
        font-size: 2rem;
    }

    .nav{
        background-color: white;
        height: 100vh;
        position: absolute;
        top: 0;
        left: -80%;
        width: 80%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 25% 5%;
        transition: 0.5s ease;
    }
    

    .logo{
        width: 100%;
    }

    .logo img{
        max-width: unset;
        max-height: 100%; 
    }

    .nav nav{
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .nav-open{
        left: 0;
    }

    header{
        padding: 0;
    }

    .menu{
        padding: 30px;
    } 
   
}

/*--------------listy----------------*/
.listy{
    position: absolute;
    width: 17%;
    top: 15vh;
    left: -3%;
}

.listy img{
  width: 100%;
  position: absolute;
}

#tygr{
    z-index: -2;
}

#tygr3{
    display: none;
}

/*---------------mein------------------*/

.mein{
    height: 100vh;
    display: flex;
  
}

.mein .obr{
    width: 70%;
    position: relative;
    top: 15vh;
}

.mein .obr img{
    position: absolute;
}

.mein .text{
    display: flex;
    width: 30%;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    text-align: center;
    justify-content: center;
}
.mein img{
    width: 100%;
}

.text h1{
    font-family:'Cocon Regular';
    font-weight:normal;
    font-size: 3.5rem;
}

.text a{
    color: black;
    text-decoration: none;
}

@media(max-width:800px){
    .logo .obr{
        justify-content: flex-end;
    }

    .logo .obr img{
        max-height: 100%;
        width: unset;
    }

    .mein .obr{
        display: flex;
        width: 100%;
        position: absolute;
    }

    .mein .obr #tygr{
        display:none;
    }

    .uvod_btn{
        display: none;
    }

    .mein .obr #tygr3{
        display:flex;
        top: 38vh;   
        max-width: 100%;
        
    }

    .mein .text{
        width: 100%;
        background: none;
    }
}



/*-----------section-----*/
.sec{
    height: 100vh;
 }

 .back{
    position: absolute;
    z-index: 2;
    width: 100%;
    display: flex;
    height: 110vh;
    align-items: flex-end;
 }

 .back img{
    width: 25%;
    position: absolute;
 }

 #kroko{
    left: 20px;
 }

 .hil{
     position: absolute;
     top: 40%;
     width: 100%;
     display: flex;
     justify-content: center;
 }
 
 .hil img {
     width: 100%;
 }
 
 .txt{
     height: 100%;
     display: flex;
     margin-top: 4%;
     padding: 0 8%;
 }
 
 .txt .img{
     width: 50%;
     display: flex;
     justify-content: flex-end;
     align-items: center;
 }

 .txt .img img{
    width: 100%;
 }
 
 .txt .text{
     width: 50%;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: revert-layer;
 }


 .icon{
     display: grid;
     grid-template-columns: 1fr 1fr 1fr;
     gap: 2%;
     margin-top: 4%;
 }
 
 .icon h3{
     font-family:'Cocon Regular';
     font-weight:normal;
 }
 
 .icon .fa-star{
     color: var(--oranzova-l);
 }
 
 .icon .fa-plane{
     color: var(--zelena-l);
 }
 
 .icon .fa-hand-sparkles{
     color:var(--ruzova-l);
 }
 
 .item{
     display: flex;
     flex-direction: column;
     align-items: center;
 }
 
 .item i{
     font-size: 2.5rem;  
 }
 
 .item h2{
     font-size: 1.2rem;
 }
 
 .item p{
     font-size: 0.8rem;
     color: grey;
     text-align: center;
 }
 
 /*.list1{
     height: 20vh;
     position: relative;
     top: -172px;
     left: -10%;
 }
 
 .list1 img{
     height: 203%;
     rotate: 201deg;
 }
 
 .list2 img{
     height: 300%;
     rotate: 295deg;
 }
 
 .list2{
     height: 20vh;
     position: relative;
     top: -380px;
     left: 80%;
 }*/
 
 
 
 @media(max-width: 1200px){
     .hil{
         top:30%;
     }
 }
 
 @media(max-width: 800px){
    .sec{
        height: auto;
    }
     .hil{
         top:-50%;
         width: 180%;
         left: -40%;
         position: relative;
        
     }
 
    .txt{
        flex-direction: column;
        position: relative;
        height: unset;

    }
 
     .txt .text{
         width: 100%;
         align-items: center;
         margin-top: 5%;
         text-align: center;
     }
 
     .text .icon{
         display: flex;
         flex-direction: column;
         margin-top: 5%;
     }
 
     .text .icon .item{
         margin-top: 5%;
     }
 
     .txt .img{
         width: 100%;
         justify-content: center;
     }
 
     .txt .img img{
         width: 80%;
     }


 
 
 }



/*-----------offer---------*/
.offer{
    padding: 0 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.items{
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Zarovnání na střed */
    gap: 20px; /* Mezera mezi produkty */
    width: 100%;
    margin-top: 5%;
    
}

.one_item{
    width: calc(33.333% - 20px);
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    background-color: #f1f7de;
    transition: transform .2s;
    cursor: pointer;
    display: flex;
    justify-content: center;
}

.one_item:hover{
    transform: scale(1.05);
}

.one_item .obr{
    height: 250px;
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.one_item .obr img{
    max-height: 100%;
    max-width: 100%;
}

.kosik_but{
    width: 70%;
}

.kosik_but .button{
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.kosik_odes{
    margin-top: 20vh;
    display: flex;
    flex-direction: column;
    padding: 0 2%;
    align-items: center;
    height: 80vh;
    justify-content: center;
}

.text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.vodo{
    width: 100%;
    position: absolute;
}

.vodo img{
    width: 100%;
}


@media(max-width: 1200px){
    .one_item{
        width: calc(50% - 20px);
    }
    
}

@media (max-width: 1000px){
    .kosik_but .button{
        padding: 10px 30px;
        font-size: 1rem;
        justify-content: center;
        gap: 5%;
        align-items: center;
    }

}

@media(max-width: 800px){
    .one_item{
        width: calc(100% - 20px);
    }
}

/*------form------*/
.form{
    height: 100vh;
    padding: 0 8%;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.contact_form{
    height: auto;
    display: flex;
    flex-direction: column; 
    padding: 0 8%;
    margin-top: 2%;
    width: 100%;
}

.contact_form input, .contact_form textarea{
    margin: 1% 0;
    padding: 2%;
    border: 2px solid var(--zelena-l);
    border-radius: 20px;
    background-color: #d7e89887;
}

.contact_form .o{
    border: 2px solid var(--oranzova-l);
    background-color: #e8d09887;
}

.contact_form .r{
    border: 2px solid var(--ruzova-l);
    background-color: #ebbad687;
}

.contact_form textarea{
    resize: vertical;
    min-height: 100px;
}

.form .button{
    width: 20%;
}

@media(max-width: 800px){
    .form .button{
        width: 50%;
        padding: 5px;
    }

    .contact_form{
        padding: 0;
    }
}

/*---------Foooter------*/
footer{
    display: flex;
    background-color: white;
    box-shadow: 0px 3px 16px 5px #818181;
    margin-top: 10%;
}

footer .sec_left, footer .sec_right{
    width: 50%;
    padding: 2%;
}

.sec_left img{
    width: 40%;
}

.sec_left .nl{
    border: 2px solid var(--oranzova-l);
    padding: 2%;
    width: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
}

.sec_left .nl input{
    border: none;
    width: 100%;
}

.sec_left .nl input:focus {
    outline: none;
    border: none;
}

.sec_left .social{
    display: flex;
    gap: 5%;
    padding: 3% 0;
    font-size: 1.5rem;
    align-items: center
}

.sec_left a{
    color: var(--zelena-tm);
    transition: 0.5s;
}

.sec_left a:hover{
    color: var(--oranzova-l);
}

.sec_right{
    display: flex;
    flex-direction: column;

}

.sec_right .odkazy{
    width: 100%;
    height: 100%;
    display: flex;
}

.sec_right .r, .sec_right .l{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 5%;
}



.sec_right a{
    color: gray;
    transition: 0.2s;
}

.sec_right a:hover{
    color: var(--zelena-l);
}


/*----Blog---------*/
.blog_a a{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog{
    padding: 0 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto
}

.blog .down{
    width: 100%;
    padding: 0;
}

.blog .one_item {
    min-width: calc(40% - 20px);
    background-color: #fdf0eb;
}
.up_right{
    width: 100%;
    text-align: right;
}
.up_right a{
    transition: 0.4s;
    font-weight: bold;
}
.up_right a:hover{
    color: var(--zelena-l);
}

.kontejner .blogs{
    width: 100%;
    display: flex;
}

.kontejner .one_blog{
    width: 50%;
}

.one_blog .obr{
    width: 100%;
    height: 50%;
}

.one_blog .obr img{
    height: 100%;
    max-width: 100%;
}

@media (max-width: 800px){
    footer{
        flex-direction: column;
        
    }

    footer .sec_left, footer .sec_right{
        width: 100%;
        padding: 5%;
    }

    .sec_left .nl {
        width: 95%;
        padding: 5%;
    }

    .sec_left img{
        width: 60%;
    }

    .sec_right .odkazy{
        flex-direction: column;
    }
}





/*--------single_product.html-----------*/
/*----single------*/
.signle{
    margin-top: 15vh;
    
}

.single .up{
    height: 100vh;
    display: flex;
    align-items: center;
    gap: 5%;
    margin-top: 3%;
    padding: 10px 50px;
}

.single .up .left{
    width: 50%;
}

.single .up .left img{
    max-width: 100%;
}

.signle .up .right{
    width: 50%;
}

.single .up .right .info_p{
    display: flex;
    gap: 5px;
    align-items: center;
}

.single .up .right .info_p h2{
    font-size: 3.5rem;
}

.single .up .right .info_p h3{
    font-size: 2.5rem;
    color: var(--ruzova-l);
}

.single .up .right .sklad p{
    color: var(--zelena-l);
    font-style: italic;
    font-weight: bold;
}

.info_p input{
    width: 60px; 
    padding: 10px; 
    text-align: center; 
    border: 2px solid #ccc; 
    border-radius: 5px; 
    font-size: 16px; 
    outline: none; 
    box-sizing: border-box;
}

.info_p .info_p_input{
  position: relative; 
  width: 200px; 
  display: flex; 
  align-items: center;
}

.info_p .info_p_select{
  position: relative; 
  width: 200px;
}

.info_p_select .sel_select{
  width: 100%;
  height: auto;
  padding: 8px 35px 8px 15px; 
  border: 2px solid #ccc; 
  border-radius: 5px; 
  font-size: 16px; 
  outline: none; 
  box-sizing: border-box; 
  background-color: white; 
  appearance: none; 
  -webkit-appearance: none; 
  -moz-appearance: none; 
  cursor: pointer;
  margin: 20px;
}

.info_p_select i{
  position: absolute; 
  right: 10px; 
  top: 50%; 
  transform: translateY(-50%); 
  pointer-events: none; 
  color: var(--oranzova-l);
}
.mn_but{
  background-color: var(--oranzova-l);
  color: white;
  border: none;
  padding: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  margin: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single button{
    border: none;
}


.down{
    padding: 10px 50px;
}

.down .vycet{
    display: flex;
    max-width: 100vw;
    gap: 2%;
    overflow-x: scroll;
    overflow-y: hidden;
}

.effect-bar {
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
    margin-bottom: 2%;
    gap: 2%;
}

.label {
    color: var(--seda-tm);
    display: flex;
    text-align: right;
    justify-content: flex-end;
}

.bar-container {
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
    height: 40px;
    width: 100%;
}

.down .bars {
    transition: width 0.4s ease;
    color: white;
    font-weight: bold;
    text-align: right;
    padding-right: 8px;
    font-size: 14px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

    /* Bar colors per category */
    .euphoria { background-color: #4caf50; }        /* zelená */
    .focus { background-color: #2196f3; }           /* modrá */
    .motivation { background-color: #ff9800; }      /* oranžová */
    .pain { background-color: #f44336; }            /* červená */
    .sleep { background-color: #9c27b0; }           /* fialová */
    .mental { background-color: #00bcd4; }          /* tyrkysová */

.down .info p{
    color: black;
    margin: 1% 0;
}


@media(max-width:800px){
    
    .single .up{
        flex-direction: column;
        height: auto;
        margin-top: 15vh;
        padding: 5px 25px;
    }

    .single .up .left, .single .up .right{
        width: 100%;
    }

    .single .down{
        margin-top: 15%;
        padding: 5px 25px;
        margin-bottom: 30%;
    }

    .single .down .vycet{
        overflow-x: scroll;
        overflow-y: hidden;
    }

    .single .down .one_item{    
        min-width: 80%;
    }

    .effect-bar{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .progress-bary{
        margin-bottom: 8%;
    }

    .down .vycet{
        flex-direction: column;
        gap: 20px;
    }

    .blog .one_item{
        min-width: 100%;
    }

}


/*------------kosik.html----------*/
/*----left---*/
.kosik{
    margin-top: 25vh;
    padding: 10px 50px;
    display: flex;
}

.kosik button{
    border: none;
}

.kosik .left, .kosik .right{
    width: 50%;
}

.kosik .left{
    border-right: 2px solid grey;
}

.kosik .single_kosik{
    margin-bottom: 5%;
}

.kosik input{
    background-color: var(--seda-sl);
    border: 2px solid var(--seda);
}


.kosik input:focus{
    outline: none;
    border: 2px solid var(--ruzova-l)
}

.kosik .cont_dva{
    display: flex;
    width: 100%;
    gap: 2%;
}

.kosik .cont_dva input{
    width: 50%;
}

.kosik .left label{
    margin: 1% 0;
    padding: 2%;
    border-radius: 20px;
}


.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
    position: relative;
    font-size: 16px;
    justify-content: space-between;
    background-color: var(--seda);
}

.kosik .chck{
    display: flex;
    max-width: 80%
}

.kosik .obr{
    max-width: 20%;
    margin-right: 2%;
    display: flex;
    align-items: center;
}

.kosik .obr img{
    max-width: 100%
}

label a{
    color: grey;
    text-decoration: underline;
}

.custom-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #aaa;
    border-radius: 4px;
    margin-right: 10px;
    transition: 0.3s;
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark {
    border-color: var(--zelena-l);
    background-color: var(--zelena-l);
}

.tooltip-wrapper {
    position: relative;
    margin-left: 8px;
    color: white;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    background-color: var(--ruzova-l);
    justify-content: center;
    align-items: center;
}

.tooltip-wrapper .tooltip-text {
    visibility: hidden;
    width: 220px;
    background-color: #fff;
    color: #333;
    text-align: left;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* zobrazí se nad ikonou */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    font-size: 14px;
}

.tooltip-wrapper:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/*--------right----*/
/*.right{
    position: fixed;
    left: 50%;
}*/

.right .prehled{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.right .prehled .single_pr{
    width: 80%;
    display: flex;
    gap: 2%;
    background-color: var(--oranzova-p);
    border-radius: 20px;
    align-items: center;
    margin-bottom: 5%;
    padding: 1%;
}

.right .prehled .single_pr .obr{
    width: 20%;
}

.right .prehled .single_pr .obr img{
    max-width: 100%;
}

.right .prehled .single_pr .text{
    width: 60%;
    text-align: left;
    display: flex;
    align-items: flex-start;
    border-right: 2px solid var(--oranzova-l);
}

.right .prehled .single_pr .ods{
    width: 20%;
    background-color: transparent;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
}

.right .prehled .single_pr .ods:hover{
    color: var(--oranzova-l);
}

.right .contact_form input{
    background-color: transparent;
    border: 2px solid var(--seda);
}

.right .contact_form{
    display: flex;
    flex-direction: row;
    gap: 2%;
    align-items: center;
}

.right .contact_form input{
    width: 70%;
}

.right .contact_form .kosik_but{
    width: 30%;
    display: flex;
    align-items: center;
}

.right .contact_form .kosik_but button{
    font-size: 1rem;
    margin-top: 0;
}

.kosik .slevy{
    width: 100%;
    padding:0 8%;
}

.slevy .sl_single{
    display: flex;
    gap: 8%;
    align-items: center;
    background-color: var(--seda-sl);
    border: 2px solid var(--seda);
    border-radius: 20px;
    padding: 1% 3%;
    width: fit-content;
    color: var(--oranzova-l);
}

.right .texty{
    padding: 2% 0; /*místo 2% 0, tu bylo 2% 8% -> nevím proč, kvůli košíku vracím na 2% 0 a width dávám na 80% */
    display: grid;
    grid-template-columns: 3fr 1fr;
    align-items: center;
    /*margin-top: 5%;*/
    width: 80%;
}

.right .texty .col{
    display: flex;
}

.right .texty .col h4{
    font-weight: normal;
}

.kosik .roz{
    display:none;
}


@media (max-width: 900px){
    .kosik{
        flex-direction: column;     
        padding: 0;
    }

    .kosik .left{
        padding: 5px 25px;
    }

    .kosik .left, .kosik .right{
        width: 100%;
    }

    .kosik .left{
        border: none;
    }

    .kosik .contact_form{
        padding: 0;
    }

    .kosik .cont_dva{
        flex-direction: column;
    }

    .kosik .cont_dva input{
        width: 100%;
    }

    .contact_form input, .kosik .left label{
        padding: 5% 2%;
        font-size: 1rem;
    }

    .tooltip-wrapper .tooltip-text{
        transform: translateX(-80%);
    }

    .kosik .left{
        margin-top: 15vh;
    }

    .kosik .roz{
        display: flex;
        width: 100%;
        justify-content: space-between;
        background-color: var(--zelena-l);
        border-radius: 0 0 20px 20px;
        align-items: center;
        padding: 1% 4%;
        top: 15vh;
        position: absolute;
        height: 20vh;
    }

    .kosik .roz_items {
        height: 0;
        overflow: hidden;
        transition: height 0.4s ease;
        background-color: white;
        position: absolute;
        top: 35vh;
        padding: 20px 0 0 0;
        width: 100%;
        background-color: #f9f9f9;
        display:flex;
        flex-direction: column;
        align-items: center;
        border-bottom: 5px solid var(--oranzova-l);
    }

    .kosik .roz_items.active {
        height: auto;
    }
    
    .kosik .slevy, .kosik .right .texty{
        width: 90%;
        padding: 0;
    }

    .right .prehled .single_pr, .right .contact_form{
        width: 90%
    }

    .right .contact_form input{
        width: 60%;
    }

    .right .contact_form .kosik_but{
        width: 40%;
        display: flex;
        justify-content: flex-end;
    }
    
    .right .texty{
        grid-template-columns: 2fr 1fr;
        margin-bottom: 10vh;
    }

    footer{
        margin-top: 35%;
    }
}


/*--------podmínky------*/
.body_odkazy{
    background-color: white;
}


.od_container{
    margin-top: 20vh;
    display: flex;
    flex-direction: column;
    padding: 0 2%;
}

.od_container h3{
    margin-top: 2%;
}


/*-----------blog-------*/
#blog_all, #blog_single{
    margin-top: 20vh;
    padding: 0 2%;
}

#blog_all .articles h2, #blog_single h2{
    font-family: 'Poppins', sans-serif; 
    font-weight: bold;
}

#blog_all .head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

#blog_all .head input, #blog_all .head select{
    
    padding: 1%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
}

#blog_all .head input:focus, #blog_all .head select:focus{
    outline: none;
    border: 2px solid var(--ruzova-l);
}

#blog_all input[type="search"] {
  flex: 0.7;
  font-size: 1rem;
  border: 2px solid var(--oranzova-l);
}

#blog_all select {
  flex: 0.3;
  font-size: 1rem;
  border: 2px solid var(--zelena-l);
}

#blog_all .articles {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

#blog_all .article {
  display:flex;
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s;
}

#blog_all .article:hover {
  transform: scale(1.01);
}

#blog_all .article a{
    display: flex;
    width: 100%;
    height: 150px;
    gap: 2%;
}

#blog_all .article .obr {
  width: 30%;
  height: 100%;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
}

#blog_all .article .obr img{
    max-height: 100%;
}

#blog_all .article .texty{
    width: 70%;
}

#blog_all .article h2 {
  margin: 0.5rem 0;
  font-size: 1.2rem;
}

#blog_all .article .date {
  color: #777;
  font-size: 0.9rem;
}

#blog_all .article .excerpt {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #333;
}

#blog_single p{
    white-space: pre-line;
    color: black;
    font-size: 1.3rem;
}

#blog_single .obr{
    height: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
}

#blog_single .obr img{
    max-height: 100%;
}

@media (max-width: 800px){
    #blog_all .article a {
       flex-direction: column;
       height: unset;
    }

    #blog_all .article .obr, #blog_single .obr {
        height: 150px;
        width: 100%;
    }

    #blog_all .article .texty {
        width: 100%;
    }

    #blog_all .head input, #blog_all .head select{
        padding: 2% ;
        border-radius: 13px;
        font-size: 1.2rem;
        max-width: 100%;
    }

    #blog_all .head{
        flex-direction: column;
        align-items: flex-start;
    }

    .right .prehled{
        padding: 0;
        margin: 0;
    }
}