@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

.navbar {
    background-color: none;
}

.navbar img {
    height: 10vh;
    margin-top: 10px;
}

.navbar a {
    color: whitesmoke;
    font-weight: 500;
}

body {
    background-image: url(obraz/background.png);
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Roboto', sans-serif!important;
}

#title {
    margin: 4rem;
    color: white;
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    text-align: center;
}

.contact-info {
    width: 90%; 
    max-width: 1200px; 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    padding-top: 30px;
    gap: 20px; 
}

.card {
    background: #272625;
    padding: 10px;
    margin: 10px;
    flex: 1 1 calc(33.333% - 40px); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
    border-radius: 15%;
    transition: transform 1s;
    text-align: center;
    text-decoration: none;
}

.card img{
    width: 400px; /* Přizpůsobte šířku podle vašich preferencí */
    height: 300px; /* Přizpůsobte výšku podle vašich preferencí */
    border-radius: 10px;
    transition: transform 0.3s ease;
}
    

.card:hover img {
    transform: scale(1.1);
}

.card p {
    margin-top: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #fff;
}

footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #F07D2C;
    width: 100%;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer a {
    font-size: 2rem; /* Zvýšili jsme velikost písma v footeru */
    margin: 0 4rem; /* Zvýšíme mezery mezi ikonami */
    transition: .2s;
    color: #FFF;
}

footer a:hover {
    color: #464849!important;
}

.btn-back {
    display: inline-block;
    padding: 10px 20px;
    margin: 60px 0;
    font-size: 1rem;
    color: white;
    background-color: #000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn-back:hover {
    background-color: #d96d16;
}


/* Media queries pro responzivitu */
@media (max-width: 1200px) {
    .card {
        flex: 1 1 calc(50% - 40px); 
    }
}

@media (max-width: 768px) {
    #title {
        font-size: 2.5rem;
    }

    .card {
        flex: 1 1 calc(100% - 40px); 
    }
}

@media (max-width: 576px) {
    #title {
        font-size: 2rem;
    }

    .navbar img {
        height: 50px;
    }

    footer a {
        font-size: 1.5rem;
    }
}
