*{
    margin: 0;
    padding: 0; 
    font-family: "Special Gothic Condensed One", serif;
    box-sizing: border-box;
}
@keyframes appear{
    from{
        opacity: 0;
        scale: 0.5;
    }
    to{
        opacity: 1;
        scale: 1;
    }
}
.hero h1{
    animation: appear 2s linear;
}
.hero h2{
    animation: appear 2s linear;
}
.hero h3{
    animation: appear 2s linear;
}
.about{
    animation: appear 5s linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;
}
.kontakt{
    animation: appear 5s linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;
}
body {
    background-color: black;
}
.nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 25px;
    background-color: #000000;
    height: 70px;
}
.nav ul{
    list-style: none;
    display:flex;
    gap: 50px;
}
.nav a{
    color: white;
    text-decoration: none;
    font-size: 25px;
}
.nav a:hover{
    color: rgb(188, 17, 17);
}
.hero {
    background-color: black;
    background-image:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0.6) 60%,
      rgba(0,0,0,1) 100%
    ),
    url("slika17.jpg");
    height: 900px;
    background-size: cover;
    background-position: center;
    color: rgb(218, 15, 15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    gap: 10px;
}
.hero h1{
    font-family: "Kurale", serif;
    font-size: 96px;
    letter-spacing: 50px;
    line-height: 73px;
    text-shadow: 0 10px 100px rgba(0,0,0,1);
}
.hero h2 {
    font-family: "Kurale", serif;
    letter-spacing: 18px;
    font-size: 30px;
    color: white;
    text-shadow: 
        -1px -1px 0 #323232,  
         1px -1px 0 #323232,
        -1px  1px 0 #323232,
         1px  1px 0 #323232;
}
.hero h3{
    font-family: "Kurale", serif;
    font-size: 100px;
    letter-spacing: 50px;
}
.gradient-text-h1 {
    height: auto;
    background: linear-gradient(
    to bottom,
    white 30%,
    #ff8b8b 70%,
    #ff3b3b 100%,
    #ff2929 100%
  );
    background-clip: text;
  -webkit-background-clip: text;
  color: transparent; 
  -webkit-text-fill-color: transparent;
}
.gradient-text-h3 {
    height: auto;
    background: linear-gradient(
    to top,
    white 30%,
    #ff8b8b 60%,
    #ff3a3a 80%,
    #ff2222 100%
    
  );
    background-clip: text;
  -webkit-background-clip: text;
  color: transparent; 
  -webkit-text-fill-color: transparent;
}
.about {
    background-color: black;
    color: white;
    min-height: 700px;
    padding: 80px 5%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 80px;
}

/* LEVA STRANA (tekst + dugme) */
.about-left {
    max-width: 700px;
    display: flex;
    flex-direction: column;
}

.about-left h2 {
    font-size: 48px;
    margin-bottom: 30px;
}

.about-left p {
    font-size: 21px;
    line-height: 1.5;
    text-align: justify;
    letter-spacing: 1px;
}

/* DUGME */
.btn {
    background-color: rgb(157, 11, 11);
    font-size: 28px;
    padding: 14px 28px;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    text-decoration: none;
    margin-top: 35px;
    display: inline-block;
    max-width: 210px;
    text-align: center;
}

.btn:hover {
    background-color: rgb(227, 227, 227);
    color: rgb(205, 11, 11);
}

/* DESNA STRANA (slike) */
.about-right {
    display: grid;
    
    gap: 15px;
}

.about-right img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border: 2px solid white;
}
.kontakt{
    display: flex;
    text-align: center;
    height: 500px;
    font-size: 40px;
    justify-content: center;
}
.kontakt h1{
    color: white;
}
.kontakt strong{
    color: rgb(190, 17, 17);
}
.rights{
    background-color: rgb(110, 0, 0);
    color: white;
    height: 70px;
    font-size: 18px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;

}

