@import url('https://fonts.googleapis.com/css?family=Francois+One|Oswald|Alata|Muli|Roboto|Cairo&subset=latin,latin-ext&display=swap');

body {
       background: #fff;
       padding: 0px;
}

img {
       border: 0;
}

#main {
    width: 100%;
    margin: 0 auto;
    position: relative;
    text-align: center;
    border-left: 0;
    border-right: 0;
}

/* LOGO */
#mainlogo {
    max-width: 1000px;
    width: 100%;
    text-align: center;
    margin: 20px auto; /* space above and below logo */
    position: relative;
}

.topimg {
    max-width: 100%;
    height: auto;
    border: 0;
}

/* === TOP NAVIGATION === */
#topnav {
    background: #050547;
    border-bottom: 4px solid #7b0f1a;
    font-family: Oswald, "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    position: relative; /* now flows under logo */
    width: 100%;
    z-index: 1000;
}

/* Nav inner container */
.nav-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Menu items */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
    margin-left: 10%;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 12px 15px;
    font-size: 15px;
}

.nav-menu > li > a:hover {
    background: #191970;
    border-radius: 3px;
}

/* Submenu */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #050547 url('bglinks.jpg') no-repeat;  /* background image */
    background-size: cover;
    min-width: 220px;
    list-style: none;
    padding: 5px 0;
}

.submenu a {
    padding: 10px 15px;
}

.submenu a:hover {
    background: #191970;
}

.divider {
    height: 1px;
    margin: 5px 10px;
    background: rgba(255,255,255,0.3);
}

/* SHOW SUBMENU ON HOVER */
@media (min-width: 769px) {
    .has-sub:hover .submenu {
        display: block;
    }
}

/* MOBILE MENU BUTTON */
#nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    #nav-toggle { display: block; }
    .nav-menu { 
        display: none; 
        flex-direction: column; 
        width: 100%; 
        border-top: 2px solid #050547;
    }
    .nav-menu.open { display: flex; }
    .submenu { position: static; }
    .has-sub.open .submenu { display: block; }
}


#maincontent {
    position: relative;
    width: 100%;
    background-color: #ffffff;
	 text-align: left;
	 vertical-align: top;
}

/* Shortcuts container with frame, rounded corners, shadow */
#shortcuts {
    display: flex;
    flex-direction: column;
    gap: 12px;                       /* space between links */
    border: 3px solid #FF8C00;       /* dark orange frame */
    border-radius: 12px;              /* rounded corners */
    box-shadow: 0 5px 12px rgba(0,0,0,0.15); /* gentle shadow */
    padding: 15px 20px;               /* inner spacing */
    background-color: #ffffff;        /* white background inside frame */
    max-width: 400px;                 /* same as textlist2 width */
    margin: 30px auto 50px auto;         /* center horizontally and add bottom spacing */
    font-family: 'Oswald', "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    text-align: center;               /* center the links */
}

#shortcuts a {
    position: relative;      /* needed for ::before positioning */
    padding-left: 25px;      /* space for the arrow */
    color: #191970;
    text-decoration: none;
}

#shortcuts a::before {
    content: ">>>";          /* arrow content */
    position: absolute;
    left: 0;
    opacity: 0;              /* hidden by default */
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-10px); /* slide from left */
}

#shortcuts a:hover::before {
    opacity: 1;              /* show arrow */
    transform: translateX(0); /* slide to position */
}

#counter {
    text-align: center;
    width: 225px;
    height: 180px;
    margin: -30px auto 10px auto;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: .8rem;
    background: url("bgcounter.jpg") #fff no-repeat center;
    padding: 10px;
}

#counter p {
	padding-top: 50px;
	padding-left: 10px;
	color: #000000;
	font-size: 0.8rem;
	font-family: Tahoma, Arial, Sans-serif;
}

#buyphoto a,
#sponsor2 a {
    display: block;
    background-color: #7b0f1a;
    color: #dcdcdc;
    text-decoration: none;
    font-weight: 500;
    max-width: 600px;
    font-size: 16px;
    padding: 15px 20px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
}

#buyphoto a:hover,
#sponsor2 a:hover {
    background-color: #a71c2d;
    color: #fff;
    text-decoration: underline;
    transform: translateY(-2px);
}

.photo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* align left */
    gap: 20px;
    width: 100%;
}
@media (max-width: 768px) {
.photo-grid {
    gap: 10px;
}
}

.photo-box {
    width: 180px;
    height: 180px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
    flex: 1 1 calc(50% - 10px); /* 2 per row on small screens */
    max-width: 180px;
}

.photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.8; /* slightly transparent */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.photo-box:hover img {
    opacity: 1;            /* fully visible on hover */
    transform: scale(1.10); /* gentle zoom */
}

