* {
    box-sizing: border-box;
}

body, html {
    height: 100%;
    margin: 0;

    background-color: whitesmoke;
}

.menubar {
    width: 100%;
    height: 50px;

    position: fixed;
    top: 0;
    z-index: 1;

    background-color: #222;
}

.menubar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menulink {
    display: inline-block;
    height: 50px;
    line-height: 50px;

    border-radius: 5px;
    margin-left: 15px;
    padding: 0 10px;

    position: relative;
}

.menulink:hover {
    background-color: #555;
}

.menulink a, .menulink a:visited, .menulink a:active {
    text-decoration: none;
    color: white;
}

.menulink:hover .dropdown {
    height: initial;
}

.dropdown {
    height: 0;
    width: 200px;

    position: absolute;
    left: 0;

    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;

    background-color: #222;

    /* transition: height 0.4s; */
    overflow: hidden;
    z-index: 1;
}

.dropdown ul {
    margin: 0;
    list-style: none;
}

.dropdown ul li {
    padding: 0 10px;
}

.dropdown ul li:hover {
    background-color: #555;
}

.dropdown ul li a {
    height: 100%;
    width: 100%;
}

.kontakt {
    float: right;
    margin-right: 15px;
}

.kontakt a {
    color: rgb(250, 86, 86) !important;
}

.grad {
    height: 30px;
    width: 100%;
    position: absolute;
    top: 100%;
    background: linear-gradient(whitesmoke, rgba(245, 245, 245, 0));
}

.section {
    margin: 0 100px 50px 100px;
    position: relative;
    text-align: justify;
}

.section h1 {
    text-align: center;
}

.name {
    display: grid;
    grid-template-columns: 40% 60%;
    margin-top: 100px;
}

.right {
    display: grid;
    grid-template-rows: auto 1fr;
    align-items: center;
}

.desc {
    text-align: justify;
    padding: 15px;
}

img {
    width: 100%;
}

#slideshow {
    margin: auto;

    box-sizing: content-box;
    /* height: 640px; */
    padding: 5px;
    border-radius: 5px;

    background-color: white;
}

#slideshow img:hover {
    cursor: pointer;
}

#maingallery {
    width: 100%;
    height: 100%;

    position: fixed;
    top: 0;
    z-index: 2;
    display: none;

    grid-template-columns: auto;
    align-content: center;

    background-color: rgba(0, 0, 0, 0.8);
}

#closeBtn {
    color: white;
    text-decoration: none;
    font-size: 45px;
    top: 20px;
    right: 20px;
    position: absolute;
}

.mainslideshow {
    grid-column-start: 1;
    width: 200px;
    height: 200px;
    background-color: white;
    margin: auto;
}

.footer {
    width: 100%;
    height: 450px;
    background-color: #222;
    padding: 50px 100px;
    color: white;
    position: relative;

    /* do dodaia później */
    display: none;
}

.made-by {
    text-align: center;
    font-size: 12px;

    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
}