@font-face {
    font-family: 'Oswald';
    src: url('fonts/Oswald/Oswald-Bold.woff2') format('woff2'),
        url('fonts/Oswald/Oswald-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('fonts/Oswald/Oswald-Regular.woff2') format('woff2'),
    url('fonts/Oswald/Oswald-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
}


body {
    width: 100vw;
    background-color: black;
    color: white;
    font-family: 'Oswald', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande','0xProto Nerd Font', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.wrapper {
    min-height: 100vh;
    display: grid;
    grid-template-rows: 70px auto 80px;
}

.h-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.v-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.nav>ul {
    display: flex;
}

li {
    list-style: none;
    margin: 0 2vw;
    cursor: pointer;
    flex-wrap: nowrap;
}

button {
    all: unset;
    cursor: pointer;
    flex-grow: 0;
    background-color: rgb(2, 197, 197);
    padding: 10px 25px;
    margin: 0 15px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.2s ease;
}

button:hover {
  transform: scale(1.05);
  background-color: #1a73e8;
  color: #fff;
}

a{
    all: unset;
    transition: all 0.2s ease;
    cursor: pointer;
}

hr {
    width: 50%;
    margin-left: 25%;
}

a:hover,
a:active {
    color: rgb(2, 197, 197);
}

#main{
    width: 100vw;
    margin: 5vh 0;
}

/* -------- Header ------- */

#header {
    padding: 10px 25px;
    height: 120px;
    position: sticky;
    top: 0;
    z-index: 1;  
    background: rgba(0, 0, 0, 1.0);
}

#header>img {
    height: 100px;
}

/* ------- index.html content ------- */

#hero {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: flex-start;
    text-wrap: balance;
    margin-bottom: 10vh;
    height: 70vh;
    background-image: url(./images/training.jpeg);
    font-size: 3rem;
}

#hero h1 {
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.6);
    text-shadow: -1px -2px 0 #000, 1px -2px 0 #000, -1px 2px 0 #000, 1px 2px 0 #000;
    padding-left: 40px;
}
#hero button {
    margin-top: 30px;
    font-size: 2.5rem;
    width: max-content;
    margin-left: 45px;
}

#programi {
    margin: 10vh 0;
    padding: 5vh 0;
    min-height: 20vh;
    width: 100%;
    display: flex;
}

#programi h1 {
    text-align: center;
}

.opis-programa {
    text-align: center;
    margin: 20vh 0;
    padding: 0 10vh;
    font-size: 2rem;

}

#cards {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.card {
    width: 250px;
    padding: 20px 15px;
    text-align: center;
    text-wrap: balance;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.card .img-container {
    width: 200px;
    height:150px;
    margin-bottom: 10px;
    flex-shrink: 0;
    background-position: top;
    background-size: contain;
    background-repeat: no-repeat;
}

#img-training {
    background-image: url(./images/weight-icon.png);
}

#img-online {
    background-image: url(./images/laptop-icon.png);
}

#img-food {
    background-image: url(./images/apple-icon.png);
}

#img-mindful {
    background-image: url(./images/self_improvement-icon.png);
}

#reviews {
  background-image: url(images/img1.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 98vw;
  height: 500px;
  padding: 10px;
  margin: 10vh 10px;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  white-space: nowrap; 
  columns: 1;
  text-align: center;
}

#reviews li {
  display: inline-block;
  height: 300px;
  width: 250px;
  scroll-snap-align: center;
  background-color: #000000e0;
  border: 1px solid #dddddd;
  padding: 20px;
  margin: 100px 100px;
  border: 5px solid rgb(2, 197, 197);
  border-radius: 20px;
}

#review p {
    height: 200px;
    text-wrap: balance;
    overflow-y: scroll;
    overflow-x: hidden;
    font-size: 0.9rem;
}

#review>* {
    margin-bottom: 10px;
}

.stars {
    justify-content: center;
}

.star {
    width: 25px;
    aspect-ratio: 1 / 1;
    background-image: url(images/star.png);
    background-size: contain;
}

/* ------- o-meni.html content -----*/

#o-meni {
    text-align: center;
    font-size: 1.5rem;
    margin: 30px 0;
}

