/* General Reset */
* {
    margin: 0;
    padding: 0;
}

/* Body */
body {
    background-image: url(/img/bg.jpg);
    background-color: black;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-animation: fadein 1s;
    font-family: Arial, Helvetica, sans-serif;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    bottom: 0px;
}

/* Text Elements */
p {
    font-size: 20px;
    color: white;
}

p1 {
    font-family: sans-serif;
    color: rgb(226, 132, 10);
    font-weight: bold;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.link-style, .contact-link {
    font-size: 20px;
    color: white;
}

h1, h2, h3, h4 {
    padding: 10px;
}

/* Container */
.container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
}

/* Background Content */
.bg-content {
    width: 60%;
    max-width: 600px;
    background-color: #75571e80;
    margin: auto;
    color: #ddd;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
    padding: 20px;
}

/* Table */
.taulukko {
    margin: auto;
    margin-bottom: 30px;
}

/* Navbar */
.nvbr {
    position: sticky;
    top: 0;
    background-color: #333;
    overflow: hidden;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.nvbr img {
    height: 40px;
}

.nvbr .links {
    display: flex;
    justify-content: center;
    flex: 1;
}

.nvbr a {
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
}

.nvbr a:hover {
    background-color: #ddd;
    color: black;
}

.nvbr a.active {
    background-color: #a37c32;
    color: white;
}

/* Hamburger Menu */
.hbgr-container {
    display: none;
    align-items: center;
    cursor: pointer;
    color: white;
}

.hbgr {
    font-size: 30px;
    margin-right: 10px;
}

.hbgr-text {
    display: none;
    font-size: 18px;
}

/* Social Media */
.socialmedia {
    width: 50%;
    height: 120px;
    background-color: rgba(0, 0, 0, 0);
    text-align: center;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 45px;
    max-width: 400px;
}

.somelogo {
    width: 50px;
    margin: 5px;
}

/* Logo */
.logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 30%;
    max-width: 300px;
}

/* Table */
th, td {
    text-align: center;
    padding: 8px;
    color: white;
}

/* Slideshow */
.slideshow-container {
    position: relative;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
}

.slides {
    display: none;
}

.slideshow-container img {
    width: 100%;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slideshow {
    margin-bottom: 30px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover, .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/*Google Maps*/
.map-responsive{
    margin: auto;
    text-align: center;
}

.map-responsive iframe{
    margin: auto;
    width: 600px;
    height: 450px;
}

/* Media Queries */
@media screen and (max-width: 680px) {
    .nvbr {
        flex-direction: column;
        padding: 10px;
    }
    .nvbr .links {
        flex-direction: column;
        width: 100%;
        display: none;
    }
    .nvbr a {
        text-align: left;
        width: 100%;
    }
    .nvbr img {
        display: none;
    }
    .hbgr-container {
        display: flex;
        align-self: flex-start;
    }
    .hbgr-text {
        display: block;
    }
    .nvbr .links.show {
        display: flex;
    }
    .logo {
        width: 35%;
    }
    .bg-content {
        width: 85%;
        margin-top: 5px;
        margin-bottom: 0px;
        padding: 7px;
    }
    th, td {
        padding: 0px;
    }
    table {
        border-spacing: 20px 7px;
    }
    h1, h2, h3, h4 {
        padding: 3px;
        margin: 0;
        margin-top: 0px;
    }
    .slideshow-container {
        margin-top: 40px;
        max-width: 75%;
    }
    .map-responsive iframe{
       max-width: 330px;
       max-height: 260px;
       margin-top: 20px;
}
}
