
* {
      margin: 0px;
      padding: 0px;
      font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
}

html, body {
      background-color: rgb(33, 37, 41);
      height: 100%;
      width: 100%;
}

header {
      display: flex;
      float: left;
      position: relative;
      width: 100%;
      height: 8%;
      background-color: rgb(19, 20, 20);
      color: white;
      align-items: center;
      box-shadow: black 0px 2px 10px;
      z-index: 40;
}

nav {
      display: flex;
      width: 100%;
      height: 50%;
      margin-left: 20%;
      margin-right: 20%;
      justify-content: center;
      text-align: center;
}

a:visited, a:link {
      color: white;
      text-decoration: none;
}

nav a span::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0px;
    background-color: rgb(202, 61, 0);
    transform: scaleX(0);
    transform-origin: right bottom;
    transition: transform 0.25s ease-out;
}

nav a span#jacht::after {
    background: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='6'%3E%3Cpath d='M0 3 Q5 0 10 3 Q15 6 20 3' stroke='%230077cc' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: bottom;
    height: 6px;
    bottom: -6px;
    transform: none;
    clip-path: inset(0 100% 0 100%);
    transition: clip-path 0.3s ease-out;
}

nav a:hover span#jacht::after {
    transform: none;
    clip-path: inset(0 0 0 0);
}

nav a:hover span::after {
    transform: scaleX(1);
    transform-origin: left bottom;
}

main {
      width: 100%;
      float: left;
      min-height: 88%;
      background-color: rgb(32, 34, 34);
      color: white;
      justify-content: center;
      align-items: center;
      position: relative;
      display: flex;
}

p strong {
      color: rgb(150, 0, 0);
}

@media screen and (orientation: landscape) {
      #πerdolenie {
            text-align: center;
            font-size: clamp(12px, 3vh, 28px);
            max-width: 55vw;
      }

      nav a {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100%;
            flex: 1;
      }

      nav a span {
            position: relative;
            font-weight: 700;
            font-size: clamp(11px, 2.5vh, 22px);
            text-shadow: black 0px 5px 5px;
      }

      footer {
            height: 4%;
            width: 100%;
            font-size: clamp(9px, 1.75vh, 18px);
            display: flex;
            float: left;
            box-shadow: black 0px 2px 10px;
            background-color: rgb(19, 20, 20); color: white;
            justify-content: center;
            align-items: center;
            z-index: 40;
      }
}

@media screen and (orientation: portrait) {
      #πerdolenie {
            text-align: center;
            font-size: clamp(12px, 3vw, 24px);
            max-width: 55vh;
      }

      nav a {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100%;
            flex: 1;
            z-index: 1;
      }

      nav a span {
            position: relative;
            font-weight: 700;
            font-size: clamp(8px, 2.5vh, 16px);
            text-shadow: black 0px 5px 5px;
      }

      footer {
            height: 4%;
            width: 100%;
            font-size: clamp(9px, 2.5vw, 16px);
            display: flex;
            float: left;
            box-shadow: black 0px 2px 10px;
            background-color: rgb(19, 20, 20); color: white;
            justify-content: center;
            align-items: center;
            z-index: 40;
      }
}
