*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html{
    font-size: 100%;
    scroll-behavior: smooth;
}
body{
    background-color: rgb(228, 228, 228);
    color: rgb(37, 39, 63);
    font-family: "roboto", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
}
nav.mobile-nav{
    display: none;
}
nav.desktop{
    width: 100%;
    overflow: hidden;
}
nav.desktop a{
    display: block;
    float: left;
    color: rgb(59, 117, 117);
    padding: 1.125rem 1rem;
    text-decoration: none;
    font-size: 1.25rem;
}
nav.desktop a:hover{
    background-color: rgb(200, 187, 211);
}
nav.desktop a.active{
    background-color: rgb(250, 128, 72);
    color: rgb(0, 0, 0);
}

/*Hlavní obsah*/
main{
    width: 80%;
    margin: 4rem auto;
}
article{
    margin-bottom: 4rem;
}
/*Sloupce, obtékaný layout*/
.col-3{
    width: 33.333%;
    float: left;
    padding: 1rem;
}

.col-2{
    width: 50%;
    float: left;
    padding: 1rem;
}

/*Konec obtékání*/
.clearfix::after{
    content: " ";
    display: table;
    clear: both;
}

/*Zápatí*/
footer{
    color: rgb(255, 110, 43);
    background-color: rgb(56, 56, 56);
    padding: 2rem;
}

/*Písmo, text*/
h1{
    font-size: 2.5rem;
    margin-top: 1rem;
    text-transform: uppercase;
}
h2{
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: rgb(196, 46, 0);
}
h3{
    font-size: 1.4rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgb(0, 89, 190);
}
p{
    font-size: 1.15rem;
    text-align: justify;
}
.col-3 i.fa-solid{
    font-size: 1.5rem;
    color: rgb(21, 126, 0);
}
address{
    text-align: left;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
footer a{
    color: rgb(255, 110, 43);
}
/*Responzivní obrázek*/
header img{
    width: 100%;
    height: auto;
}
img{
    max-width: 100%;
    height: auto;
}
footer img{
border-radius: 20%;
}

/*Šipka zpět*/
.arrow{
    display: block;
    font-size: 2.5rem;
    color: rgb(255, 110, 43);
    position: fixed;
    right: 2rem;
    bottom: 1.5rem;
}
section.fotogalerie img{
    border: 0.2rem solid rgb(48, 48, 48);
}
.fotogalerie img:hover{
    transform: scale(1.3);
}
/*Breakpoint pro tablet*/
@media screen and (max-width:768px){ 
    article{
        width: 100%;
        margin-bottom: 2rem;
    }
    .col-3{
        width: 100%;
        float: none;
    }
}

/*Breakpoint pro mobil*/
@media screen and (max-width:460px) {
    .col-2{
        width: 100%;
        float: none;
    }
    .right, footer, address, footer p{
        text-align: center;
    }
    nav{
        display: none;
    }
    nav a{
        float: none;
        width: 100%;
        border-bottom: 1px solid rgb(0, 0, 0) ;
    }
    nav.mobile-nav{
        display: block;
        font-size: 2rem;
    }

}