/*
Theme Name: ShapeUp
Author: Bruno Miličević
Description: Tema za završni rad
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.0l
Text Domain: ShapeUp
*/


@font-face {
    font-family: 'Nunito_Sans', sans-serif;
    src: url('fonts/Nunito_Sans/NunitoSans-Italic-VariableFont_YTLC\,opsz\,wdth\,wght.ttf') format('woff'); /* WOFF format */
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Nunito_Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto 1fr auto; /* Header, Content, Footer */
    min-height: 100vh;
    background-color: #333;
}

.prekid1
{
    background-color: #0C272F;
}

hr
{
    text-align: center;
    width: 75%;
    height: 2px;
    color:#fff;
    background-color: #fff;

}


header {
    font-weight: bolder;
    color: #fff;
    font-size: 65px;
    text-align: left;
    padding-left: 15%;
    padding-top: 3%;
    grid-row: 1;
}

nav {
    background-color: transparent;
    padding: 10px;
    padding-top: 3%;
    display: flex;
    align-items: center;
    text-align: center;
    padding-right: 15%;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 30px;
    font-weight: bold;
}

nav a:hover {
    color: #0C272F;
}

nav img
{
    margin-right: auto;
    max-height: 60px;
    margin-right: 10px;
    padding-left: 12%;
}

nav #nav-pov
{
    margin-left: auto;
}

