
.content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#podtekst {
    font-size: 15px;
    /* padding-top: 20px; */
    font-weight: normal;
}

h3 {
    font-weight: normal;
    letter-spacing: 0.1em;
    word-spacing: 0.2em;
    font-size: 10px;
}

#naslov {
    width: 50%
    font-weight: bold;
    font-size: 22px;
}

.img {
    width: 120px;
}

.logo {
    width: 180px;
    vertical-align: middle;
}


.butt{
    display: inline-block;
    width: 200px;
    background: linear-gradient(to right,#309977,#185a5f);
    line-height: 55px;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
}

.mail {
    color: black;
    text-decoration: none;
}

.mail:hover {
  color: #309977;
}

@media only screen and (max-width: 600px){
  #naslov{
    font-size: 22px;
  }
  .img {width: 100px;}
  .logo {width: 120px;}
  .butt {
    width: 120px;
    line-height: 40px;
    font-size: 0.6em;
  }
  p { font-size: 0.6em; }
  h3 { font-size: 0.5em;}
  #podtekst { font-size: 0.7em; }
  .content {
    margin: auto;
    width: 80%;
  }
}

@media only screen and (min-width: 601px) {
    #naslov {
        font-size: 37px;
        width: 100%;
    }
    .img { width: 110px; }
    .logo { width: 150px; }
    .butt {
        width: 180px;
        line-height: 50px;
        font-size: 0.9em;
    }
    p { font-size: 0.8em; }
    h3 { font-size: 0.7em;}
    #podtekst { font-size: 0.8em; }
    .content {
        margin: auto;
        width: 70%;
    }
}

@media only screen and (min-width: 992px) {
    #naslov {
        font-size: 22px;
    }
    .img {width: 130px;}
    .logo {width: 180px;}
    .butt{
        width: 200px;
        line-height: 55px;
        font-size: 1em;
    }
    h3 {font-size: 9px;}
    p { font-size: 10px; }
    #podtekst {font-size: 10px;}
    .content {
        margin: auto;
        width: 70%;
    }
}

* {
    box-sizing: border-box;
  }
  body {
    margin: 0;
    padding: 0;
    font-family: 'Varela Round', sans-serif;
    background-color: hsla(360, 0%, 99.8%, 0.98);
    color: hsl(360, 0%, 20%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    touch-action: none;
  }
  h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
  }
  p {
    font-size: 0.85rem;
    margin-bottom: 2rem;
  }
  iframe {
    /* width: 80vw; */
    max-width: 700px;
    height: 60vh;
    max-height: 90vh;
    aspect-ratio: 15 / 10;
    border: 4px solid #fff;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    touch-action: none;
  }

  /* Optional: Adjust iframe for very small screens */
  @media (max-width: 400px) {
    iframe {
      height: 50vh;
      aspect-ratio: 8 / 10;
      border-width: 2px;
      border-radius: 8px;
    }
  }

  a {
    margin-top: 1rem;
    display: inline-block;
    color: #00c3ff;
    text-decoration: none;
    font-weight: bold;
  }
  a:hover {
    text-decoration: underline;
  }