@font-face {
  font-family: 'MyCustomFont';
  src: url('../font_cormorant.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'InterFont';
  src: url('../Inter-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  margin: 0;
  background-color: #FAF8F5;
}

.custom_font {
  font-family: 'MyCustomFont', sans-serif;
}

.inter_font {
  font-family: "InterFont", sans-serif;
}

.link-text {
  text-decoration: none;
  color: black;
  font-size: 20px;
}

.link-text:hover {
  color: black;
}

.img-icon {
  height: 40px;
  width: 40px;
}

.img-logo {
  height: 150px;
  width: auto;
  transition: height 0.3s ease;
}

.index_header {
  font-size: 25px;
}

.img-wrapper {
  width: 100%;
  display: flex;
}

.img-cover {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.oval-image {
  width: 80%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% / 40%;
  overflow: hidden;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.oval-image:hover {
  transform: scale(1.05);
}

.contact-link {
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.contact-link:hover {
  background-color: #333;
  color: #fff;
}

.navbar-transparent {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
}

.navbar {
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
}

.nav_desktop {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
  height: 75px;
}

.navbar-shrink {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.navbar-shrink .img-logo {
  height: 80px;
}

/* Dwa rzędy linków domyślnie */
#navbar-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  transition: all 0.3s ease;
}

#top-row,
#bottom-row {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

/* Jeden rząd linków po scrollu */
.navbar-shrink #navbar-links {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
}

.navbar-shrink #top-row,
.navbar-shrink #bottom-row {
  gap: 1rem;
  margin: 0;
}

/* Styl dla prawej sekcji linków w trybie "po scrollu" */
#right-links {
  transition: all 0.3s ease;
}

#right-links-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.navbar-shrink #right-links-list {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.navbar-shrink #right-links {
  align-items: center;
}