.hero-section {
    font-family: 'Nunito_Sans', sans-serif;
    background-image: url('slike/hero-pozadina.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    text-align: left;
    min-height: 115vh;
    background-size: 125%;
    background-position: 2% 100%;
    padding-bottom: 12%;
    background-attachment: fixed;
}

.hero-section h2
{
    margin-top: -2%;
    color: #fff;
    font-size: 35px;
    text-align: left;
    padding-left: 15%;
    grid-row: 1;
    opacity: 0;
    transform: translateY(50px); /* Initially hide elements off-screen */
    transition: opacity 0.4s, transform 0.4s;
}

.hero-section p
{
    color: #fff;
    font-size: 25px;
    text-align: left;
    padding-left: 15%;
    grid-row: 1;
    opacity: 0;
    transform: translateY(50px); /* Initially hide elements off-screen */
    transition: opacity 0.4s, transform 0.4s;
}

.hero-section button
{
    margin-top: 2.5%;
    padding: 25px 0px;
    font-size: 22px;
    color: #fff;
    background-color: #4A638E;
    border: transparent;
    font-family: 'Nunito Sans', sans-serif;
    transition: background-color 0.3s;
    opacity: 0;
    transform: translateY(50px); /* Initially hide elements off-screen */
    transition: opacity 0.4s, transform 0.4s;
}

.button
{
    color:#fff;
    padding:25px 75px;
    transition: background-color 0.3s;
    text-decoration: none;
}

.button:hover
{
    color:#4A638E;
}

.hero-section.visible h2
{
    opacity: 1;
    transform: translateY(0);
}

.hero-section.visible p
{
    opacity: 1;
    transform: translateY(0);
}

.hero-section.visible button
{
    opacity: 1;
    transform: translateY(0);
}



.hero-section button:hover
{
    color: #4A638E;
    background-color: #fff;
}


.section1
{
    font-family: 'Nunito Sans', sans-serif;
    background-color: #0C272F; 
    color: #fff;
    text-align: left;
    min-height: 100vh;
    display: flex;
    padding: 0% 15%;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.section1 h2
{
    margin-right: 10%;
    font-size: 45px;
    opacity: 0;
    transform: translateY(50px); /* Initially hide elements off-screen */
    transition: opacity 0.4s, transform 0.4s;
}

.section1 p
{
    margin-right: 30%;
    font-size: 25px;
    opacity: 0;
    transform: translateY(50px); /* Initially hide elements off-screen */
    transition: opacity 0.4s, transform 0.4s;
}

.section1 img
{
    margin-top: 2.5%;
    max-height: 400px;
    margin-left: auto;
    padding-right: 5%;
    opacity: 0;
    transform: translateY(50px); /* Initially hide elements off-screen */
    transition: opacity 0.4s, transform 0.4s;
}

.section1.visible p {
    opacity: 1;
    transform: translateY(0);
}

.section1.visible h2 {
    opacity: 1;
    transform: translateY(0);
}

.section1.visible img {
    opacity: 1;
    transform: translateY(0);
}

#slikica-gore
{
    display: none;
}

.section2
{
    font-family: 'Nunito Sans', sans-serif;
    background-color: #0C272F; 
    color: #fff;
    min-height: 100vh;
    display: flex;
    padding: 0% 15%;
    align-items: center;
    justify-content: center;
    text-align: right;
}

.section2 #slova
{
    margin-left: auto;
    padding-right: 5%;
}

.section2 h2
{
    margin-left: 5%;
    font-size: 45px;
    opacity: 0;
    transform: translateY(50px); /* Initially hide elements off-screen */
    transition: opacity 0.4s, transform 0.4s;
}

.section2 p
{
    margin-left: 15%;
    font-size: 25px;
    opacity: 0;
    transform: translateY(50px); /* Initially hide elements off-screen */
    transition: opacity 0.4s, transform 0.4s;
}

.section2 img
{
    margin-top: 2.5%;
    max-height: 360px;
    margin-right: auto;
    padding-left: 5%;
    opacity: 0;
    transform: translateY(50px); /* Initially hide elements off-screen */
    transition: opacity 0.4s, transform 0.4s;
}

.section2.visible p {
    opacity: 1;
    transform: translateY(0);
}

.section2.visible h2 {
    opacity: 1;
    transform: translateY(0);
}

.section2.visible img {
    opacity: 1;
    transform: translateY(0);
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 5%;
}

.card {
    border-radius: 12px;
    width: 25rem;
    height: 35rem;
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: 0.5s;
    opacity: 0;
    transform: translateY(50px); /* Initially hide elements off-screen */
    transition: opacity 0.4s, transform 0.4s;
}

.card.visible
{
    opacity: 1;
    transform: translateY(0);
}

.custom-card-img {
    width: 100%;
    height: 60%;
    object-fit: cover;
}


.card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 40%;
    padding: 20px;
    margin-top: -7%;
    background-color: #F6F6F6; /* Background color for the card body */
}

.card-title,
.card-text {
    text-align: left;
    margin-bottom: 10px;
}

.usluge-naslov
{
    font-family: 'Nunito Sans', sans-serif;
    background-color: #fff;
    padding-bottom: 10%;
}

.usluge-naslov.visible
{
    opacity: 1;
    transform: translateY(0);
}

.usluge-naslov h1
{
    text-align: center;
    margin-top: 5%;
    font-size: 55px;
    opacity: 0;
    transform: translateY(50px); /* Initially hide elements off-screen */
    transition: opacity 0.4s, transform 0.4s;
}

.usluge-naslov.visible h1
{
    opacity: 1;
    transform: translateY(0);
}

.usluge-naslov button
{
    margin-top: 2.5%;
    padding: 10px 0px;
    font-size: 12px;
    color: #fff;
    background-color: #4A638E;
    border: transparent;
    font-family: 'Nunito Sans', sans-serif;
    transition:  0.3;
    border: 2px solid transparent;
}

.usluge-naslov button:hover
{
    color: #4A638E;
    background-color: #fff;
    border: 2px solid #4A638E;
}

#Saznaj-više-1 a, #Saznaj-više-2 a, #Saznaj-više-3 a
{
    padding: 10px 15px;
    text-decoration: none;
    color:#fff;
}

#Saznaj-više-1 a:hover, #Saznaj-više-2 a:hover, #Saznaj-više-3 a:hover
{
    padding: 10px 15px;
    text-decoration: none;
    color:#4A638E;
}

form {
    width: 450px;
    padding: 50px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

input {
    width: 100%;
    padding: 14px;
    margin-bottom: 25px;
    border: none;
    border-bottom: 2px solid #4A638E;
    outline: none;
    background-color: transparent;
    color: #555;
    font-size: 18px;
    transition: border-color 0.3s;
}

input:focus {
    border-bottom: 2px solid #0C272F;
}

input[type="submit"] {
    background-color: #4A638E;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 4%;
}

input[type="submit"]:hover {
    background-color: #fff;
    color: #4A638E;
    border-color: #4A638E;
}

.kontakt-hero h1
{
    text-align: center;
    margin-top: 7%;
    font-size: 55px;
    color: #fff;
}

.kontakt-hero
{
    font-family: 'Nunito Sans', sans-serif;
    background-color: #4A638E;
    height: 100vh;
    display: grid;
    justify-content: center;
    align-items: center;
    padding-bottom: 5%;
}

.kontakt-form
{
    margin-top: -35%;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    grid-row: 8;
    font-family: 'Nunito Sans', sans-serif;
    padding-top: 5%;
    background-color: #111420;
}


footer img
{
    width: 25%;
    height: 25%;
}

footer p
{
    margin-top: 2%;
}

@media(max-height: 800px)
{
    .kontakt-hero h1
    {
        text-align: center;
        margin-top: 4%;
        font-size: 45px;
        color: #fff;
    }

    .kontakt-form
    {
        margin-top: -15%;
    }
}

@media(max-width: 1280px)
{
    
}

#slikica
{
    margin-left:10%;
}

.navwp img {
    width: 200px;
    height: 75px;
}

.navwp .ham {
    display: none;
    margin-right: -50%;
}

.navwp .ham img
{
    width: 200px;
    height: 50px;
}

.sidebar
{
    display:none;
    background-color: #fff;
    flex-direction: column; /* Stack children vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    z-index:999999999;
    width: 100%;
    height: 100%;
    position: fixed;
    right: 0; /* Align the sidebar to the right side of the screen */
    top: 0;
}

.sidebar ul
{
    display: block;
    align-items: center;
    text-decoration: none;
    list-style-type: none;
}

.sidebar li
{
    color: black;
    text-decoration: none;
    margin: 30px 0px;
    font-weight: bold;
}

.sidebar a
{
    color: black;
    text-decoration: none;
    margin: 30px 0px;
}

.sidebar .xic
{
    position: fixed;
    top: 0;
    right: 0;
}

.xic img
{
    width: 100px;
    height: 40px;
}

#comment-message
{
    font-size: 22px;
    color: green;

}

@media(max-width: 1205px)
{
    .navwp .menu-glavni-container ul {
    display: none;

    }

    .navwp .ham {
        display: block;
    }

    .section1 {
        font-family: 'Nunito Sans', sans-serif;
        background-color: #0C272F; 
        color: #fff;
        text-align: center;
        min-height: 100vh;
        display: flex;
        flex-direction: column; /* Change to column */
        align-items: center;
        justify-content: center;
        padding: 0% 15%;
    }
    
    .section1 h2 {
        font-size: 45px;
        margin-bottom: 20px; /* Add margin for spacing */
        margin-right: 0;
    }
    
    .section1 p {
        font-size: 25px;
        margin-bottom: 20%;
        margin-right: 0; /* Add margin for spacing */
    }

    #slikica-gore
    {
        display:flex;
        max-height: 300px;
        margin-top: 10%;
        align-self: flex-start; /* Align the image to the start of the column */
    }
    
    .section1 img {
        display: none;
        margin-left: auto;
        margin-right: auto;
        padding-right: 0;
    }

    .section2 {
        font-family: 'Nunito Sans', sans-serif;
        background-color: #0C272F; 
        color: #fff;
        text-align: center;
        min-height: 100vh;
        display: flex;
        flex-direction: column; /* Change to column */
        align-items: center;
        justify-content: center;
        padding: 0% 15%;
    }
    
    .section2 h2 {
        font-size: 45px;
        margin-bottom: 20px; /* Add margin for spacing */
        margin-right: 0;
        margin-left:0;
    }
    
    .section2 p {
        font-size: 25px;
        margin-bottom: 20%;
        margin-right: 0; /* Add margin for spacing */
        margin-left:0;
    }
    
    .section2 img {
        margin-left: auto;
        margin-right: auto;
        padding-right: 0;
        padding-left:0;
    }
    
}

@media(max-width: 950px)
{
    header {
        font-weight: bolder;
        color: #fff;
        font-size: 65px;
        text-align: center;
        padding-left: 0%;
        padding-top: 3%;
        grid-row: 1;
    }

    .hero-section h2
    {
        margin-top: -2%;
        color: #fff;
        font-size: 35px;
        text-align: center;
        padding-left: 0%;
        grid-row: 1;
    }

    .hero-section p
    {
        color: #fff;
        font-size: 25px;
        text-align: center;
        padding-left: 0%;
        grid-row: 1;
    }

    #slikica-gore
    {
        margin-top: 20%;
    }

    .section1
    {
        text-align: center;
    }
}

@media(max-width: 700px)
{
    #slikica
    {
        margin-left:5%;
    }

    .navwp .ham {
        display: block;
        margin-right: -42%;
    }

    header {
        font-weight: bolder;
        color: #fff;
        font-size: 45px;
        text-align: center;
        padding-left: 0%;
        padding-top: 15%;
        grid-row: 1;
    }

    .hero-section h2
    {
        margin-top: -2%;
        color: #fff;
        font-size: 15px;
        text-align: center;
        padding-left: 0%;
        grid-row: 1;
    }

    .hero-section p
    {
        color: #fff;
        text-align: center;
        padding-left: 0%;
        font-size: 10px;
        grid-row: 1;
    }

    #podnaslov
    {
        font-size: 15px;
    }

    .hero-section p button
    {
        font-size: 15px;
    }

    .section1
    {
        text-align: center;
    }
}

@media(max-width: 770px)
{
    header {
        font-weight: bolder;
        color: #fff;
        font-size: 65px;
        text-align: center;
        padding-left: 0%;
        padding-top: 15%;
        grid-row: 1;
    }

    .hero-section p
    {
        color: #fff;
        font-size: 25px;
        text-align: center;
        padding-left: 0%;
        grid-row: 1;
    }

    .hero-section p button
    {
        margin-top: 7%;
    }

    .hero-section
    {
        background-size: cover;
        background-size: 225%;
        background-position: 0% 100%;
    }

    .hero-section h1
    {
        font-size: 65px;
    }

    .section1
    {
        text-align: center;
    }

    .section2 h2
    {
        margin-left: 0%;
        font-size: 35px;
    }

    .section2 p
    {
        margin-left: 0%;
        font-size: 25px;
    }

    .section1 img
    {
        margin-top: 2.5%;
        max-height: 200px;
        margin-left: auto;
        padding-right: 0;
    }
}

@media(max-width: 450px)
{
    header {
        font-weight: bolder;
        color: #fff;
        font-size: 65px;
        text-align: center;
        padding-left: 0%;
        padding-top: 25%;
        grid-row: 1;
    }
}

@media screen and (max-height: 1400px) and (max-width: 1100px)
{
    header h1
    {
        padding-top: 35%;
    }

    .hero-section
    {
        background-position-y: 0;
        background-position-x: center;
        min-height: 90vh;
        background-size: 350%;
    }
}

@media screen and (max-height: 1200px) and (max-width: 700px)
{
    header h1
    {
        padding-top: 35%;
    }

    .hero-section
    {
        background-position-y: 0;
        background-position-x: center;
        min-height: 130vh;
        background-size: 350%;
    }
}

@media screen and (max-width: 1856px) and (max-height: 1536px)
{
    .navwp .menu-glavni-container ul {
        display: none;
    
        }
    
        .navwp .ham {
            display: block;
        }
    
        .section1 {
            font-family: 'Nunito Sans', sans-serif;
            background-color: #0C272F; 
            color: #fff;
            text-align: center;
            min-height: 100vh;
            display: flex;
            flex-direction: column; /* Change to column */
            align-items: center;
            justify-content: center;
            padding: 0% 15%;
        }
        
        .section1 h2 {
            font-size: 45px;
            margin-bottom: 20px; /* Add margin for spacing */
            margin-right: 0;
        }
        
        .section1 p {
            font-size: 25px;
            margin-bottom: 20%;
            margin-right: 0; /* Add margin for spacing */
        }
    
        #slikica-gore
        {
            display:flex;
            max-height: 300px;
            margin-top: 10%;
            align-self: flex-start; /* Align the image to the start of the column */
        }
        
        .section1 img {
            display: none;
            margin-left: auto;
            margin-right: auto;
            padding-right: 0;
        }
    
        .section2 {
            font-family: 'Nunito Sans', sans-serif;
            background-color: #0C272F; 
            color: #fff;
            text-align: center;
            min-height: 100vh;
            display: flex;
            flex-direction: column; /* Change to column */
            align-items: center;
            justify-content: center;
            padding: 0% 15%;
        }
        
        .section2 h2 {
            font-size: 45px;
            margin-bottom: 20px; /* Add margin for spacing */
            margin-right: 0;
            margin-left:0;
        }
        
        .section2 p {
            font-size: 25px;
            margin-bottom: 20%;
            margin-right: 0; /* Add margin for spacing */
            margin-left:0;
        }
        
        .section2 img {
            margin-left: auto;
            margin-right: auto;
            padding-right: 0;
            padding-left:0;
        }
}

.show-sidebar {
display: flex;
/* Add any additional styles as needed */
}

