* {
    font-family: 'Montserrat', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-size: 10px;
    overflow-x: hidden;
}

/* HEADER */

.logo img {
    width: 8rem;
    cursor: pointer;
}
header {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1rem;
    top: 0;
    position: sticky;
    background: white;
    z-index: 100;
    transition: all .4s ease-in-out;
    
}
header.active {
    box-shadow: 0 0 0.9rem rgb(202, 202, 202);
}


.menu {
    width: 100vw;
    height: 92vh;
    text-align: center;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    top: 0;
    left: 0;
    background: rgb(204,204,204);
    background: linear-gradient(0deg, rgba(204,204,204,1) 0%, rgba(255,255,255,1) 100%);
    position: absolute;
    font-size: 1.7rem;
    font-weight: bold;
    transform: translateY(-100%);
    transition: all .4s ease-in-out;

}
.menu.active {
    transform: translateY(5rem);
}

.menu a {
    position: relative;
    align-items: center;
    cursor: pointer;
    text-align: center;
    margin: 0 auto;
    text-decoration: none;
    color: rgb(51, 51, 51);
}

.menu a::after {
    content: '';
    background-color: rgb(196, 2, 2);
    width: 0;
    height: .2rem;
    position: absolute;
    bottom: -0.2rem;
    left: 0;
    border-radius: 2rem;
    transition: all .4s ease-in-out;


}

.menu a:hover::after {
    width: 100%;
    
}
.media {
    margin: .1rem 0 .1rem 0; 
    text-align: center;
    align-items: center;
    padding: 0.5rem;
    
}

.media img {
    width: 1.9rem;
    margin: 0 .2rem 0 .2rem;
    cursor: pointer;
}
.media a {
    text-decoration: none;
 }
.burger {
    width: 2.6rem;
    height: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background: transparent;
    border: none;
    cursor: pointer;

}

.burger span {
    width: 100%;
    background: rgb(0, 0, 0);
    height: .3rem;
    transition: all .3s ease-in-out;
    border-radius: 1rem;
}
.burger span:nth-child(2) {
    background: rgb(224, 0, 0);
}

.burger.active {
    z-index: 10;
    margin-right: 0.5rem;
}

.burger.active > span {
    background: rgb(155, 0, 0);
}
.burger.active >span:nth-child(1) {
    transform: rotate(-45deg) translateY(.8rem);
    width: 90%;
    
}
.burger.active >span:nth-child(2) {
    display: none;
}
.burger.active >span:nth-child(3) {
    transform:rotate(45deg) translateY(-.8rem);
    width: 90%;
    
}




/*KONTAKT*/


hr {
    width: 70%;
    margin: 0 auto;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.nagłówek {
    margin: .1rem 0 .2rem 0;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    font-size: 1.7rem;
    padding-top: 5rem;
}

.first-text {
    margin: 0 .8rem;
    width: max-content;
    background: rgb(0,0,0);
    background: linear-gradient(90deg, rgb(22, 22, 22) 0%, rgb(173, 70, 70) 100%);
    padding: .3rem 1rem;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    
}
.second-text {
    font-weight: bold;
    color: rgb(0, 0, 0);
}

iframe {
    width: 100%;
    height: 50vh;
    margin-top: 1rem;
    margin-bottom: 3rem;
}
.kontakt h2 {
    margin: .9rem 3rem 6rem 3rem;
    text-align: center;
    font-size: .9rem;
    color: rgb(156, 156, 156);
    font-weight: 400;
}
.adres {
    margin: 0 1rem 0 1rem;
    margin-bottom: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}
.adres ul {
    list-style: none;
}

.adres-kontaktowy {
    
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: .8rem;
    
}
.godziny {
    
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: .7rem;
}
.text-adress {
    color: rgb(160, 87, 87);
    font-weight: bold;
    font-size: .9rem;
    
}
.adress-icon {
    
    background: rgb(156,0,0);
    background: radial-gradient(circle, rgba(156,0,0,1) 0%, rgba(255,255,255,1) 100%);
    padding: .4rem .5rem;
    margin: .3rem .5rem;
    border-radius: 1rem;
    vertical-align: middle;
    
}

/*FOOTER*/

footer {
    text-align: center;
    width: 100%;
    height: 3rem;
    color: black;
    background-color: rgb(248, 248, 248);
    font-size: .7rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/*DESKTOP DISPLAY*/

@media only screen and (min-width: 960px) {
    
    hr {
        width: 40%;
    }
    
    header {
        padding: .1rem 1rem;
        
    }
    
    .burger {
        display: none;
    }
    .menu {
        padding-top: 0;
        position: unset;
        background: inherit;
        color: rgb(112, 112, 112);
        flex-direction: row;
        height: inherit;
        width: max-content;
        align-items: center;
        transform: translateY(0);
        gap: 2rem;
        font-size: 1rem;
        font-weight: 400;
        text-align: center;
    }
    .media img {
        margin-bottom: .5rem;
    }
    .media {
        align-items: center;
        width: max-content;
        
    }
    .logo {
        margin-top: 1.7rem;
        margin-right: 1.5rem;
    }
   

    .adres {
        justify-content: space-around;   
    }
    .adres-kontaktowy {
        font-size: 1.2rem;
    }
    .godziny {
        font-size: 1.2rem;
    }
    .text-adress {
        font-size: 1.2rem;
    }
    
}

@media only screen and (min-width: 1241px) {
    .media {
        margin-top: 1rem;
        
    }
    .logo {
        margin-top: .7rem;
        margin-right: 1.5rem;
    }
}

@media only screen and (min-width: 1600px) {
    .menu {
        margin-top: .9rem;
        gap: 3.5rem;
        font-size: 1.2rem;
        
    }
    .logo img{
        width: 9rem;
    }
    header {
        padding-bottom: 1rem;
    }
    
}