html,body
{
    overflow-x: hidden;
}

body {
    font-family: 'Quicksand', sans-serif;
}

#navigation {
    transition: 0.5s;
    animation: fadein 1s;
}

#about-me {
    background: url("../img/Roman-14.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

#uvod {
    position: relative;
    background: url("../img/Roman-1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

@media (max-width: 767px) {
    #uvod::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.3); /* Černý overlay s 50% neprůhledností */
        z-index: 1;
    }

    #uvod > * {
        position: relative;
        z-index: 2;
    }
}



.bg-image {
    background: url("../img/pobocka.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow:inset 0 0 0 2000px rgba(0, 0, 0, 0.4);
}

.responsive {
    display: flex;
    justify-content: start;
    flex-direction: column;
    height: 100%;
    padding: 24px;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.responsive li {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid white;
}

.responsive-affix {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.responsive #mobileMenu {
    flex-direction: column;
    height: 100%;
    justify-content: center !important;
    align-items: center;
    flex-wrap: wrap;
}


.responsive li:last-of-type {}

.responsive ul {
    display: flex;
    align-items: center;
}

.responsive {
    display: flex;
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    text-align:center;
}

.affix {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: black !important;
}

.slick-slide {
    margin: 0 27px;
}
.slick-list {
    margin: 0 -27px;
}

.slick-prev:before, .slick-next:before{
    color:darkgray;
}

.gradient {
    background: linear-gradient(#B32F24, #BC473E);
}

.gradient-button {
    font-weight: 500;
    font-size: 18px;
    padding: 10px;
    margin-top: 2rem;
    text-align: center;
    text-transform: uppercase;
    background-size: 200% auto;
    color: #FFF;
    border: none;
    width: 270px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    cursor: pointer;
    display: inline-block;
    border-radius: 5px;
    z-index:0;
}

.gradient-button-red-bg {
    font-weight: 500;
    font-size: 18px;
    padding: 10px;
    margin-top: 2rem;
    text-align: center;
    text-transform: uppercase;
    background-size: 200% auto;
    color: #FFF;
    border: none;
    width: 270px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    cursor: pointer;
    display: inline-block;
    border-radius: 5px; /* Hranatější rohy */
    background-image: linear-gradient(to right, #4CAF50 0%, #66BB6A 51%, #4CAF50 100%);
    z-index:0;
}

.shdw {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.gradient-button-small {
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1.5px;
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: #FFF;
    box-shadow: 0 0 20px #eee;
    border-radius: 5px;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    cursor: pointer;
    display: inline-block;
    z-index:0;
}

.btn-grad {background-image: linear-gradient(to right, #8e251c 0%, #b42c20 51%, #8e251c 100%)}
.btn-grad:hover { background-position: right center; }

.contact-container {
    display: flex;
    justify-content: center;
}

.contacts {
    border-radius: 20px;
    box-shadow: 0 1px 11px 6px rgba(137,137,137,0.33);
    padding: 30px 30px 30px 30px;
}

hr {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 2.5rem;
}

.socials {
    display: flex;
    justify-content: space-between;
}

.socials a {
    text-decoration: none;
    color: #007bff;
    font-size: 30px;
    cursor: pointer;
    transition: transform .2s;
}

.socials a:hover {
    transform: scale(1.08);
}

#arrow-down {
    text-align: center;
    animation: 2s infinite;
}
#arrow-down i {
    color: white;
    font-size: 80px;
    transition: 0.3s ease-in-out;
}
#arrow-down {
    -webkit-animation: mover 1s infinite  alternate;
    animation: mover 1s infinite  alternate;
}
#arrow-down {
    -webkit-animation: mover 1s infinite  alternate;
    animation: mover 1s infinite  alternate;
}
@-webkit-keyframes mover {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}
@keyframes mover {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

#left-contact {
    padding-bottom: 20px;
}

#scaled {
    transform: scale(0.6);
    width: auto;
    height: auto;
}

.bla {
    flex: 1 1 0;
    width: 100%;
}

@media screen and (min-width: 768px){
    #left-contact {
        padding-right: 30px;
        padding-bottom: 0;
    }

    #right-contact {
        padding-left: 30px;
    }
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: .5s ease;
    background-color: black;
}

.sluzba:hover .overlay {
    opacity: 1;
}



