body {
    background-image: url(img/pozadí.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    font-family: "Oswald", sans-serif;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

/* Navbar */

@media(max-width: 991px) {
    .sidebar {
        background-color: rgba(56, 55, 55, 0.15);
        backdrop-filter: blur(10px);
    }
}

.navbar-dark {
    background-color: rgba(56, 55, 55, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-link {
    color: rgb(216, 8, 8);
    font-weight: 700;
}

.bg-body-tertiary {
    --bs-bg-opacity: 0;
}

@media (max-width: 576px) {
    .navbar-brand img {
        width: 80px; 
    }

    .navbar-brand.fs-4 {
        font-size: 1.2rem; 
    }

    .nav-link {
        font-size: 1rem; 
    }

    .offcanvas-title {
        font-size: 1.5rem; 
    }

    .offcanvas-body ul {
        padding-left: 0; 
    }

    .offcanvas-body .nav-item {
        margin-bottom: 10px; 
    }
}

/* O nás */

.wrapper2, .wrapper {
    margin: 150px auto;
    width: 70%;
    padding-top: 15%;
}

.wrapper-back, .wrapper2-back {
    margin: 0 5vh;
}

.img1, .img2 {
    max-width: 320px;
    border: 3px solid rgb(216, 8, 8);
    margin-right: 15px;
}

.img1 {
    float: left;
}

.img2 {
    float: right;
}

.text-box {
    color: #f5f5f5;
}

.text-box h2 {
    font-size: 42px;
}

.text-box h3 {
    font-size: 25px;
    color: rgb(216, 8, 8);
}

.text-box p {
    font-size: 16px;
}

@media(max-width: 768px) {
    .img1, .img2 {
        float: none;
        display: block;
        margin: 0 auto 20px;
    }
    .wrapper2, .wrapper {
        padding-top: 0;
        width: 90%;
    }
}

/* Karty */

.row {
    padding: 8%;
}

.card-body {
    background-color: rgb(105, 102, 102);
    color: aliceblue;
}

.btn-primary {
    background-color: rgb(216, 8, 8);
    border-color: rgb(216, 8, 8);
}


@media (max-width: 576px) {
    .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .col-4 {
        width: 100%;
        margin-bottom: 20px;
    }

    .card {
        width: 90%;
    }
}


@media (min-width: 577px) and (max-width: 768px) {
    .col-4 {
        width: 50%;
    }

    .card {
        width: 90%;
    }
}


@media (min-width: 769px) {
    .col-4 {
        width: 33.33%;
    }

    .card {
        width: 90%;
    }
}
/* Galerie */
.kurzy-celek{
    padding-top: 15%;
}

.ukazky {
   padding: 10%;
    font-size: 3rem;
    text-align: center;
    text-align: center;
    margin-bottom: 20px;
    color: rgb(216, 8, 8);
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4em;
    text-align: center;
    z-index: 1;
    text-shadow: 12px -25px 20px #fff, black -10px 22px 18px;
}

.img-galery {
    width: 80%;
    margin: 100px auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
}

.img-galery img {
    width: 100%;
    cursor: pointer;
}

.img-galery img:hover {
    transform: scale(0.8) rotate(-15deg);
    border-radius: 20px;
    box-shadow: 0 32px 75px rgba(68, 77, 136, 0.2);
}

.full-img {
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.full-img img {
    width: auto;
    max-width: 500px;
}

.full-img span {
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Sekce "Staň MasterClass Drifterem" */

.it-talent {
    background-color: #f5f5f5;
    padding: 40px 0;
    margin: 150px 30vh 10vh;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
}

.text-content {
    flex: 1;
}

.text-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #4a4a4a;
}

.text-content p {
    font-size: 18px;
    color: #4a4a4a;
    margin-bottom: 30px;
}

.text-content button {
    background-color: rgb(216, 8, 8);
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 10vh;
    font-size: 2rem;
    cursor: pointer;
}

.text-content button:hover {
    background-color: #807d7d;
}

.image-content {
    flex: 1;
}

.image-content img {
    width: 100%;
}

.courses-content {
    margin-top: 40px;
}

.courses-content h2 {
    font-size: 24px;
    color: #4a4a4a;
    margin-bottom: 10px;
}

.courses-content ul {
    list-style: none;
    padding: 0;
}

.courses-content li {
    font-size: 18px;
    color: #4a4a4a;
    padding: 5px 0;
}

@media(max-width: 768px) {
    .it-talent {
        margin: 100px 5vh;
    }
    .container {
        flex-direction: column;
    }
    .text-content, .image-content {
        margin-bottom: 20px;
    }
}

/* Kontaktujte nás */

.contactUs .nazev5 {
    text-align: center;
    padding-top: 50px;
    padding-bottom: 10px;
    color: rgb(216, 8, 8);
    font-size: 3rem;
    text-shadow: 12px -25px 20px #fff, black -10px 22px 18px;
}

.contactUs .celek-kontakt {
    width: 50%;
    margin: 50px auto;
}

.contactUs .celek-kontakt .kontakt-box {
    background: white;
    display: flex;
    border: #000000 solid 5px;
}

.contactUs .celek-kontakt .kontakt-box .kontakt-levo {
    flex-basis: 50%;
    padding: 40px 60px;
}

.contactUs .celek-kontakt .kontakt-box .kontakt-pravo {
    flex-basis: 50%;
    padding: 40px;
    background: #ffffff;
}

.contactUs .celek-kontakt .kontakt-box .kontakt-pravo h3 {
    font-size: 130%;
}

.contactUs .celek-kontakt .kontakt-box .kontakt-levo h3 {
    font-size: 130%;
    padding: 4%;
    padding-bottom: 10%;
}

.contactUs .celek-kontakt .kontakt-box .kontakt-levo .kontakt-info {
    display: flex;
    flex-direction: column;
}

.contactUs .celek-kontakt .kontakt-box .kontakt-levo .kontakt-item {
    display: flex;
    margin-bottom: 20px;
}

.contactUs .celek-kontakt .kontakt-box .kontakt-levo .kontakt-label {
    padding-right: 20px;
    color: rgb(27, 27, 27);
    font-weight: bold;
}

.contactUs .celek-kontakt .kontakt-box .kontakt-levo .kontakt-value {
    color: rgb(27, 27, 27);
}

.contactUs .creator p {
    color: #4a4a4a;
    text-align: center;
    font-size: 150%;
}

@media(max-width: 768px) {
    .contactUs .celek-kontakt {
        width: 90%;
    }
    .contactUs .celek-kontakt .kontakt-box {
        flex-direction: column;
    }
    .contactUs .celek-kontakt .kontakt-box .kontakt-pravo {
        padding: 20px;
    }
    .contactUs .celek-kontakt .kontakt-box .kontakt-levo {
        padding: 20px;
    }
}

@media(max-width: 576px) {
    .contactUs .nazev5 {
        font-size: 2rem; 
    }
    .contactUs .celek-kontakt {
        width: 100%;
        margin: 20px auto; 
    }
    .contactUs .celek-kontakt .kontakt-box {
        border: none; 
    }
    .contactUs .celek-kontakt .kontakt-box .kontakt-levo, 
    .contactUs .celek-kontakt .kontakt-box .kontakt-pravo {
        padding: 10px; 
    }
    .contactUs .celek-kontakt .kontakt-box .kontakt-pravo iframe {
        width: 100%; 
        height: 150px; 
    }
}
/* Kontaktujte nás */

/* Reference */
.references {
    padding: 5%;
    
}

.nazev4 {
    text-align: center;
    margin-bottom: 20px;
    color: rgb(216, 8, 8);
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4em;
    text-align: center;
    z-index: 1;
    text-shadow: 12px -25px 20px #fff, black -10px 22px 18px;
}

.inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.col {
    flex: 1 1 30%;
    margin: 10px;
    box-sizing: border-box;
}

.feedback {
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #858181;
}

.feedback img {
    max-width: 200px;
    border-radius: 10%;
    margin-bottom: 10px;
}

.name {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

p {
    font-size: 1em;
    color: #fff;
}
/* Reference */

/* Hodiny */

.clock-container {
    text-align: center;
    background-color: transparent;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: rgb(216, 8, 8);
    text-shadow: 12px -25px 20px #fff, black -10px 22px 18px;
}

#time {
    font-size: 3em;
    margin-bottom: 10px;
}

#date {
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* Hodiny */

/* Copyright */
.copyright{
    color: #f5f5f5;
    padding-left: 40%;
    background-color: transparent;
    text-shadow: 12px -25px 20px #fff, black -10px 22px 18px;
}

@media (max-width: 576px) {
    .copyright {
        padding-left: 5%;
        font-size: 12px; 
    }
}
/* Copyright */