html {
    font-size: 16px;
    scroll-behavior: smooth;
}


body {
    font-family:  'Poppins', sans-serif;
    font-size: 1rem;
    text-align: center;
    color: #FFFFF6;
    background-color: #371537;
    margin: 0vh;
}

::selection {
    background: #F88FD0;
    color: #371537;
  }

::-webkit-scrollbar {
    background: #EAC8DD;
}

::-webkit-scrollbar-track {
    background: #EAC8DD;
}
::-webkit-scrollbar-thumb {
    background-color: #371537;
    border-radius: 1em;
    border: 0.2em solid #EAC8DD;
}

h1 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 5rem;
    font-weight: 600;
}

h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: -0.5em;
}

h3 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 400;
}
h5 span {
    background-color: #9d5797;
    color: #FFFFF6;
    border-radius: 1em;
    padding: 0.5em;
    font-weight: 500;
    font-family: 'Bricolage Grotesque', sans-serif;
}

p {
    font-weight: 300;
}


header {
    margin-top: 2em;
}
button {
    background-color: rgba(0, 0, 0, 0);
    color: #FFFFF6;
    border: 0px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 400;
    font-size: 1em;
    padding: 0.5em;
    padding-left: 0.8em;
    padding-right: 0.8em;
}
header span {
    background-color: #371537;
    padding: 0.5em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    
}
#btn1{
    border-radius: 2em 0 0 2em;
    padding-right: 1em;
}
#btn1:hover, #btn2:hover {
    background-color: #9d5797;
}
#btn2 {
    border-radius: 0 2em 2em 0;
    margin-left: -1em;
}

header a {
    font-family: 'Bricolage Grotesque', sans-serif;
    text-decoration: none;
    color: #FFFFF6;
    padding: 0.5em;
}

.welcome-img {
    height: 100vh;
    margin-top: 0;
    padding: 3rem;
    
}

.welcome-img::after {
    content: "";
    background: url("/slike/welcome.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.45;
    height: 100vh;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;   
  }

.welcome-text {
    text-align: left;
    width: 70%;
    margin-left: 15%;
}

.welcome-text h1 {
    margin-bottom: 0%;
}
.welcome-text h2 {
    font-weight: 500;
    margin-bottom: auto;
}
.welcome-text p {
    font-weight: 400;
    width: 70%;
}

.projects {
    margin-top: 15vh;
    padding: 3rem;
}

.projects a {
    font-family: 'Bricolage Grotesque', sans-serif;
    color: #FFFFF6;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 500;
    transition:  font-size 0.25s ease;
}

.projects a:hover {
    font-size: 2.3rem;
    transition:  font-size 0.25s ease;
}

.card {
    display: flex;
    justify-content: space-between;
    height: fit-content;
    /*height: 112vh;*/
    background-color: #371537;
    color: #EAC8DD;
    padding-bottom: 12vh;
    padding-top: 12vh;
    
}

#card0 {
    padding-top: 0vh;
}

#card2 {
    background-color: #EAC8DD;
    color: #371537;
    padding-bottom: 20vh;
    padding-top: 20vh;
}

#card3 {
    background-color: #FFFFF6;
    color: #371537;
    padding-bottom: 20vh;
    padding-top: 20vh;
}
#card5 {
    background-color: #EAC8DD;
    color: #371537;
    padding-bottom: 20vh;
    padding-top: 20vh;

}

#card1 {
    padding-bottom: 17vh;
    padding-top: 17vh;
}

.card-text {
    height: fit-content;
    width: 30vw;
    text-align: left;
    padding-left: 7.5vw;
    padding-right: 4.5vw;
}

.card-img {
    display: flex;
    width: 60vw;
    justify-content: center;
    align-items: center;
    
}

.slika {
    height: 80vh;
    flex-grow: 1;
    opacity: 70%;
    transition: flex-grow 0.35s ease;
    transition: opacity 0.35s ease;
    
    
}

.slika:hover {
    flex-grow: 3;
    opacity: 100%;
    transition: opacity 0.35s ease;
    transition: flex-grow 0.35s ease;
}


#slika1 {
    background-image: url("/slike/plakat1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 2rem 0 0 2rem; 
}

#slika15 {
    background-image: url("/slike/iphone-mockup.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}

#slika2 {
    background-image: url("/slike/iphone-mockup1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}

#slika3 {
    background-image: url("/slike/newjersey-mockup1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
}

#slika4 {
    background-image: url("/slike/newjersey-21.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0 2rem 2rem 0;  
}

#slika5 {
    background-image: url("/slike/vizitka-mockup.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 2rem 0 0 2rem;
}

#slika6 {
    background-image: url("/slike/prelom-mockup.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;   
}

#slika7 {
    background-image: url("/slike/GWG-mockup2.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
}

#slika8 {
    background-image: url("/slike/GWG-mockup.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0 2rem 2rem 0; 
    
}

#slika9 {
    background-image: url("/slike/nastop-mockup2.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 2rem 0 0 2rem;
}

#slika10 {
    background-image: url("/slike/nastop-mockup1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;   
}

footer {
    margin-top: 5vh;
    margin-bottom: 5vh;
}

footer p {
    font-size: 0.8rem;
}
footer h2 {
    text-align: center;
    margin-bottom: 5vh;
}
#back {
    margin-bottom: 3rem;
    color: #FFFFF6;
    
    font-family: 'Bricolage Grotesque', sans-serif;
    transition:  text-decoration 0.25s ease;

}
#back:hover {
    text-decoration: none;
    transition:  text-decoration 0.25s ease;
}