#opis {
    justify-content: center;
    align-items: flex-start;
}

#opis p,
#opis h1,
#opis ul {
    max-width: 50vw;
    margin: 0 5vw;
    font-size: 1.5rem;
}

#opis h1 {
    text-decoration: underline;
    margin: 20px auto;
}

#opis img {
    height: 50vh;
    margin-bottom: 30px;
}

#dosezki li {
    list-style-image: url(images/trophy.svg);
    list-style-type: circle;
}

#izobrazevanja li {
    list-style-type: circle;
}

/* ----- footer ---- */

#footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    border-top: 1px solid white;
}

#info {
    display: flex;
    align-items: center;
}

#contact {
    width: 100vw;
    display: flex;
    justify-content: space-around;
}

a[href="politika-zasebnosti.html"] {
    color: rgb(2, 197, 197);
}
/*------cenik.html------*/

.price-subcategory {
    width: 80vw;
    margin-bottom: 50px;
}

.price-subcategory p{
    margin: 0;
}


 .price-heading {
    margin-bottom: 25px;
    margin-top: 40px;
    font-size: 3rem;
 }

 .pricing-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 25px;
 }

.underline {
    margin: 0 15px;
    min-width: 16px;
    flex-grow: 1;
    border-bottom: 1px dotted white;
}

.special-price {
    width: 80vw;
    display: flex;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.program>div {
    width: 100%;
}

.program h2 {
    font-size: 30px;
}

.special-price .program {
    width: 220px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    border: 5px solid rgb(2, 197, 197);
    padding: 20px;
    margin: 20px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.9);
}

.special-price .price {
    color: rgb(2, 197, 197);
    font-size: 1.4rem;
}

.bottom-align *{
    margin: 0 10px;
}

.price-subcategory>p {
    font-weight: lighter;
}

/*------kontakt.html-----*/

.kontakt {
    justify-content: center;
    margin-top: 15px;
    font-size: 1.5rem;
    align-items: center;
}

.logo-bg {
    background-image: url(images/logo-transparent.png);
    background-position: center;
    background-size: auto 60%;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.info {
    margin-top: 5vh;
    width: 40vw;
    align-items: flex-end;
    justify-content: space-between;
    font-size: 1rem;
}

.info h1 {
    margin-bottom: 15px;
}

#form {
    padding: 15px;
    align-items: flex-start;
    border: 5px solid rgb(2, 197, 197);
    padding: 20px;
    margin: 20px 30px;
    border-radius: 20px;
}

input,
textarea {
    width: 40vw;
    font-size: 1.3rem;
    margin-top: 5px;
    margin-bottom: 10px;
    padding: 3px;
}

label {
    font-size: 1.2rem;
}

.hvala p {
    margin-top: 200px;
    font-size: 2rem;
    text-align: center;
    text-wrap: balance;
}

/*-------politika-zasebnosti.html-----*/

#zasebnost {
    padding: 5vh;
}

#zasebnost li {
    list-style-type: circle;
}

/*animations*/

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease-out forwards;
}

.fade-right {
  opacity: 0;
  transform: translateX(-100px);
  animation: fadeRight 1s ease-out forwards;
}


.fade-in {
    opacity: 0.1;
    animation: fadeIn 3s ease-out forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/*------responsiveness------*/

@media (max-width:450px) {
    .nav ul {
        flex-direction: column;
        align-items: flex-end;
    }

    #header {
        height: fit-content;
    }

    #hero {
    height: 80vh;
    }

    #hero h1 {
        width: 100vw;
        font-size: 4rem;        
        padding-left: 10px;
    }

    #hero button {
        font-size: 2rem;
        margin-left: 10px;
    }

    .opis-programa {
    font-size: 1.5rem;
    }

    #opis p,
    #opis h1,
    #opis ul {
        max-width: 80vw;
    }

    #reviews {
        width: 90vw;
    }

    #form {
        flex-direction: col;
    }
    input,
    textarea {
        width: 70vw;
    }

    .info {
      align-items: flex-start;
      width: 90vw;
    }

    #contact {
        flex-direction: column;
    }

    #footer {
        height: 150px;
    }
}