@font-face {
  font-family: JosefinSans;
  src: url("/assets/fonts/JosefinSans.woff2");
  font-display: swap;
}

@font-face {
  font-family: JosefinSans;
  src: url("/assets/fonts/JosefinSans-Italic.woff2");
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Birthstone;
  src: url("/assets/fonts/Birthstone.woff2");
  font-display: swap;
}

html, body {
  font-family: JosefinSans, sans-serif;
  font-weight: 300;
  color: black;
  margin: 0;
  padding: 0;
  word-break: break-word;
  background-color: #d3c7c7;
  background-size: cover;
  background-position: center;
}

a {
  color: black;
  text-decoration: none;
}

ul a:hover {
  text-decoration: underline;
}

header {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 32px;
}

header ul {
  font-size: x-large;
  list-style: none;
  display: flex;
  justify-content: end;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 10px;
  font-weight: 400;
  flex-wrap: wrap;
}

header img {
  width: 1em;
  height: auto;
}

header ul li + li:before {
  content: "·";
  margin-right: 10px;
}

footer {
  padding: 8px 32px;
  color: #786c6c;
  font-size: 16px;
}

.obraz1 {
  flex: 1;
  box-sizing: border-box;
  height: 100dvh;
  position: sticky;
  top: 0;
  background-image: url("/assets/images/bg-vertical.webp");
}

.obraz2 {
  display: none;
  background-image: url("/assets/images/bg-horizontal.webp");
}

.obraz {
  background-color: #a95656;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right;
}

.container {
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
}

.content {
  display: flex;
  flex-direction: column;
  flex: 1.5;
  align-items: end;
  min-height: 100dvh;
}

.main {
  flex: 1;
  font-size: 1.2em;
  display: flex;
  justify-content: center;
  flex-direction: column;
  box-sizing: border-box;
}

.name {
  font-family: Birthstone, sans-serif;
  font-size: min(calc(52px + 0.4vw), 68px);
  font-weight: 700;
}

.big {
  font-weight: 700;
  font-size: min(calc(22px + 0.2vw), 28px);
}

#home img {
  height: 3em;
}

.index {
  padding: 1em 2em;
  box-sizing: border-box;
  max-width: 800px;
  text-align: right;
  align-self: center;
}

.index p {
  font-size: min(calc(28px + 0.3vw), 32px);
  font-style: italic;
}

.main {
  align-self: start;
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
}

.page-content {
  margin: auto;
  padding: 2em;
  box-sizing: border-box;
  max-width: 900px;
  align-self: start;
  text-align: justify;
}

.page-content p, .page-content ul {
  font-weight: 330;
}

#self img {
  max-width: 300px;
  height: auto;
  float: right;
  border-radius: 7px;
  margin-left: 2em;
}

.btn-contain {
  display: flex;
  justify-content: end;
}

.button {
  display: block;
  width: fit-content;
  background-color: #ed6706;
  box-sizing: border-box;
  color: white;
  font-size: 1.2em;
  transition: 0.3s ease-in-out all;
  border: 2px solid #ed6706;
  border-radius: 7px;
  padding: 10px 7px 8px 7px;
}

.button:hover {
  background-color: transparent;
  color: black;
  box-sizing: border-box;
}

@media screen and (max-width: 1100px) {
  #self img {
    float: none;
    max-width: 90%;
    margin: 0;
  }

  .index {
    text-align: center;
    max-width: 700px;
    padding: 1em;
  }
  
  .content {
    align-items: center;
  }

  .main {
    align-items: center;
  }

  .btn-contain {
    justify-content: center;
  }
  
  header {
    padding: 10px 8px;
  }

  header ul {
    justify-content: center;
  }

  footer {
    padding: 8px;
  }
}

@media screen and (max-width: 910px) {
  .obraz1 {
    display: none;
  }

  .obraz2 {
    display: block;
    width: 100%;
    height: 300px;
  }
}

.contact-info {
  font-size: 1.3em;
  display: flex;
  gap: 0.5em;
  padding: 10px 0;
  align-items: center;
}

.contact-info a:hover {
  text-decoration: underline;
}

.icon {
  display: inline-block;
  background-color: #ed6706;
  border: 2px solid #ed6706;
  box-sizing: border-box;
  border-radius: 50%;
  width: 1.5em;
  height: 1.5em;
  aspect-ratio: 1;
  flex: 0;
}