span {
    padding-inline: 0.5em;
}
.socials {
    margin-bottom: 5vh;
}

@media only screen and (max-width:768px) {
   
    .welcome-img {
        height: 80vh;
        padding: 0rem;
    }
    h1 {
        font-size: 4rem;
    }
    .welcome-text {
        text-align: center;
        width: 80vw;
        margin: auto;
        margin-top: 15vh;
    }
    .welcome-text p, h2, h1 {
        text-align: left;
        margin-inline: auto;
        width: 80vw;
      }
    .projects {
        margin-top: 10vh;
    }
    .card {
        display: flex;
        justify-content: center;
        flex-direction: column;
        height: fit-content;
        background-color: #371537;
        color: #EAC8DD;
        align-items: center;
        padding: 0vh;
    }
    #card2, #card3, #card5, #card1 {
        padding: 0vh;
    }
    .card-text {
        height: fit-content;
        width: 80vw;
        text-align: left;
        margin-bottom: 5vh;
        margin-top: 5vh;
    }
    .card-img {
        display: flex;
        flex-direction: column;
    }
    .slika {
        width: 80vw;
        height: 60vh;
        opacity: 100%;
    }
    #slika1 {
        border-radius: 2rem 2rem 0 0 ;
        height: 88vh;
    }
    #slika4 {
        border-radius: 0 0 2rem 2rem;
    }
    #slika5 {
        border-radius: 2rem 2rem 0 0;
        height: 50vh;
    }
    #slika6 {
      height: 68vh;
    }

    #slika7 {
        border-radius: 0;
        height: 72.5vh;
    }
    #slika8 {
        border-radius: 0 0 2rem 2rem;
    }
    #slika9 {
        border-radius: 2rem 2rem 0 0;
        margin-bottom: 0vh;
    }
    #slika10 {
        border-radius: 0 0 2rem 2rem;
        
        margin-bottom: 5vh;
    }
    footer h2 {
        font-size: 1.5em;
    }

}




@media only screen and (max-width: 460px) {
    .welcome-img {
        height: 80vh;
        padding: 0rem;
    }
    h1 {
        font-size: 4rem;
    }
    .welcome-text {
        text-align: center;
        width: 90vw;
        margin: auto;
        margin-top: 15vh;
    }
    .welcome-text p, h2, h1 {
        text-align: left;
        margin-inline: auto;
        width: 80vw;
      }
    .projects {
        margin-top: 10svh;
    }
    .card {
        display: flex;
        justify-content: center;
        flex-direction: column;
        height: fit-content;
        background-color: #371537;
        color: #EAC8DD;
        align-items: center;
        padding: 0vh;
    }
    .card-text {
        height: fit-content;
        width: 85vw;
        text-align: left;
        margin: auto;
        padding-left: 0vw;
        padding-right: 0vw;
        margin-bottom: 5vh;
        margin-top: 5vh;
    }
    .card-text h2 {
        width: 85vw;
      }
    .card-img {
        display: flex;
        flex-direction: column;
    }
    .slika {
        width: 80vw;
        height: 30vh;
        opacity: 100%;
    }
    #slika1 {
        border-radius: 2rem 2rem 0 0 ;
        height: 55vh;
    }
    #slika2 {
        height: 35vh;
    }
    #slika3 {
        height: 35vh;
    }
    #slika4 {
        border-radius: 0 0 2rem 2rem;
        height: 35vh;
    }
    #slika5 {
        border-radius: 2rem 2rem 0 0;
        height: 35vh;
    }
    #slika6 {
        height: 45vh;
      }

    #slika7 {
        height: 40vh;
    }
    #slika8 {
        border-radius: 0 0 2rem 2rem;
        height: 40vh;
    }
    #slika9 {
        border-radius: 2rem 2rem 0 0;
        margin-bottom: 0vh;
    }
    #slika10 {
        border-radius: 0 0 2rem 2rem;
        height: 55vh;
        margin-bottom: 5vh;
    }
    footer h2 {
        font-size: 1.5em;
    }

}



@media only screen and (max-width:1024px) {
    .slika:hover {
        flex-grow: 20;
    }

}


@media only screen and (max-width:1440px) {
    .slika:hover {
        flex-grow: 10;
    }

}


@media only screen and (min-width:2240px) {
    html {
        font-size: 24px;
    }
    #card0 {
        padding-bottom: 20vh;
    }
    #card1 {
        padding-top: 20vh;
        padding-bottom: 20vh;
    }


}



