@import url('https://fonts.googleapis.com/css2?family=Ephesis&family=Rajdhani:wght@300;400;500;600;700&display=swap');
* {
    margin: 0px;
    padding: 0px;
}

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

.navigacija {
    text-align: right;
    height: 70px;
    position: fixed;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.667);
}

.meni {
    margin: 0 40px 0 0;
    width: 100%;
}

.meni a {
    clear: right;
    text-decoration: none;
    font-family: "Rajdhani", serif;
    font-weight: 400;
    font-style: normal;
    color: #ffffff;
    padding: 0 10px;
    line-height: 70px;
    font-size: 15pt;
}

.meni a:hover {
    border-bottom: 3px solid #FF2491;
}

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

#prekidac {
    display: none;
}

p {
    font-size: 18pt;
}


/**HOME*************************************************************/
#home {
    display: grid;
    grid-template-rows: 1fr 1fr 2fr 1fr 1fr 1fr;
    grid-template-columns: 3fr 3fr 1fr 1fr 1fr 3fr 3fr;

    background-image: linear-gradient(to right, rgba(37, 37, 37, 0.838), rgba(37, 37, 37, 0.24)),
        url(pocetna-pozadina.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 15%;
}

#h1-home {
    font-size: 60pt;
    text-align: center;
    color: #ccc;

    grid-column: 2/7;
    grid-row: 3/4;
}

#h2-home-slogan {
    font-size: 20pt;
    text-align: center;
    color: #ccc;
    padding-top: 15px;
    font-family: "Ephesis", serif;
    font-weight: 400;
    font-style: normal;

    grid-column: 3/6;
    grid-row: 4/5;
}

.navigacija {
    grid-column: 3/8;
    grid-row: 1/2;
}

button {
    grid-column: 3/6;
    grid-row: 5/6;
    border: 1px solid;
    font-size: 15pt;
    font-family: "Rajdhani", serif;
    font-weight: 500;
    font-style: normal;
    border-radius: 10px;
    border: none;
    background-color: #e42182;
    box-shadow: 0 0 5px #e42182,
                0 0 10px #e42182,
                0 0 20px #e42182,
                0 0 30px #e42182;
}

button:hover {
    cursor: pointer;
    background-color: #FF2491;
    box-shadow: 0 0 5px #FF2491,
                0 0 10px #FF2491,
                0 0 20px #FF2491,
                0 0 30px #FF2491;
}


/**O NAMA*************************************************************/
#o-nama {
    display: grid;
    grid-template-rows: 1fr 2fr 1fr;
    grid-template-columns: 1fr 3fr 1fr 4fr 1fr;
}

.tim {
    grid-row: 2/3;
    grid-column: 2/3;
    width: 30vw;
}
.tim-responzivno{
    display: none;
}
div {
    grid-row: 2/3;
    grid-column: 4/5;
}

.h2-nas-tim {
    font-size: 40pt;
}

.p-nas-tim {
    margin: auto;
    font-family: "Ephesis", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14pt;
    font-family: "Rajdhani", serif;
    font-weight: 500;
    font-style: normal;
    line-height: 18pt;
    padding-top: 15px;
}

b{
    color: #FF2491;
}

hr{
    margin: auto;
    width: 70%;
    padding: 0.5px;
    background-color: #FF2491;
}
/**USLUGE*************************************************************/
#usluge {
    height: 100vh;
}

.h1-usluge {
    text-align: center;
    margin-top: 50px;
    font-size: 40pt;
}

.div-usluge-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 80px;
}

figure img {
    width: 25vw;
    box-shadow: 8px 12px 10px rgb(172, 169, 169);
}

figcaption{
    padding-top: 5px;
    font-size: 14pt;
    font-family: "Rajdhani", serif;
    font-weight: 500;
    font-style: normal;
}
figure img:hover{
    box-shadow: none;
}
figure:hover{
    color: white;
    cursor: pointer;
    background-color: #FF2491;
    box-shadow: 8px 12px 10px FF2491;
    box-shadow: 0 0 5px #FF2491,
                0 0 10px #FF2491,
                0 0 20px #FF2491,
                0 0 30px #FF2491;
}


#primjeri {
    height: 100vh;
    background-color: black;
}

* {
    box-sizing: border-box
}

/* Slideshow container */
.slideshow-container {
    max-width: 90vw;
    position: relative;
    margin: auto;
    margin-top: 100px;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: 200px;
    padding: 16px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 60px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    display: flex;
    justify-content: space-between;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color:#FF2491;
    border-radius: 10px;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 400px 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #FF2491;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.h2-slideshow {
    color: aliceblue;
    font-size: 40pt;
}

.p-slideshow {
    color: aliceblue;
    font-size: 13pt;
    font-family: "Rajdhani", serif;
    font-weight: 500;
    font-style: normal;
    width: 80%;
}
.div-slideshow{
    margin-top: 100px;
    float: right;
    width: 45%;
}
.img-mockup-portofolio {
    width: 45%;
    float: left;
}


/****KONTAKT****************************************************************************************/
#kontakt {
    background-color: rgb(255, 255, 255);
}

.h2-kontakt{
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 40pt;
    text-align: center;
}
span{
    color: #FF2491;
}
#kontakt form {
    max-width: 50%;
    margin:auto;
    text-align: center;
    margin-bottom: 30px;
}

#kontakt form .form-div {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#kontakt form .form-div input,
#kontakt form textarea {
    width: 100%;
    padding: 10px;
    font-size: 13pt;
    color: #ccc;
    background: white;
    border-radius: 10px;
    margin: 12px 0;
    box-shadow: 2px 3px 10px #ccc;
}

