* {
    margin: 0;
    padding: 0;
    scrollbar-width: none;
}




#logo {
    width: calc(8vh + 8vw);
    display: inline-block;
    position: absolute;
    padding: 20px;
    display: none;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-right: 2vw;


}

nav a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10vh;
    width: 25%;
    color: white;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: calc(0.3em + 0.3vw);
}

nav a:hover {
    background-color: #ff0000;
}

header {
    background-color: #333333;
    position: absolute;
    z-index: 3;
    width: 100vw;
    height: 10vh;
}

.showmore {
    background-color: #333333;
    border: none;
    border-radius: 0;
    width: 100%;
    padding: 3%;
    margin-top: 3%;
    font-size: calc(0.5em + 0.5vw);
    color: white;
    font-weight: 800;
    display: block;
    text-align: center;
    text-decoration: none;
    border-top: 2px solid black;
}

.showmore:hover {
    cursor: pointer;
    background-color: #ff0000;


}

.mainpicture {
    background-image: url('../images/BG.jpg');
    background-repeat: no-repeat;
    width: 100vw;
    background-clip: inherit;
    min-height: 100vh;
    height: 100vh;
    background-size: cover;
    position: absolute;
    padding: 0;
}





td button {
    display: inline-block;
}

#admin table {
    margin: 0 auto;
}

#admin {
    text-align: center;
}

.car {
    width: 100vw;
    background-color: rgba(255, 255, 255, 0.8);
    margin-left: 2%;
    margin-top: 2%;
    font-family: Arial, Helvetica, sans-serif;
    text-align: justify;
    overflow: hidden;
    align-items: flex-start;


}

.car h1 {
    font-size: calc(0.8em + 0.8vw);
    text-align: center;
    display: block;
    background-color: #ff0000;
    padding-top: 4%;
    padding-bottom: 4%;
    margin-bottom: 2%;
    color: white;
    z-index: 30;
    border-bottom: 2px solid black;
}

.car h2 {
    font-size: calc(0.7em + 0.7vw);
    text-align: center;
    margin-bottom: 2%;
}



.car .img, .car .img_empty {
    width: 100%;
    margin: 0;
    max-width: 100%;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    vertical-align: middle;
    z-index: 1;

}



.icon {
    width: calc(0.9vh + 0.9vw);
    height: calc(0.9vh + 0.9vw);
    vertical-align: middle;
    margin-right: 5%;



}

.option {
    color: #666666;
    font-style: normal;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    width: 50%;
    font-size: calc(0.45em + 0.45vw);
}

.option h3 {
    font-weight: 700;
    font-style: normal;
}

.opcje {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-top: 4%;

}

.opis h2
{
    text-align: left;
    color:#666666
}



#logo2 {
    width: 60%;
    height: auto;
    max-height: 80%;
    margin-top: 150px;
    margin-left: 50%;
    transform: translateX(-50%);
    position: absolute;
}

pre {
    font-family: sans-serif;
}

#mainp textarea {
    width: 80vw;
    height: 30vh;
}


.car h3 {
    margin-bottom: 10px;
}

#offered {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    position: absolute;
    top: 10vh;
    overflow: scroll;
    height: 90vh;

}

#offered::-webkit-scrollbar {
    display: none;
}

.opis::-webkit-scrollbar {
    display: none;
}

#map {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 50%;



}



#inline_content {
    text-align: center;
    font-family: sans-serif;
}



@media (min-width:700px)
{
    .car
    {
        width: 100vw;
        display: flex;
        flex-direction: row;
        
    }

    .fotorama
    {
        height: 100vh;
    }

   .fotorama, .markam, .opcje
    {
       width: 50vw;      

    }
    .opis
    {
        height: 50vh;
        margin-left: 5vw;
        width: 30vw;
        margin-top: 5vh;
        overflow: scroll;
    }

    nav a
    {
        width: 15%;
        font-size: calc(0.5em + 0.5vw);
    }

    #logo
    {
        display: block;
    }

    #contact
    {
        flex-direction: row-reverse;
    }

    #map
    {
        width: 50%;
        height:100%;
    }

    #info
    {
        width: 50%;
        height: 100%;
    }
}