@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

* {
    font-family: "M PLUS Code Latin", monospace;
    margin: 0px;
    padding: 0px;
}

body {
    background-color: #000;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}




#strA {
    background-color: #000;
}

#strB {
    background-color: #000;
    margin-top: 100px;
    position: relative;
    z-index: 1; 
    padding: 50px;
}



section {
    width: 100%;
    height: 100vh;
    float: left;
}



.razredi {
    text-align: center;
    padding: 70px;
    background-color: #000;

}

.razredi h2 {
    font-family: "Quantico", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 40px;
    padding-top: 90pt;
    text-align: center;
}
.razredi a{
    color: #0b0b0b;
    font-family: "Quantico", serif;
    font-weight: 700;
    font-style: normal;
}

.poravnanje {
    padding-top: 90pt;
    padding-right: 70pt;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.card1 {
    border: 2px solid #3a3a2e;
    border-radius: 10px;
    width: 300px;
    height: 300px;
    padding: 15px;
    background-color: rgb(81, 131, 239); /* za preglednike koji ne podržavaju gradient */
    background-image: linear-gradient(rgb(51, 0, 255), rgb(0, 217, 255));
    color: #3a3a2e;
    text-align: left;
    font-size: 14px;

}

.card1:hover {
    width: 310px;
    height: 310px;
    box-shadow: 15px 15px 10px #1db1d2;
    transition: width 1.5s, height 1.5s;
}

.card2 {
    border: 2px solid #3a3a2e;
    border-radius: 10px;
    width: 300px;
    height: 300px;
    padding: 15px;
    background-color: rgb(109, 224, 125); /* za preglednike koji ne podržavaju gradient */
    background-image: linear-gradient(rgb(255, 170, 0), yellow);
    color: #3a3a2e;
    text-align: left;
    font-size: 14px;

}

.card2:hover {
    width: 310px;
    height: 310px;
    box-shadow: 15px 15px 10px #e1a713;
    transition: width 1.5s, height 1.5s;
}


.card3 {
    border: 2px solid #3a3a2e;
    border-radius: 10px;
    width: 300px;
    height: 300px;
    padding: 15px;
    background-color: rgb(251, 86, 86); /* za preglednike koji ne podržavaju gradient */
    background-image: linear-gradient(rgb(255, 0, 72), rgb(255, 0, 191));
    color: #3a3a2e;
    text-align: left;
    font-size: 14px;

}

.card3:hover {
    width: 310px;
    height: 310px;
    box-shadow: 15px 15px 10px #f622af;
    transition: width 1.5s, height 1.5s;
}



.desno {
    width: 450px;
    padding-left: 15%;
    padding-top: 10%;
    background-position: left;
}

.lijevo {
    width: 450px;
    padding-left: 15%;
    padding-top: 10%;
    float: right;
}


.video-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


  .tekst {
    text-align: center;
    position: absolute;
    transform: translate(510px,300px);
    font-family: 'Bebas Neue', sans-serif;
    color: white;
    background: rgba(0, 0, 0, 0.9); 
    padding: 50px;
    border-radius: 10px;
}

h1 {
    font-size: 40px;
    margin: 0;
}

p {
    font-size: 20px;
    font-weight: normal;
    opacity: 0.9;
    margin-top: 10px;
}





h2 {
    text-align: center;
    font-size: 25pt;
    padding-left: 3%;
    color: rgb(157, 14, 253);
}



.navigacija {
    width: 100%;
    position: fixed;
    flex-wrap: wrap;
    top: 0;
    width: 100%;
    height: 75px;
    z-index: 1000;
    text-align: right;

}

.meni {
    background-color: #000000;
    margin: 0 40px 0 0;
    clear: right;
    text-decoration: none;
    line-height: 30px;
    font-size: 15pt;
}

.meni a {
    clear: right;
    text-decoration: none;
    color: #fff;
    padding: 0 10px;
    line-height: 70px;
    font-size: 15pt;
}

.meni a:hover {
    color: #f40a73;
}

label {
    margin: 0 30px 0 0;
    font-size: 26px;
    width: 26px;
    line-height: 70px;
    float: right;
    display: none;
}

#prekidac {
    display: none;
}