#kontakt form .form-div input {
    width: 49%;
    border: 1px solid #ccc;
}

#kontakt form textarea {
    resize: none;
    border: 1px solid #ccc;
}

#kontakt form .botun-form {
    margin-top: 20px;
    cursor: pointer;
    background-color: #FF2491;
    color: aliceblue;
    border: none;
    font-size: 15pt;
    padding: 10px;
    border-radius: 10px;
    font-family: "Rajdhani", serif;
    font-weight: 500;
    font-style: normal;
}



/****FOOTER****************************************************************************************/
footer {
    height: 30vh;
    background-color: black;
    color: #FF2491;
    clear: both;
    display: flex;
    justify-content: space-around;
    align-items: center;

    font-size: 14pt;
    font-family: "Rajdhani", serif;
    font-weight: 400;
    font-style: normal;
}

.p-footer-desno{
    text-align: right;
}


/****RESPONZIVNOST****************************************************************************************/
@media only screen and (max-width: 760px) {

    label {
        display: block;
        cursor: pointer;
        color: #ffffff;
    }

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

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

    #prekidac:checked+.meni {
        display: block;
    }
    
    
    
    /**HOME*************************************************************/
    #home {
        display: grid;
        grid-template-rows: 1fr 1fr 2fr 1fr 1fr 1fr;
        grid-template-columns: 1fr 3fr 1fr;
        width: 100%;
    }
    
    #h1-home {
        font-size: 45pt;
        color: #ffffff;
    
        grid-column: 2/3;
        grid-row: 3/4;
    }
    
    #h2-home-slogan {
        font-size: 30pt;
        color: #ffffff;
        padding-top: 10px;
    
        grid-column: 2/3;
        grid-row: 4/5;
    }
    
    .navigacija {
        grid-column: 1/4;
        grid-row: 1/2;
    }
    
    button {
        grid-column: 2/3;
        grid-row: 5/6;
        font-size: 20pt;
        margin-top: 30px;
        color: #ffffff;
    }
    
    button:hover {
        cursor: pointer;
        background-color: #FF2491;
        box-shadow: 0 0 5px #FF2491,
                    0 0 10px #FF2491,
                    0 0 20px #FF2491,
                    0 0 30px #FF2491;
    }
    
    
    /**O NAMA*************************************************************/
    #o-nama {
        display: grid;
        grid-template-rows: 1fr 2fr 1fr;
        grid-template-columns: 1fr 6fr 1fr;
        width: 100%;
    }
    .tim {
        display: none;
    }
    .tim-responzivno{
        display: block;
        grid-row: 2/3;
        grid-column: 2/3;
        padding: 20px;
        margin: auto;
        width: 90vw;
    }
    
    div {
        grid-row: 2/3;
        grid-column: 2/3;
    }
    
    .h2-nas-tim {
        font-size: 40pt;
        text-align: center;
    }
    
    .p-nas-tim {
        margin: auto;
        width: 80vw;
        font-size: 15pt;
        line-height: 18pt;
        padding-top: 15px;
    }
    /**USLUGE*************************************************************/
    #usluge {
        height: 180vh;
    }
    
    .div-usluge-flex {
        display: flex;
        align-items: center;
        flex-direction: column;
        margin-top: 40px;
    }
    
    figure img {
        margin: 60px;
        width: 70vw;
        box-shadow: 8px 12px 10px rgb(172, 169, 169);
    }
    
    figcaption{
        padding-top: 2px;
        font-size: 20pt;
        margin-left: 60px;
        margin-top: -30px;
    }
    figure img:hover{
        box-shadow: none;
    }
    figure:hover{
        color: white;
        cursor: pointer;
        background-color: none;
        box-shadow: none;
        box-shadow: none;
    }
    
    
    #primjeri {
        height: 90vh;
        background-color: black;
    }
    
    * {
        box-sizing: border-box
    }
    
    /* Slideshow container */
    .slideshow-container {
        max-width: 90vw;
        position: relative;
        margin: auto;
        margin-top: 90px;
    }
    
    /* Next & previous buttons */
    .prev,
    .next {
        position: absolute;
        top: 50%;
        width: auto;
        margin-top: 300px;
    }
    
    /* The dots/bullets/indicators */
    .dot {
        height: 15px;
        width: 15px;
        margin: 100px 2px;
    }
    .h2-slideshow{
        padding-bottom: 10px;
    }
    .p-slideshow {
        color: rgb(255, 255, 255);
        font-size: 14pt;
        line-height: 18pt;
        width: 100%;
        padding-bottom: 20px;
    }
    .div-slideshow{
        margin-top: 90px;
        float: none;
        margin: auto;
        width: 75%;
        padding: 20px;
    }
    .img-mockup-portofolio {
        margin: auto;
        width: 75%;
        float: none;
        margin-left: 40px;
        margin-top: 20px;
    }
    .div-flex-primjeri{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    
    
    /****KONTAKT****************************************************************************************/
    #kontakt {
        background-color: rgb(255, 255, 255);
        height: 90vh;
    }

    #kontakt form {
        max-width: 80%;
        margin:auto;
        text-align: center;
        margin-bottom: 30px;
    }
    
    #kontakt form .form-div {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    #kontakt form .form-div input,
    #kontakt form textarea {
        width: 100%;
        font-size: 13pt;
    }
    
    #kontakt form .form-div input {
        width: 90%;
    }
    
    #kontakt form textarea {
        resize: none;
        border: 1px solid #ccc;
    }
    
    
    
    /****FOOTER****************************************************************************************/
    footer {
        height:25vh;
        clear: both;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    

    }
    footer p{
        font-size: 13pt;
    }
    .p-footer-desno{
        text-align: center;
    }
    
}