* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

html, body {
    height: 100%;
}

html {
    position: relative;
}

body{
    background-image: url("../img/background-image.png");
    background-attachment: fixed;
    background-size: cover;
}

a, a:hover {
    color: white;
    text-decoration: none;
}

li {
    list-style: none;
    padding-bottom: 3px;
}

.box { 
    min-height: 100%;
    border-collapse: collapse;

    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;

    color: white;
} 

main {    
    margin: 2em auto;      
    min-height: 100%;
    font-family: 'Open Sans', sans-serif;

    -webkit-box-flex: 1;

        -ms-flex: 1 0 auto;

            flex: 1 0 auto;

    background-color: rgba(71, 71, 71, 0.6);
}

.button-nav {
    margin: auto;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row nowrap;
            flex-flow: row nowrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.nav-item {
    text-transform: uppercase;
    padding: 0.5em 0;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;

    background-color: rgba(71, 71, 71, 0.6);
    -webkit-transition: background-color 0.5s ease;
    -o-transition: background-color 0.5s ease;
    transition: background-color 0.5s ease;

    font-family: 'Bebas Neue', cursive;
    font-size: 1.875rem;   

    text-align: center;

    border-left: solid 3px white;
    border-bottom: solid 3px white;
    border-right: solid 3px white;
}

.nav-item:hover {
    background-color: rgba(134, 134, 134, 0.8);
}

.nav-item + .nav-item {
    border-left: none;
}

.hamburger-nav {
    display: none;
}


.content {
    margin: 2em 3em;
}

.footer-box {
    width: 100%;
    min-width: 100%;
    padding-bottom: 1em;

    background-color:rgb(68, 68, 68);
    color: white;
    font-family: 'Nunito', sans-serif;
}

.contact-box {
    width: 80%;
    margin: auto;
    padding: 1em 0 1em 5em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-pack: center;

        -ms-flex-pack: center;

            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    overflow-x: hidden;
}

.contacts-header {
    padding-bottom: 0.5em; 
    font-size: 1.25rem;
}

.contacts {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
}

.map {
    border: none;
    margin: 0 auto 0 2em;
}

.socials-icon {
    margin: 0 3em;
    width: 19px;
    fill: white;

    -webkit-transition: fill 0.2s cubic-bezier(0, 0.61, 0.57, 1);

    -o-transition: fill 0.2s cubic-bezier(0, 0.61, 0.57, 1);

    transition: fill 0.2s cubic-bezier(0, 0.61, 0.57, 1);    
}

.socials-icon:hover {
   fill: rgb(0, 0, 0);
}

.copyright-box {    
    width: 80%;
    margin: auto;
    padding-top: 1em;
    text-align: center;
    border-top: rgb(110, 110, 110) 2px solid;
}

.open-time {
    fill: white;

    position: relative;
    top: 6px;
    right: 3px;
}

.header {
    text-align: center;
    font-size: 2.5rem;
    letter-spacing: 1.5px;
    margin-bottom: 1em;
}

@media only screen and (min-width: 1601px){
    main {
        width: 1400px;
    }

    .button-nav {
        width: 1500px;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1600px){
    main {
        width: 1000px;
    }
    
    .button-nav {
        width: 1100px;
    }
}

@media only screen and (min-width: 1001px) and (max-width: 1201px){
    main {
        width: 800px;
    }

    .button-nav {
        width: 900px;
    }

    .map {
        margin: auto;
    }

    .fb_iframe_widget{
        width: 0px;
        display: none;
    }
    
    .contacts {
        margin-right: 1em;
    }
}

#CybotCookiebotDialogHeaderLogosWrapper {
    display: none !important;
}

@media only screen and (min-width: 769px) and (max-width: 1000px) {
    main {
        position: relative;
        width: 750px;
    }

    iframe, .fb_iframe_widget{
        width: 0px;
        display: none;
    }

    .button-nav {
        width: 750px;
    }
}

@media only screen and (max-width: 768px) {
    main {
        position: relative;
        width: 100%;
    }

    .content {
        overflow: hidden;
        margin: 2em 0;
    }

    .button-nav, iframe{
        display: none;
    }

    .hamburger-nav {   
        display: block;

        width: 100%;

        font-family: 'Bebas Neue', cursive;   
        font-size: 2.1875em;     

        border-bottom: rgba(255, 255, 255) solid 2px;
        background:rgb(46, 46, 46);   
    }

    .logo {
        float: left;
        margin: 0 40px;        
        line-height: 70px;
    }

    .toggle-icon {
        float: right;

        margin: 25px 40px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        width: 25px;
        height: 21px;
        cursor: pointer;
    }

    .bar {        
        position: relative;

        height: 3px;
        width: 100%;

        margin-top: 9px;

        background: white;
        border-radius: 10px;

        -webkit-transition: background .2s ease-out;

        -o-transition: background .2s ease-out;

        transition: background .2s ease-out;
    }    
    
    .bar::before {
        content: "";
        height: 100%;
        width: 100%;

        position: absolute;
        top: -7px;

        -webkit-transition: all .2s ease-out;

        -o-transition: all .2s ease-out;

        transition: all .2s ease-out;

        background-color: white;
        border-radius: 10px;
    }

    .bar::after {
        content: "";
        height: 100%;
        width: 100%;

        position: absolute;
        top: 7px;

        -webkit-transition: all .2s ease-out;

        -o-transition: all .2s ease-out;

        transition: all .2s ease-out;

        background-color: white;
        border-radius: 10px;
    }

    .toggle-btn {
        display: none;
    }

    .nav-menu {
        clear: both;
        overflow: hidden;
        width: 100%;
        max-height: 0;

        text-align: center;
        -webkit-transition: max-height .2s ease-out;
        -o-transition: max-height .2s ease-out;
        transition: max-height .2s ease-out;
    }

    .hamburger-nav-item {
        display: block;
        text-transform: uppercase;   

        padding-top: 5px;
        border-top: rgba(255, 255, 255) solid 2px;
    }

    .hamburger-nav-item:hover, .hamburger-nav-item:active {
        color:rgba(255, 255, 255, 0.808);
    }

    .toggle-btn:checked ~ .nav-menu {      
        max-height: 272px;
    }

    .toggle-btn:checked ~ .toggle-icon .bar {      
        background: transparent;
    }

    .toggle-btn:checked ~ .toggle-icon .bar::before {      
        top: 0;
        -webkit-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
                transform: rotate(45deg);
    }

    .toggle-btn:checked ~ .toggle-icon .bar::after {      
        top: 0;
        -webkit-transform: rotate(-45deg);
            -ms-transform: rotate(-45deg);
                transform: rotate(-45deg);
    }

    iframe, .fb_iframe_widget{
        width: 0px;
        display: none;
    }
}

@media only screen and (max-width: 450px) {
    .socials-icon {
        display: none;
    }

    .contact-box {
        padding-left: 1.5em;
    }
}