/* Futuristic CSS Variables */
:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff6b35;
    --accent-color: #00ff88;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #cc5500 100%);
    --gradient-accent: linear-gradient(135deg, #00ff88 0%, #00cc66 100%);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
}

* {
    border: 0pt none;
    margin: 0pt;
    padding: 0pt;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', 'Roboto', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.stranica {
    display: grid;
    position: relative;
    font-family: 'Exo 2', 'Roboto', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    min-height: 100vh;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

h1 {
    font-family: 'Orbitron', 'Crete Round', serif;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: var(--shadow-glow);
}

h2 {
    font-family: 'Orbitron', monospace;
    font-weight: 800;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--primary-color);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h3 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.5rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h4 {
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1rem;
}

h5 {
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
}

a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

strong {
    font-weight: 700;
    color: var(--accent-color);
}

small {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.clear {
    clear: both;
}

.content-wrapper {
    width: 100%;
}

.content-wrapper img {
    height: 10%;
    width: 7%;
    margin-left: 1%;
    padding-top: 0.5%;
}

header {
    height: 100%;
    background-color: #74d9e2;
    box-shadow: 6px 8px 10px gray;
}

header h1 {
    float: left;
}

header h1 .color {
    color: #da0909;
}

header nav {
    float: right;
    width: 50%;
}

header nav ul li {
    display: inline-block;
    margin-top: 7%;
}

header nav ul li a {
    color: #404040;
    text-transform: uppercase;
    font-weight: 900;
    display: block;
    margin-right: 10px;
}

.hero-image {
    margin-top: 10px;
    width: 100%;
    height: 580px;
    background: #9a9a9a url('../images/skola2.jpeg') no-repeat center;
    animation: change 20s infinite ease-in-out;
}

.hero-image .content-wrapper {
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: 75%;
    height: 50%;
    margin: 5% 0 0 14%;
    border-top: 1.5px solid orange;
    border-right: 1.5px solid orange;
    display: flex;
    flex-direction: column;
    gap: 1px;
    justify-content: center;
    align-items: center;
    justify-items: center;
}

.hero-image .content-wrapper .naslov {
    display: flex;
    flex-direction: row;
    padding-top: 10%;
}

.hero-image .content-wrapper .naslov h1 {
    color: orange;
    font-weight: 900;
    font-size: 50px;
    text-align: center;
    text-shadow: 1px 1px black;
    text-transform: uppercase;
    justify-self: left;
    white-space: nowrap;
}

.hero-image .content-wrapper .naslov h4 {
    padding: 2% 4% 2% 4%;
    font-weight: 600;
    text-align: center;
    font-size: 30px;
    color: #ffffff;
    align-self: center;
    width: 100%;
}

.hero-image .content-wrapper h5 {
    padding: 0 0 11% 5%;
    font-weight: 400;
    text-align: center;
    align-self: baseline;
    justify-self: center;
    font-size: 20px;
    color: #ffffff;
    width: 100%;
}

@keyframes change {
    0%
    {
        background: url('../images/skola.jpg');
    }   
    20%
    {
        background: url('../images/skola1_1864x582.jpeg');
    }   
    40%
    {
        background: url('../images/skola2_1864x582.jpeg');
    }   
    60%
    {
        background: url('../images/skola3_1864x582.jpeg');
    }   
    80%
    {
        background: url('../images/skola4_1864x582.jpeg');
    }   
    100%
    {
        background: url('../images/skola2_1864x582.jpeg');
    }   
}

/* O SKOLI */

/* O SKOLI */

.oskoli{
    background-color: rgb(192, 192, 192);
    text-align: center;
    padding-bottom: 1%;
    padding-top: 1%;
}

.oskoli h3{
    padding-bottom: 2%;
}

.oskoli p{
    padding-bottom: 2%;
}

.oskoli ul{
    display: inline-block;
    list-style: none;
}


.oskoli ul li a{
    text-decoration: none;
    color: black;
    padding: 5%;
}

.oskoli ul li a:hover{
    color: #8d8d8d;
}

/* NEWS */
.primary-content{
    margin-top: 10px;
    height: 370px;
    width: 100%;
    position: relative;
    background-color: rgb(192, 192, 192);
}

.primary-content .box {
    width: 66%;
    height: 350px;
    background-color: orange;
    margin: 15px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 10px;

    float: left;
    text-align: center;
    justify-content: left;
    border: 2px solid black;
    box-shadow: 6px 1px 10px #8d8d8d;
}
.primary-content .box article {
    width: 100%;
    position: relative;
    top: 50%;
    left: 50%;
    display: grid;
    /* transform: translate(-50%,-50%); */
    border: 2px solid black;
    border-radius: 8px;
    box-shadow: 10px 25px 28px black;  
    overflow: hidden; 
}
.primary-content .box article .newsslika{
    width: 100%;
    /* height: 350px; */
    position: relative;
    display: flex;
    animation: slide 16s infinite;
}
img {
    width: 100%;
}

.primary-content .box article .newsslika p{
    width: 100%;
    height: 350px;
    position: absolute;
    animation: slide 16s infinite;
}

/* This is the style for image sliding */
.slider {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
  }

  .slider-item {
    flex: 0 0 100%;
    box-sizing: border-box;
    position: relative;
    animation: slide 16s infinite;
    
  }

  .slider-item img {
    width: 100%;
    height: 350px;
    display: block;
  }

  .text {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 50%;
    padding-top: 55px;
    box-sizing: border-box;
    background: rgb(27, 27, 27, .5);
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
  }

@keyframes slide {
    0%
    {
        transform: translate(0);
    }
    25%
    {
        transform: translate(0);
    }
    30%
    {
        transform: translate(-100%);
    }
    50%
    {
        transform: translate(-100%);
    }
    55%
    {
        transform: translate(-200%);
    }
    75%
    {
        transform: translate(-200%);
    }
    80%
    {
        transform: translate(-300%);
    }
    100%
    {
        transform: translate(-300%);
    }
}

.primary-content .box2 {
    position: relative;
    width: 30%;
    height: 350px;
    background-color: orange;
    margin: 15px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 10px;
    text-align: center;
    justify-content: center;
    align-items: center;
    border: 2px solid black;
    box-shadow: 6px 1px 10px #8d8d8d;
}

.primary-content .box2 ul {
    padding-top: 1%;
    list-style: none;
    background: #333;
    text-align: center;
    }
.primary-content .box2 ul li {
    display: grid;
    position: relative;
    }
.primary-content .box2 ul li a {
    display: grid;
    padding: 20px 25px;
    color: #FFF;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    }
.primary-content .box2 ul li ul.dropdown li {
    display: block;
    background: #333;
    margin: 2px 0px;
    }
.primary-content .box2 ul li ul.dropdown {
    width:auto;
    background: #00FF8C;
    position: absolute;
    z-index: 999;
    display: none;
    }
.primary-content .box2 ul li a:hover {
    background: #222;
}
/* Style for the first-level dropdown */
.prvidrop {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.prvisub {
    position: relative;
    display: inline-block;
}

.prvisub a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid orange;
}

/* Style for the second-level dropdown */
.drugidrop {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.drugidrop li {
    display: block;
}

/* Show the second-level dropdown on hover */
.prvisub:hover .drugidrop {
    display: block;
}
/* Style for the third-level dropdown */
.trecidrop {
    display: none;
    position: absolute;
    top: 0;
    left: 50%;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.trecidrop li {
    display: block;
}

/* Show the third-level dropdown on hover */
.drugidrop li.prvisub:hover .trecidrop {
    display: block;
}

/* BOXOVI */
.secondary-content {
    width: 100%;
    height: 200px;
    background-color: orange;
    display: flex;
    justify-content: space-around;
    /* margin-right: 10px; */
    align-items: center;
}

.secondary-content  img {
    height: 90px;
    width: 150px;
}
.secondary-content .boks1 {
    float: left;
    height: 100px;
    width: 150px;
    justify-content: center;
    align-items: center;
    display: flex;
    border: 2px solid black
}

.secondary-content .boks2 {
    float: left;
    height: 100px;
    width: 150px;
    justify-content: center;
    align-items: center;
    display: flex;
    border: 2px solid black
}

.secondary-content .boks3 {
    float: left;
    height: 100px;
    width: 150px;
    justify-content: center;
    align-items: center;
    display: flex;
    border: 2px solid black
}
.secondary-content .boks4 {
    float: left;
    height: 100px;
    width: 150px;
    justify-content: center;
    align-items: center;
    display: flex;
    border: 2px solid black
}

.secondary-content .boks5 {
    float: left;
    height: 100px;
    width: 150px;
    justify-content: center;
    align-items: center;
    display: flex;
    border: 2px solid black
}

.secondary-content .tekstispodboksa {
    display: inline-block;
    position: relative;
    text-align: left;
}

/* VIDEO YT */
.videoyt {
    width: 100%;
    height: 450px;
    display: grid;
    background-color: rgb(192, 192, 192);
    box-shadow: 6px 8px 10px #8d8d8d;
}

.videoyt iframe {
    padding-top: 50px;
    width: 500px;
    height: 300px;
    justify-content: center;
    display: block;
    align-items: center;
    margin: auto;
}

.videoyt h5{
    padding-top: 1%;
    text-align: center;
    display: flex;
    justify-content: center;
    font-size: 30px;
    font-weight: 800;
    color: white;
    box-shadow: 6px 8px 10px #8d8d8d;
}



/* LOKACIJA */
.location {
    margin-top: 10px;
    width: 100%;
    height: 300px;
    display: flex;
    background-color: orange;
}

.location iframe {
    height: 200px;
    width: 450px;
    padding-top: 3%;
    display: block;
    align-items: center;
    margin: auto;
    justify-content: right;
}
/* FOOTER */
footer {
    margin-top: 2%;
    height: 40px;
    float: left;
    text-align: left;
    justify-content: space-between;
    align-items: center;
    margin-left: 1%;
    display: flex;
}

footer .h6 {
    font-size: 10px;
    font-weight: 500;
    float: left;
    text-align: left;
    text-decoration: none;
    display: flex;
}

footer .mreze{

    width: 100px;
    gap: 8px;
    display: flex;
    align-items: center;
    /* justify-content: space-around; */
}

footer h6 .mail {
 float: right;
 margin-right: 5%;
}