* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1.3rem;
    font-family: 'Courgette', cursive;
}

:root {
    --light: white;
    --medium: #D3D3D3;
    --darker: #a5a5a5;
    --border: #c9c9c9;
    --background_color:#8ea04d;
    --bgcol: #e5c8cd;
    --newcol: #8cccd1;
    
}
html{
        width: 100%;
            height: 100%;
}

body {
width: 100%;
    height: 100%;
    scroll-behavior: smooth;
    background-color: var(--background_color);
}
header {
    background-color: var(--bgcol);
    height: 2rem;
    display: grid;
}
header>span{
    font-size: 21px;
    display: grid;
    align-self: center;
    justify-self: center;
}
.title {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin: auto;
}
.title-btn {
    height: 2.5rem;
    width: 10rem;
    margin-right: 0;
    margin-bottom: 1rem;
    background-color: var(--bgcol);
    border-radius: 25px;
    display: grid;
    justify-content: center;
    align-content: center;
    font-size: 1.2rem;
}
.title-btn:nth-child(2):hover{
    background-color: var(--light);
}

.title-left{
    height: 5rem;
    display: grid;
    justify-content: center;
    align-content: center;
    font-size: 2rem;
}
.title-right{
    display: flex;
    flex-direction: column;
    margin: auto;
}
.btn{
    cursor: pointer;
}
.innerNav {
    display: grid;
}
.nav-btn{
    display:none;
    
}
.material-symbols-outlined{
    justify-self: center;
    scale: 1.6;
    border: solid 1px var(--medium);
    border-radius: 25px;
    margin: auto;
    padding: 2px;
    margin-top: 0.5rem;
    display:block;
    cursor:pointer;
}
.menu{
    display: grid;
    justify-content: center;
    align-content: center;
    margin-bottom: 1rem;

}
[visib]{
    display:block;
}
a:link, a:visited, a:hover, a:active{
    text-decoration: none;
    color: black;
}

.innerNav{
    text-align: center;
    padding: 0.25rem;
}
.innerNav > a{
    margin:0.1rem;
    padding: 3px;
    border: solid 1px black;
    border-radius: 25px;
    color:black;
}
/* .innerNav>a {
    margin: 0.1rem;
    border-style: solid;
    border-width: 3px;
    border-image: url('/images/bbrainbow.jpg');
    border-image-slice: 1;
    color: black;
}
*/

.nav-btn:hover{
    background-color: rgba(206, 206, 206, 0.514);
}

.underNav {
    border-top: solid 1px var(--bgcol);
    border-bottom: solid 1px var(--bgcol);
    text-align: center;
    padding: 1rem;
    display: grid;
    margin-bottom: 2rem;
    grid-template-rows: 1fr 1fr;
    justify-items: center;
    align-items: center;
}

.underNav__desc {
    font-size: 1rem;
}

.underNav__title {
    font-size: 2rem;
    padding: 0.5rem;
}


text







.text > span{
    display: flex;

}
.text>span:nth-child(1) {
    font-size: 40px;
    margin-bottom: 15px;
    font-weight: bold;
}
.text > span:nth-child(2){
    font-size: 25px;
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    font-size: 1.2rem;
}
.text{
    width: 70%;
    flex-direction:column;
    
}

.prev{
    position: absolute;
    top: 70%;
    left: 3%;
    scale: 2;
    cursor: pointer;
}
.next {
    position: absolute;
    top: 50%;
    right: 3%;
    scale: 2;
    cursor: pointer;
}
.prev:hover,
.next:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.cards{
    display: grid;
    align-content: center;
    margin: 2rem 2rem 1rem 2rem;
}
.cardImg{
    border-radius: 25px 25px 0px 0px;
    margin-bottom: -7px;
    object-fit: cover;
    border: solid 1px var(--bgcol);
    border-bottom: none;
    max-height: 275px;

}
.cardText{
    border-radius: 0px 0px 25px 25px;
    border: solid 1px var(--bgcol);
    margin-bottom:1rem;
    padding: 1rem 1rem 1rem 1rem;
    background-color: var(--bgcol);

}

.oferta {
    border: solid 1px var(--darker);
    text-align: center;
    width: 10rem;
    margin: 1rem auto 1.5rem;
    padding: 0.5rem;
    display: grid;
    align-self: center;
    border-radius: 100px;
    border: solid 1px black;
    background-color: var(--bgcol);
}
.oferta:hover{
    background-color: var(--border);
}
footer{
    height: 3rem;
    background-color: var(--bgcol);
    display: grid;
}

footer > span, footer > span > a{
    display: grid;
    grid-auto-flow: column;
    align-content: center;
    justify-content: center;
    font-size: 15px ;
}
footer>span> a:hover{
    color: white;
}
.mainText{
    text-align: center;
    font-weight: 600;
    
}
.descText{
    padding: 1rem 1rem 0rem 1rem;
    
    
}
.descText > ul> li{
    margin-bottom: 0.5rem;
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    font-size: 1.2rem;
}
.descText>ul>li:last-child{
    margin-bottom: none;
}

.slider{
    display: grid;
    border-bottom: solid 1px var(--bgcol);
    margin-top:2rem;
}
[mgr]{
    margin-top:2rem;
}
.sli1 {
    width: 100%;
    padding: 0rem 2rem 0rem 2rem;
    max-height: 350px;
    max-width: 560px;
}
.imageSli{
    margin: auto;
}
.text {
    padding: 2rem;
    width: 100%;
    text-align: center;
    display:grid;
    margin: auto;
    max-width: 550px;
}






/*        ------------           queriesy        --------------       */

@media screen and (min-width: 768px){
    .title-right{
        flex-direction: row;
    }
    .title-btn{
        margin-right: 1rem;
        margin-bottom: 0;
    }
    .title-btn:nth-child(2) {
        margin-right: 0px;
    }
    header{
        background-size: contain;
        background-size: 15%;
        background-position: fixed;
    }

    .menu{
        display: none;
        
    }
    .nav-btn {
        display: block;
    }
    .innerNav{
        grid-template-columns: repeat(6, 1fr);
        margin: auto;
    }
    nav{
        border-top: solid 1px var(--bgcol);


    }
 

    .cards {
        display: grid;
        max-width: 1100px;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr;
    }
    .cards {
        margin: auto;
        
    }

    .cardBlock{
        margin: auto;
        
    }

        .oferta{
            margin: 1rem auto 2rem;
        }


}
@media screen and (min-width: 630px){
    .title {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 2rem 0px;
    }
    .title-left{
        margin-top: 0.25rem;
    }
    header > span{
        font-size: 25px;
    }
    .title-btn:nth-child(2){
        margin-bottom: 0px;
    }
    .innerNav {
        grid-template-columns: repeat(6, 1fr);
        margin: auto;
    }



    .cardBlock {
        margin: 0.75rem;
    }

@media screen and (min-width: 900px) {
.slider {
    grid-template-columns: 1fr 1fr;
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 1264px;
    padding-bottom: 2rem;
    margin: 3rem auto 4rem;
}
    .sli1 {
            width: 100%;
            padding: 2rem 2rem 2rem 2rem;
            max-height: 500px;
        }
}
}


@media screen and (min-width: 1100px) {
    .innerNav { 
        padding-left: 5rem;
        padding-right: 5rem;
        max-width: 1264px;
    }
    .slider{
        padding-left: 3rem;
        padding-right: 3rem;
        max-width: 1264px;
        
    }
}


