body {
    background-image: url(pozadi.png);
    background-size: cover;
    background-repeat: no-repeat;
    scroll-behavior: smooth;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
}

.navbar {
    display: flex;
    border: 1px solid #ccc;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(51, 51, 51, 0.8);
    padding: 10px 20px;
    position: fixed; 
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000; 
}

.navbar-logo img {
    height: 110px; 
    padding-left: 90px; 
}

.navbar-menu {
    list-style: none;
    display: flex;
    margin: 0 auto; 
    padding: 0;
}

.navbar-menu li {
    margin: 0 18px; 
}

.navbar-menu a {
    text-decoration: none;
    color: white;
    padding: 25px 20px; 
    font-size: 28px;
    transition: background-color 0.3s, transform 0.3s; 
}

.navbar-menu a:hover {
    background-color: #575757;
    border-radius: 5px;
    transform: scale(1.1); 
}

.rapcademy1 {
    font-family: "Archivo Black", sans-serif;
    font-weight: 400px;
    font-size: 100px;
    margin-top: 500px;
    font-style: normal; 
    font-size: 100px;
    font-weight: bold;
    text-align: center;
    -webkit-text-stroke: 3px rgb(58, 56, 56); 
}

.about-us {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    justify-content: center;
    padding: 50px;
    margin-top: 500px; 
    width: 80%; 
    margin-left: auto;
    margin-right: auto; 
    border-radius: 10px; 
}

.about-image {
    flex: 1;
    margin-right: 20px;
    border: 5px solid #333; 
    transition: transform 0.3s; 
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-text {
    flex: 1;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #787575;
}

p {
    font-size: 18px;
    line-height: 1.6;
    color: white;
}

.container {
    display: flex;
    border: 1px solid #ccc;
    align-items: center;
    justify-content: center;
    padding: 50px;
    margin-top: 100px;
    background-color: rgba(0, 0, 0, 0.9);
    width: 60%; 
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}

.image {
    width: 50%;
    height: 50%;
    border: 5px solid #333; 
    transition: transform 0.3s ease-in-out;
}

.image:hover {
    transform: scale(1.02);
}

.ahoj {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    padding-left: 10%;
    width: 80%;
    animation: move 5s infinite alternate;
}

@keyframes move {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.box {
    background-color: rgb(0, 0, 0);
    border: 1px solid #ccc;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1;
    margin: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-title {
    margin: 0 0 15px;
    font-size: 30px;
    color: #787575;
}

.title {
    margin: 15px 0 10px;
    font-size: 30px;
    color: #787575;
}

.box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.fotka {
    max-width: 100%;
    height: auto;
}

.text4 {
    margin: 15px 0;
}

.order-button {
    padding: 10px 20px;
    font-size: 16px;
    color: #d3d3d3;
    background-color: #007BFF;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.order-button:hover {
    background-color: #0056b3;
}

h1 {
    margin: 20px 0;
    text-align: center;
    color: #787575;
    font-family: "Montserrat", sans-serif;

}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

.photo {
    flex: 1 1 calc(20% - 20px); 
    box-sizing: border-box;
    margin: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 5px solid #333; 
}

.photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.photo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.lol {
    background-color: #000000;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    margin-top: 100px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 95%;
    box-sizing: border-box;
    text-align: center;
    margin-left: 2.5%;
}

.reference:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.references-container {
    display: flex;
    margin-top: 100px;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.reference {
    background-color: #000000;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.fotecka {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
    border: 3px solid #ccc;
    padding: 5px; 
}

h3 {
    margin: 10px 0;
    color: #d3d3d3;
}

.stars {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 10px;
}

.komentar {
    height: 100px;
    overflow-y: scroll;
    text-align: center;
    padding-right: 10px;
}

.komentar::-webkit-scrollbar {
    width: 8px;
}

.komentar::-webkit-scrollbar-thumb {
    background-color: #494747;
    border-radius: 4px;
}

.komentar::-webkit-scrollbar-track {
    background-color: #ccc;
}

.komentar::-webkit-scrollbar-thumb:hover {
    background-color: #999;
}

.komentar p {
    margin: 0;
}



.map-container {
    margin-top: 100px;
    width: 1000px;
    padding: 50px;
    height: 550px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 3px solid #ccc; 
    background-color: rgb(0, 0, 0); 
    border-radius: 2%;
    margin-left: auto;
    margin-right: auto; 
}

.map-header {
    height: 0px;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    background-color: #000000;
}


header {
    background-color: #333;
    padding: 20px;
    text-align: center;
    margin-top: 100px;
}

h1 {
    margin: 0;
    color: #fff;
    font-family: 'Roboto Slab', serif;

}

main {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.contacts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 800px;
    width: 100%;
}

.contact {
    background-color: #2c2c2c;
    border: 1px solid #444;
    padding: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact:hover {
    background-color: #3c3c3c;
    transform: translateY(-5px);
}

h2 {
    margin-top: 0;
    color: #fff;    
    font-family: 'Roboto Slab', serif;
}

a {
    color: #66ccff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0099cc;
}

p {
    margin: 5px 0;
}

.content {
    flex: 1;
}

.footer-container {
    margin-top: 100px;
    display: flex;
    justify-content: space-around;
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center; 
}

.footer-section {
    flex: 1;
    padding: 0 20px;
}

.footer-section h4 {
    margin-bottom: 15px;
}

.footer-section p, .footer-section ul, .footer-section li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-section ul {
    padding-left: 0;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    background-color: #222;
    color: #bbb;
    text-align: center;
    padding: 10px 0;
}

footer {
    width: 100%;
}

.navbar .clock {
    float: right;
    color: #f2f2f2;
    padding: 14px 16px;
}
.game-board {
    display: grid;
    grid-template-columns: repeat(4, 100px);
    grid-gap: 10px;
    justify-content: center;
    margin-top: 30px;
}
.pexesoo{
    margin-top: 100px;
}

.card {
    width: 100px;
    height: 100px;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.card.flipped img {
    display: block;
}

.card.flipped {
    background-color: #f4f4f4;
    color: black;
    cursor: default;
}