#rndphoto {
	position: relative;
    margin: 10px auto 30px auto;   /* small space from previous section */
    padding: 0;         /* remove extra padding if any */
    max-width: 800px;
    text-align: center;
}

#rndphoto h2 {
	font-size: 1.2rem;
	color: #050530;
	font-family: 'Oswald', 'Arial', sans-serif;
	text-align: center;
	margin: 10px 0 10px 0; /* small top and bottom margin */
}

#firsttext {
    background-color: #F5F5F5;  /* very light grey */
    border: 1px solid #000000;  /* black border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* subtle shadow */
    border-radius: 12px; /* rounded corners */
    max-width: 800px; /* maximum width on desktop */
    width: 90%; /* for smaller screens/mobile */
    margin: 1em auto; /* center horizontally with top/bottom spacing */
    padding: 1.2em 1em; /* inner spacing for content */
    box-sizing: border-box; /* ensure padding included in width */
}


/* General Heading Styles */
h1, h2, h3 {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    margin: 0;
    padding: 20px;
}

/* H1 - Black */
h1 {
    color: #000000;
    font-size: clamp(1.6rem, 2.7vw, 2.7rem); /* max 3rem instead of 4rem */
 }

/* H2 - Very Dark Blue */
h2 {
    font-family: 'Merriweather', 'Georgia', serif; /* elegant alternative serif */
    color: #262629; /* very dark grey */
    font-style: italic; /* optional for extra style */
    font-weight: 600; /* semi-bold for emphasis */
    font-size: clamp(1.4rem, 2.4vw, 2.4rem);
    margin: 0;
}

/* H3 - Navy Blue */
h3 {
    color: #000080;
    font-size: clamp(1.2rem, 2vw, 2rem); /* max 2rem */
}

p {
    font-family: 'Georgia', 'Times New Roman', Times, serif; /* elegant serif font */
    color: #000000; /* black text */
    font-size: clamp(1.2rem, 1.3vw, 1.3rem); /* scales between 1rem and 1.2rem */
    line-height: 1.3; /* improves readability */
    margin: 0; /* spacing between paragraphs */
    padding: 20px;
}

#commerce {
	width: 100%;
	text-align: center;
	background-color: #ededfa;
	margin: 10px auto 20px auto;
}

#commerce img {
	max-width: 468px;
	width: 90%;
	height: auto;
}

#reklamabox {
	position: relative;
	max-width: 600px;
	padding: 5px;
	margin: 40px auto 10px auto;
	text-align: center;
	border: 0;
}

@media (max-width: 768px) {
	#reklamabox {
	width: 100%;	
	}
}

.reklama {
	font-family: Tahoma, Verdana, Arial, Sans-serif;
	font-size: 12px;
	text-align: center;
	color: #000;
	text-decoration: none;
	font-weight: bold;
}

.reklama:hover {
	text-decoration: underline;
	color: #750000;
}

#livelink {
	clear: both;
	position: relative;
	max-width: 600px;
	padding: 5px;
	margin: 20px auto 10px auto;
	text-align: center;
	background-color: #fff;
	border: 0;
}

#livelink a {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8rem;
	line-height: 2rem;
	margin: 20px auto 0 auto;
	padding: 5px;
	color: #000171;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	text-align: center;
}

#livelink a:hover {
	text-decoration: underline;
}

.facebook-share-btn {
    display: inline-block;
    max-width: 180px;             /* fixed width */
    text-align: center;
    padding: 0.6em 0;         /* vertical padding */
    background-color: #1877F2; /* Facebook blue */
    color: #ffffff;           /* white text */
    text-decoration: none;
    border-radius: 25px;      /* rounded corners */
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    transition: background-color 0.3s;
}

.facebook-share-btn:hover {
    background-color: #145dbf; /* darker blue on hover */
}

@media (max-width: 768px) {
    .facebook-share-btn {
        width: 90%; /* responsive for small screens */
    }
}

#bottom {
       clear: both;
       position: relative;
       width: 100%;
       padding: 0 0 40px 0;
       margin: 0;
       background-color: #210b61;
       border-top: 2px dotted #ff0000;
       height: 30px;
       line-height: 15px;
}

#bottom p {
       font-family: Muli, Tahoma, Verdana, Arial, Sans-serif;
       font-size: 0.8em;
       color: #ffffff;
       text-align: center;
       padding: 0;
       padding-top: 2px;
       margin: 10px auto 0 auto;
}

.bottomlink {
       font-family: Tahoma, Verdana, Arial, Sans-serif;
       font-size: 0.8rem;
       line-height: 1.2rem;
       color: #ffffff;
       text-align: center;
       padding: 0;
       padding-top: 2px;
       margin: 0;
       text-transform: lowercase;
       font-weight: normal;
       text-decoration: none;
}

.bottomlink:hover {
       border-bottom: 1px dashed #ffffff;
}
