@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Righteous&display=swap');

body{
    background-color: rgb(206, 203, 186);
}

header {
    background-color: rgb(73, 91, 41);
    height: 15vw;
    color: rgb(206, 203, 186);
    justify-content: center;
    align-items: center;
    display: flex;
    
}
header h1 {
    font-family: "Righteous", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 10vw;
    z-index: 999;
}
.l1 {
    height: 15vw;
    position: absolute;
    left: 0;
}
.l2 {
    height: 15vw;
    position: absolute;
    right: 0;
}
.bg {
    position: absolute;
    height: 15vw;
    width: 100%;
    overflow: hidden;
}
.bg img {
    height: auto;
    width: 100%;
    opacity: 10%;
}

nav {
    background-color: rgb(31, 61, 59);
}
.nav-link {
    color: rgb(206, 203, 186);
}
.nav-link:hover {
    color: rgb(206, 203, 186);
    opacity: 50%;
}
.vl {
    border-left: 2px solid rgb(206, 203, 186);
    height: 100%;
    opacity: 20%;
}

main {
    width: 60vw;
    height: 203vw;
    background-color: rgb(206, 203, 186);
    margin: auto;
}
main h1, main h2, main h3 {
    color: rgb(73, 91, 41);
    font-family: "Righteous", sans-serif;
    font-weight: 400;
    font-style: normal;
}
main p {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: rgb(31, 61, 59);
}

.uvod {
    padding-top: 6vw;
}
.uvodp {
    padding-left: 2vw;
    padding-right: 2vw;
    text-align: justify;
}

.druhy {
    padding-top: 2vw;
    display: flex;
}
.d-1 {
    padding-left: 2vw;
    text-align: justify;
    padding-right: 2vw;
    
}
.d-2 {
    margin-top: 1.5vw;
    
    margin-left: 1vw;
    width: 50%;
}
.card {
    font-family: "Montserrat", sans-serif;
    padding-left: 2vw;
    padding-right: 2vw;
    font-size: 0.8em;
    font-weight: 500;
    font-style: normal;
    color: rgb(31, 61, 59);
    background-color: rgb(223, 220, 202);
    border-width: 3px;
    border-color: rgb(206, 203, 186);
}
.btn {
    background-color: rgb(223, 220, 202);
    
}
li {
    margin: 3px;
    
}
.d-3 {
    width: 70%;
}

.exmpl {
    padding-top: 3vw;
}
.exmpl h3 {
    padding-top: 1vw;
    padding-left: 2vw;
    font-family: "Montserrat", sans-serif;
    font-size: 1.5vw;
    font-weight: 500;
    font-style: normal;
}
.i-o {
    width: 90%;
    height: 17vw;
    margin: auto;
    display: flex;
    justify-content: space-between;

}

.k-1{
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(img/kostel-1.jpg);
    width: 45%;
    height: 100%;
}
.k-2{
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(img/kostel-2.jpg);
    width: 45%;
    height: 100%;
}
.mat-1 {
    width: 45%;
    height: 100%;
    margin-left: 0;
    background-image: url(img/matylda-1.jpg);
    background-size: cover;
    background-repeat: no-repeat; 
}
.mat-2 {
    width: 45%;
    height: 100%;
    margin-left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(img/matylda-2.jpg);
}
.hip-1 {
    width: 45%;
    height: 100%;
    margin-left: 0;
    background-image: url(img/hipodrom-1.jpg);
    background-size: cover;
    background-repeat: no-repeat; 
}
.hip-2 {
    width: 45%;
    height: 100%;
    margin-left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(img/hipodrom-2.jpg);
}
.aut-1 {
    width: 45%;
    height: 100%;
    margin-left: 0;
    background-image: url(img/autodrom-1.jpg);
    background-size: cover;
    background-repeat: no-repeat; 
}
.aut-2 {
    width: 45%;
    height: 100%;
    margin-left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(img/autodrom-2.jpg);
}
.kru-1 {
    width: 45%;
    height: 100%;
    margin-left: 0;
    background-image: url(img/kruhac-1.jpg);
    background-size: cover;
    background-repeat: no-repeat; 
}
.kru-2 {
    width: 45%;
    height: 100%;
    margin-left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(img/kruhac-2.jpg);
}
.vin-1 {
    width: 45%;
    height: 100%;
    margin-left: 0;
    background-image: url(img/vinice-1.jpg);
    background-size: cover;
    background-repeat: no-repeat; 
}
.vin-2 {
    width: 45%;
    height: 100%;
    margin-left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(img/vinice-2.jpg);
}

hr {
    margin-top: 4vw;
}

button {
    
    background-color: rgb(206, 203, 186);
    padding-left: 2vw;
    padding-right: 2vw;
    padding-top: 1vw;
    padding-bottom: 1vw;
    border-radius:3em;
    border: 5px solid rgb(31, 61, 59); 
    color: rgb(31, 61, 59);
    font-family: "Righteous", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.7vw;
}
button:hover {
    background-color: rgb(223, 220, 202);
    border: 5px solid rgb(92, 145, 163); 
    color: rgb(92, 145, 163);
}

.testik{
    display: flex;
    
    margin-top: 3vw;

}
.testik p {
    font-size: 1.3vw;
    display: flex;
    margin: 0;
    align-items: center;
}

.examldr {
    padding-top: 2vw;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    
    overflow: hidden;
    flex-direction: column;
}