.poravnanje2 {
    padding-top: 90pt;
    padding-right: 80pt;
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.cardP1 {
    border: 2px solid #0827f3;
    border-radius: 10px;
    width: 300px;
    height: 300px;
    padding: 15px;
    color: #ffffff;
    text-align: left;
    font-size: 14px;


}
.cardP1 a{
    color: #ffffff;
    font-size: 14pt;
    padding-left: 5pt;
    text-decoration: none;
}
.cardP1 h3{
    color: #ffffff;
    font-size: 24pt;
}


.cardP2 {
    border: 2px solid #0827f3;
    border-radius: 10px;
    width: 300px;
    height: 300px;
    padding: 15px;
    color: #fff;
    font-size: 14px;
    text-align: left;

}
.cardP2 a{
    color: #ffffff;
    font-size: 14pt;
    padding-left: 5pt;
    text-decoration: none;
}
.cardP2 h3{
    color: #ffffff;
    font-size: 24pt;
}

.cardP3 {
    border: 2px solid #f39d08;
    border-radius: 10px;
    width: 300px;
    height: 300px;
    padding: 15px;
    color: #ffffff;
    font-size: 14px;
    text-align: left;

}
.cardP3 a{
    color: #ffffff;
    font-size: 14pt;
    padding-left: 5pt;
    text-decoration: none;
}
.cardP3 h3{
    color: #ffffff;
    font-size: 24pt;
}


.cardP4 {
    border: 2px solid #f39d08;
    border-radius: 10px;
    width: 300px;
    height: 300px;
    padding: 15px;
    text-align: left;
    color: #fff;
    font-size: 14px;

}
.cardP4 a{
    color: #ffffff;
    font-size: 24pt;
    padding-left: 5pt;
    text-decoration: none;
}
.cardP4 h3{
    color: #ffffff;
    font-size: 24pt;
}

.cardP5 {
    border: 2px solid #f30885;
    border-radius: 10px;
    width: 300px;
    height: 300px;
    padding: 15px;
    color: #ffffff;
    text-align: left;
    font-size: 14px;

}
.cardP5 a{
    color: #ffffff;
    font-size: 14pt;
    text-align: left;
    padding-left: 5pt;
    text-decoration: none;
}
.cardP5 h3{
    color: #ffffff;
    font-size: 24pt;
}


.cardP6 {
    border: 2px solid #f30885;
    border-radius: 10px;
    width: 300px;
    height: 300px;
    padding: 15px;
    color: #fff;
    text-align: left;
    font-size: 14px;

}
.cardP6 a{
    color: #ffffff;
    text-decoration: none;
    color: #ffffff;
    font-size: 24pt;
    text-align: right;
    padding-top: 90pt;
}
ul{
    list-style-type:none ;
}
li{
    text-decoration: underline;
}
footer{
    color: #f30885;
    font-size: 14pt;
    text-align: right;
    padding-right: 15px;
}


@media only screen and (max-width: 720px) {
    label {
        color: #37cec1;
        display: block;
        cursor: pointer;
    }

    .meni {
        text-align: center;
        width: 100%;
        display: none;
    }

    .meni a {
        display: block;
        border-bottom: 1px solid #ccc;
        margin: 0;
    }

    #prekidac:checked+.meni {
        display: block;
    }

    .naslovna {
        display: flex;
        flex-wrap: wrap;

    }
    
    .desno, .lijevo {
        width: 100%;
        padding: 0;
        text-align: center;
    }

    .desno img, .lijevo img {
        max-width: 100%;
        height: auto;
    }

    
    .poravnanje, .poravnanje2 {
        padding-bottom: 80pt;
        padding-top: 1pt;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .card1, .card2, .card3,
    .cardP1, .cardP2, .cardP3,
    .cardP4, .cardP5, .cardP6 {

        width: 90%;
        max-width: 300px;
        text-align: center;
    }
    .tekst {
        
        transform: translate(35px,250px);
       
    }
  

    footer{
        width: 100%;
        text-align: center;
        padding: 10px;
        position: fixed;
        bottom: 0;

    }

}

