/* menu */
.header{
    width: 100%;
    background-color: var(--bac_top);
    display: flex;
    justify-content: center;

}
.header > .container{ 
    position: relative;
}
.header > .container > nav{
    background-color: black;
    width: 100%;
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    color: white;
    text-transform: uppercase;
    font-family: var(--fot-famili-3);
}
.menu{
    display: flex;
    height: 100%;
    width: 100%;
}
.menu > li{
    flex-grow: 1;
    flex-basis: 0; 
    list-style: none; 
    margin: 0; 
    transition: background-color 0.3s ease;
    font-size: 18px;
}
.li_contakt{
    position: relative;
}
.li_contakt::after{
    content: ''; 
    position: absolute; 
    bottom: 0; 
    right: 0; 
    z-index: 0;
    width: 60%; 
    height: 70%;
    background-color: var(--col_bac_roz);
    top: 50%;
    transform: translateY(-50%);
}
.li_contakt::before{
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    z-index: 1;
    width: 40%; 
    height: 70%;
    background-color: var(--col_bac_roz);
    top: 50%;
    transform: translateY(-50%);
    border-radius: 0% 0% 0% 50px;
}
.menu > li > a{
    position: relative;
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.menu > li > span{
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu > li:hover{
    background-color: var(--bac_hoer_top1);
}
.menu > li.li_contakt:hover {
    background-color: var(--col_bac_roz);
}
.menu > li.drop-menu {
    position: relative; 
}
.menu > li.drop-menu:hover .drop_item{
    visibility: visible;
    opacity: 1;
}
.menu > li.drop-menu > .drop_item > li.drop-menu:hover .drop_item_small{
    visibility: visible;
    opacity: 1;
}
.drop_item {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    visibility: hidden; 
    opacity: 0;
    transition: opacity 0.8s ease;
}
.drop_item_small{
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    visibility: hidden; 
    opacity: 0;
    transition: opacity 0.8s ease;
}
.drop_item > li {
    width: 100%;
    height: 40px;
    color: rgb(218, 216, 216);
    font-weight: 300;
    background-color: var(--col_bac_roz);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.drop_item_small > li {
    width: 70%;
    height: 40px;
    color: white;
    font-weight: 300;
    background-color: var(--bac_hoer_top2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.drop_item > li:hover{
    font-weight: 500;
}
.drop_item > li > a{
    color: rgb(218, 216, 216);
    width: 90%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.drop_item > li > span{
    color: rgb(218, 216, 216);
    width: 90%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.drop_item_small > li:hover{
    font-weight: 500;
}
.drop_item_small > li > a{
    color: white;
    width: 90%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.border{
    position: relative;
}
.border::after {
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 5%; 
    width: 90%; 
    border-bottom: solid 2px black; 
}

@media (max-width: 1160px) {
    .menu > li {
        font-size: 16px;
    }
    .drop_item > li, .drop_item_small > li{
        font-size: 13px;
    }
}
@media (max-width: 1150px) {
    .drop_item > li:hover{
        font-weight: 360;
    }
    .drop_item_small > li:hover{
        font-weight: 360;
    }
}
@media (max-width: 960px) {
    .header > .container > nav{
        height: 40px;
    }
    .menu > li {
        font-size: 14px;
    }
    .drop_item > li, .drop_item_small > li{
        font-size: 11px;
    }
}
@media (max-width: 800px) {
    .drop_item > li:hover{
        font-weight: 300;
    }
    .drop_item_small > li:hover{
        font-weight: 300;
    }
}
@media (max-width: 560px) {
    .menu > li {
        font-size: 12px;
    }
    .drop_item > li, .drop_item_small > li{
        font-size: 9px;
    }
}
@media (max-width: 500px) {
    .header > .container > nav{
        width: 140px;
        height: 195px;
        transform: translateX(-100%);
        transition: transform 0.5s ease;
        z-index: 10;
    }
    .header > .container > nav::after{
        content: ''; 
        position: absolute; 
        z-index: 4;
        top: 0; 
        left: 100%; 
        width: 40px;
        height: 40px;
        background-image: url("../../image/menu_.svg");
        filter: brightness(0) invert(1);
        background-repeat: no-repeat;
        background-position: center;
    }
    .header > .container > nav::before{
        content: ''; 
        position: absolute; 
        top: 0; 
        left: 100%; 
        width: 40px;
        height: 40px;
        background-color: black;
    }
    .header > .container > nav:hover::after{
        background-image: url("../../image/arrow_.svg");
    }
    .header > .container > nav:hover {
        transform: translateX(0%);; /* Wysuń nawigację po najechaniu na nią myszką */
    }
    .menu{
        display: flex;
        flex-direction: column;
    }
    .drop_item {
        top: 0;
        left: 100%;
    }
    .li_contakt::after{
        left: 0; 
        width: 100%; 
    }
}
/* facebook */
.container_iframe_box{
    width: 100%;
    height: 2px;
    position: relative;
}
.iframe_box{
    width: 290px;
    height: 570px;
    padding-top: 10px;
    background-image: url(../../image/fbpodklad.png);
    background-repeat: no-repeat;
    position: absolute;
    top: 20px;
    left: -260px;
    z-index: 25;
    transition: left 0.8s ease;
}
.iframe_box:hover {
    left: 0;
}

/* Slider */

.slider{
    position: relative;
    width: 100%;
    height: 530px;
    background-image: url("../../image/top_monmay.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.slider::after{
    content: '';
    position: absolute;
    background-color: var(--col_bac_roz);
    z-index: 4;
    bottom: -30px;
    left: 4%;
    width: 25%;
    height: 30px;
    border-radius: 0 0 0 50px;
}
.slider_logo{
    position: absolute;
    top: 14%;
    left: 5%;
    width: 25%;
    height: 50%;
    background-image: url("../../image/logo_monmay.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.slider_logo > a{
    z-index: 10;
    width: 20%;
    height: 20%;
}
.social_boxs{
    width: 40px;
    height: 165px;
    position: absolute;
    top: 0;
    left: 42%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
}
.social_boxs > a{
    width: 100%;
    height: 30px;
}
.social_boxs > a > div{
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.social_boxs > a > .fb {
    background-image: url("../../image/fb_TOP.png");
}
.social_boxs > a > .inst {
    margin-top: 10px;
    background-image: url("../../image/insta_TOP.png");
}

@media (max-width: 1080px) {
    .slider{
        height: 490px;
    }
}
@media (max-width: 1000px) {
    .slider{
        height: 450px;
    }
    .social_boxs{
        width: 35px;
        height: 140px;
    }
}
@media (max-width: 910px) {
    .slider{
        height: 410px;
    }
    .social_boxs{
        width: 31px;
        height: 125px;
    }
    .social_boxs > a{
        height: 25px;
    }
}
@media (max-width: 830px) {
    .slider{
        height: 380px;
    }
}
@media (max-width: 770px) {
    .slider{
        height: 340px;
    }
    .social_boxs{
        width: 25px;
        height: 100px;
    }
    .social_boxs > a{
        height: 20px;
    }
    .slider::after{
        bottom: -25px;
        height: 25px;
        width: 30%;
    }
}
@media (max-width: 690px){
    .slider{
        height: 310px;
    }
    
}
@media (max-width: 630px){
    .slider{
        height: 280px;
    }
    .social_boxs{
        width: 20px;
        height: 90px;
    }
    .social_boxs > a{
        height: 15px;
    }
}
@media (max-width: 600px){
    .slider{
        height: 270px;
    }
    .slider_logo{
        top: 18%;
        left: 5%;
        width: 23%;
        height: 45%;
    }
}
@media (max-width: 550px){
    .slider{
        height: 245px;
    }
    .social_boxs{
        height: 75px;
    }
    .slider::after{
        bottom: -20px;
        height: 20px;
    }
}
@media (max-width: 500px){
    .slider{
        height: 225px;
    }
}
@media (max-width: 460px) {
    .slider{
        height: 210px;
    }
    .social_boxs{
        height: 65px;
    }
}
@media (max-width: 430px) {
    .slider{
        height: 195px;
    }
}
@media (max-width: 400px) {
    .slider{
        height: 180px;
    }
    .social_boxs{
        height: 50px;
    }
    .social_boxs > a{
        height: 10px;
    }
    
}
@media (max-width: 370px) {
    .slider{
        height: 170px;
    }
}
@media (max-width: 350px) {
    .slider{
        height: 160px;
    }
}

@keyframes cssAnimation_0 {
    to {
      transform: rotate(360deg) translate(0px, 0px);
    }
  }