* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: Candara;

}
/*===================== Header styling ====================================*/
/* #region */
.header-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header-left-pic img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    padding: 3px;
}
.header {
	display: flex;
	justify-content: space-evenly;
	flex-wrap: nowrap;
	align-items: center;
    align-content: space-between;
    background-color: white;  /* White background for the ribbon */
    position: fixed;  /* Fix the header to the top of the page */
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);  /* Subtle shadow */
    z-index: 1000;  /* Ensure the header stays on top */
}
.linkz {

}
@media (max-width: 768px) {
    .header-left-pic img {
        border-radius: 10px;
        object-fit: contain;
        max-width: 60%;
        height: auto;
    }
    .header-left-pic {
        display: flex;
        align-items: center; 
        justify-content: center;
        max-width: 90%;
    }
    .nadpis_tsvetelina {
        font-size: 15px;
        margin-left: 2px;
        margin-right: 2px;
    }
    .nadpis_realitni {
    	  font-size: 10px;
          margin-left: 2px;
          margin-right: 2px;
    }
    .linkz {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .linkz img {
        max-width: 70%;
    }
}
/* #endregion */
/*===================== Navbar styling ====================================*/
/* #region */
.navbar ul {
    list-style-type: none;  /* Remove list bullets */
    display: flex;
	flex-wrap: wrap;
    justify-content: center;  /* Center the buttons */
    gap: 20px;  /* Space between buttons */
}
.navbar li {
    display: inline-block;
}
.navbar a {
    text-decoration: none;  /* Remove underline from links */
    color: black;  /* Dark color for text */
    font-size: 14px;
    font-weight: 600;
    padding: 12px;  /* Padding around the buttons */
    border-radius: 5px;  /* Rounded edges for the buttons */
    background-color: white;  /* Light gray button background */
    transition: background-color 0.3s ease, color 0.3s ease;  /* Smooth hover transition */
}
.navbar a:hover {
    background-color: rgba(117, 149, 255, 0.2);  /* Change background color on hover */
    color: black;  /* Change text color on hover */
    border-color: black;
    border-radius: 10px;
    border-width: 1px;
}
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: black;
    font-size: 1.5rem;
    cursor: pointer;
}
@media (max-width: 768px) {
    .navbar {
        display: none;
        flex-direction: column;
        background-color: #ffffff00;
        position: absolute;
        top: 60px;
        right: 20px;
        width: 150px;
        padding: 10px;
    }
    .navbar a {
        margin: 10px 0;
        background-color: rgba(255, 255, 255, 0.9);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }
    .navbar-toggle {
        display: block;
		position: relative;
		z-index: 1000;
        padding: 5px;
    }
    .navbar.show {
        display: flex;
    } 
}
/* #endregion */
/*===================== MAIN styling ======================================*/
/* #region */
main {
    background-image: url("bgi.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: scroll;
    background-size: cover;

    padding-top: 150px;
    display: flex;
    flex-direction: row;
    justify-content: center;

    min-height: 100vh; /* Nastaví výšku minimálne na 100% viewportu */
    width: 100%;
}
@media (max-width: 768px) {
    main {
        background-image: url("bgi.jpg");
        background-repeat: no-repeat;
        background-position: center;
        background-attachment: scroll;
        background-size: cover;
    
        padding-top: 70px;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;

        min-height: 100vh; /* Nastaví výšku minimálne na 100% viewportu */
        width: 100%;
    }

}
/* #endregion */
/*===================== VALUO styling =====================================*/
/* #region */
.valuo {
    background-color: #FFFFFF;
    padding: 7px;
    visibility: visible;
    border-radius: 10px;
    box-shadow: 4px 4px 10px #001373;
    width: 80%;
}
@media (max-width: 768px) {
    .valuo {
        background-color: #FFFFFF;
        padding: 7px;
        visibility: visible;
        border-radius: 10px;
        box-shadow: 4px 4px 10px #001373;
        width: 95%;
    }

}
/* #endregion */
/*===================== OBRAZKY NEDAVNE PRODEJE ===========================*/
/* #region */
.image-container {
    position: relative;
    display: inline-block;
}
.thumbnail {
    width: 150px;  /* Set the size of the thumbnail */
    cursor: pointer;
    border-radius: 10px;
}
.full-image {
    position: fixed;
    top: 50%;               /* Start at 50% down the screen */
    left: 50%;              /* Start at 50% across the screen */
    transform: translate(-50%, -50%); /* Shift image back by half its width and height */
    max-width: none;        /* Allow image to use its original size */
    max-height: none;       /* Prevent limiting the image height */
    display: none;          /* Initially hidden */
    z-index: 10;            /* Ensure it's on top of other content */
    background: rgba(7, 34, 124, 0.301); /* Optional: dark background */
    border-radius: 10px;    /* Optional: rounded corners */
}
/* #endregion */
/*===================== O mně Styling =====================================*/
/* #region */
.omne {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    width: 80%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    padding: 10px;
    justify-content: center;

}
/* #endregion */
/*===================== Certikaty styling =================================*/
/* #region */
.certif {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    -ms-flex-align: center;

}
@media (max-width: 768px) {
    .certif {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .certif img {
        max-width: 90%;
    }
}
/* #endregion */
/*===================== Nabídka styling ===================================*/
/* #region */
.nabidka_prodej {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}
.nabidka_najem {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;

}
.ukaz_obrazky {
    cursor: pointer;
    transition: background-color 0.3s, border 0.3s;
}
.ukaz_obrazky:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border: 2px solid #333;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}
.modal-content {
    max-width: 80%;
    max-height: 80%;
}
.close, .nav {
    position: absolute;
    color: white;
    font-size: 30px;
    cursor: pointer;
}
.nav {
    top: 50%;
    transform: translateY(-50%);
}
.close {
    top: 200px;
    right: 30px;
}
.prev {
    left: 10px;
}
.next {
    right: 10px;
}
/* #endregion */
/*===================== Nedávno realizované prodeje styling ===============*/
/* #region */
.realizo_prodeje {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nemovitost {
    background-color: #FFFFFF;
    padding: 7px;
    visibility: visible;
    border-radius: 10px;
    box-shadow: 4px 4px 10px #001373;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nemovitost img {
    border-radius: 10px;
}
.nemovitosti {
    padding: 7px;
    visibility: visible;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    align-content: flex-start;
    width: 60%;
    row-gap: 10px;
}
/* #endregion */
/*===================== Kontakty styling ==================================*/
/* #region */
.kontakty {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    width: 80%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    padding: 10px;
    justify-content: center;
}
@media (max-width: 768px) {
    .kontakty {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
/* #endregion */
/*===================== Písma styling =====================================*/
/* #region */
h1 {
    font-family:Candara;
color: black; /* Text color */
text-shadow: 
  -1px -1px 0 white,  /* Top-left */
  1px -1px 0 white,   /* Top-right */
  -1px 1px 0 white,   /* Bottom-left */
  1px 1px 0 white;    /* Bottom-right */	line-height: 1.2;
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 5px;
margin-left:   20px;
margin-right:  20px;
margin-top:    2px;
}
h2 {
    font-family:Candara;
    max-width: 520px;
    text-transform: uppercase;
color: black; /* Text color */
text-shadow:
  -1px -1px 0 white,  /* Top-left */
  1px -1px 0 white,   /* Top-right */
  -1px 1px 0 white,   /* Bottom-left */
  1px 1px 0 white;    /* Bottom-right */
  font-size: 14px;
margin-left: 20px;
}
p {
font-family: Candara;
color: black; /* Text color */
font-size: 14px;
}
.nadpis_1 {
color: rgb(0, 42, 119);
font-size: 18px;
margin-left: 20px;
margin-right: 20px;
padding-left: 20px;
padding-right: 20px;
text-decoration: underline;
text-decoration-color: rgb(0, 42, 119); /* Change the color of the underline */
text-decoration-thickness: 2px; /* Change the thickness of the underline */
}
a {
    font-size: 10px; /* Sets font size for paragraphs */
    line-height: 1.5; /* Sets space between lines */
	font-family:Candara;
	color: black; /* Text color */
    text-shadow: 
      -1px -1px 0 white,  /* Top-left */
      1px -1px 0 white,   /* Top-right */
      -1px 1px 0 white,   /* Bottom-left */
      1px 1px 0 white;    /* Bottom-right */
    text-decoration: none;
}
/* #endregion */
