html, body {
    height: 100%;
}

body {
    background-color: #eeeeee;
    width: 100%;
}

h1 {
    font-size: 45px;
    color: #000000;
    text-align: center;
}

.OrodnaVrsta {
    background-color: #d0d0d0;
    width: fit-content;
    display: flex;
    margin: auto;
}

.spacer {
    width: 25px;
}

.OrodnaVrsta a:hover {
    color: red;
}

.ime {
    width: 525px;
    grid-template-columns: 1fr 1fr;
    margin: auto;
    display: grid;
    margin-bottom: 50px;
}

.logo, .ventil {
    height: 100px;
    width: auto;
    margin: auto;
    flex: 1;
    padding: 5px;
}

.stroji {
    width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #f5f5f5;
}

.M19, .KM21, .CBM1, .MV13PR, .SUPRA29, .glave {
    width: 500px;
    margin: auto;
    flex: 1;
    height: 750px;
    padding: 15px;
    border: 5px solid #FFFFFF;
	border-color: #F5F5F5
}

img {
    height: 500px;
    width: auto;
    object-fit: cover;
}

.Opis {
    width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 0;
}

.kontakt {
    color: #000000;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    padding: 50px 0;
}

footer {
    width: 100%;
    text-align: center;
    padding: 20px;
    background-color: #d0d0d0;
    margin-top: 50px;
}

.avtor {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.mySlides1, .mySlides2, .mySlides3, .mySlides4, .mySlides5, .mySlides6, .mySlides1 {
    display: none;
}

.mySlides2:first-child,
.mySlides1:first-child,
.mySlides3:first-child,
.mySlides4:first-child,
.mySlides5:first-child,
.mySlides6:first-child {
    display: block;
}

.slideshow-container {
    max-width: 500px;
    position: relative;
    margin: auto;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.next {
    right: 0;
}

.prev {
    left: 0;
}

.dot1, .dot2, .dot3, .dot4, .dot5, .dot6 {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}

.active {
    background-color: #717171;
}

.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from { opacity: .4 }
    to { opacity: 1 }
}