/*telefon*/
@media (max-width: 768px) {
    .about h2{
    animation: appear 5s linear;
    animation-timeline: view();
    animation-range: entry 0 cover 1%;
    }
    .about p{
    animation: appear 5s linear;
    animation-timeline: view();
    animation-range: entry 0 cover 1%;
    }
    .btn{
    animation: appear 5s linear;
    animation-timeline: view();
    animation-range: entry 0 cover 20%;
    }
    .about img{
    animation: appear 5s linear;
    animation-timeline: view();
    animation-range: entry 0 cover 30%;
    }
    .kontakt{
    animation: appear 5s linear;
    animation-timeline: view();
    animation-range: entry 0 cover 20%;
    }
    .nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #000000;
    height: auto;
   }
    .nav ul{
    list-style: none;
    display:flex;
    }
    .nav a{
        font-size: 15px;
    }
    .hero {
        height: 300px;
        background-size: 140%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-position-x: -50px;
    }
    .hero h1{
        margin-top: 45px;
        font-size: 50px;
        letter-spacing: 12px;
        line-height: 1;
    }
    .hero h3{
        font-size: 45px;
        letter-spacing: 12px;
        line-height: 1;
    }
    .hero h2{
        font-size: 18px;
        letter-spacing: 5px;
    }
    .gradient-text-h1,
    .gradient-text-h3{
        height:auto;
    }
    .about{
        margin-top: -10px;
        background-color: black;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
    }
    .about-left{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .about-right{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .about img{
        width: min(80%, 400px);
        height: auto;
    }
    .about p{
        text-align: center;
        max-width: 700px;
        font-size: clamp(16px, 2vw, 18px);
    }
    .about strong{
        font-size: 28px;
    }
    .about button{
        font-size: 20px;
    }
    .kontakt{
        position: relative;
        bottom: 10px;
        font-size: 12px;
        height: auto;
        padding: 30px 10px;
    }

    .rights{
        font-size: 11px;
        height: auto;
        padding: 10px;
    }
}
/*tablet*/
@media (min-width: 768px) and (max-width:1024px){
    .nav a{
        font-size: 20px;
    }
    .hero {
        height: 430px;
        background-size: 110%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-position-x: 0px;
    }
    .hero h1{
        margin-top: 50px;
        font-size: 50px;
        letter-spacing: 12px;
        line-height: 1;
    }
    .hero h3{
        font-size: 50px;
        letter-spacing: 12px;
        line-height: 1;
    }
    .hero h2{
        font-size: 20px;
        letter-spacing: 5px;
    }
    
    .kontakt{
        font-size: 20px;
        height: auto;
        padding: 30px 10px;
    }
    .about{
        margin-top: -10px;
        background-color: black;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
    }
    .about-left{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .about-right{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .about img{
        width: min(80%, 400px);
        height: auto;
    }
    .about p{
        text-align: center;
        max-width: 700px;
        font-size: clamp(16px, 2vw, 18px);
    }
    .about strong{
        font-size: 28px;
    }
    .about button{
        font-size: 20px;
    }
    .rights{
        font-size: 13px;
        height: auto;
        padding: 10px;
    }
}
@media (min-width: 1024px) and (max-width:1440px){
    .kontakt{
    animation: appear 5s linear;
    animation-timeline: view();
    animation-range: entry 0 cover 10%;
    }
    .nav a{
        font-size: 20px;
    }
    .hero {
        background-position-x: -20px;
        height: 650px;
        background-size: 110%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .hero h1{
        margin-top: 50px;
        font-size: 70px;
        letter-spacing: 12px;
        line-height: 1;
    }
    .hero h3{
        font-size: 70px;
        letter-spacing: 12px;
        line-height: 1;
    }
    .hero h2{
        font-size: 40px;
        letter-spacing: 5px;
    }
    
    .kontakt{
        font-size: 20px;
        height: auto;
        padding: 30px 10px;
    }
    .about{
        margin-top: -10px;
        background-color: black;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
    }
    .about-left{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .rights{
        font-size: 13px;
        height: auto;
        padding: 10px;
    }
}