body {
  font-family: "optima", sans-serif;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

:root {
  --blue-color: #1B1464;
  --blue-color-hover: #342B98;
}

h2 {
  font-size: 40px;
  margin: 16px 0;
  text-align: center;
  font-weight: bold;
  text-transform: capitalize;
  padding-top: 87px;
}

h3 {
  line-height: 0.4;
  font-size: 32px;
  margin: 16px 0;
}

p {
  line-height: 1.4;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.opaque-background {
  background-color: rgba(52, 43, 152, 0.1);
}

ul {
  list-style: none;
  padding: 0;
  line-height: 1;
}

li {
  line-height: 1.5;
}

.li-parent::before {
  content: '✓';
  color: #1B1464;
  margin-right: 5px;
}

.li-child::before {
  content: '•';
  padding-left: 20px;
  margin-right: 5px;
}

.italic {
  font-style: italic;
  color: #1B1464;
}

section {
  padding: 30px 30px;
}

.btn {
  padding: 12px 24px;
  border-radius: 24px;
  background: var(--blue-color);
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  transition: all 300ms ease;
}

.btn:hover {
  background: var(--blue-color-hover);
  color: white;
}

/* Navbar */

nav {
  box-shadow: 0 4px 40px -8px rgba(0, 0, 0, 0.3);
  position: fixed;
  left: 0;
  right: 0;
  z-index: 400;
  background: white;
  padding: 16px 30px;
  transition: all 900ms ease;
}

nav.scrolled {
  padding: 8px 30px;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .container a.logo {
  font-size: 24px;
}

nav .container a {
  text-decoration: none;
  font-weight: bold;
  color: #1B1464;
  font-size: 16px;
  text-transform: uppercase;
  transition: all 300ms ease;
}

nav .container a:hover {
  color: #DC0606;
}

nav .container .btn {
  color: white;
}

nav .container .btn:hover {
  color: white;
}

nav .container .logo {
  display: flex;
  font-size: 24px;
}

nav .container .logo-text {
  font-size: 24px;
  font-weight: bold;
  font-family: "optima", sans-serif;
  padding-left: 10px;
  margin: auto;
  color: #1B1464;
}

nav .container .logo-text a {
  font-size: 24px;
  font-weight: bold;
  font-family: "optima", sans-serif;
  padding-left: 10px;
  margin: auto;
}

.red-text {
  color: #DC0606;
}

nav .menu-items {
  display: flex;
  gap: 36px;
  align-items: center;
}

/* Header */

.header-swiper .swiper {
  height: 100%;
  width: 100%;
}

.header-swiper .swiper-slide {
  height: 100vh;
}

.header-swiper .swiper-slide .content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  width: 100%;
  position: relative;
  color: white;
  padding-top: 73px;
}

.header-swiper .swiper-slide .content::before {
  position: absolute;
  content: "";
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.header-swiper .swiper-slide img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.header-swiper .swiper-slide .slide-title,
.header-swiper .swiper-slide p {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1200ms ease-out, transform 900ms ease-out;
}

.header-swiper .swiper-slide.swiper-slide-active .slide-title,
.header-swiper .swiper-slide.swiper-slide-active p {
  opacity: 1;
  transform: translateY(0);
}

.header-swiper .swiper-slide .slide-title {
  font-size: 50px;
  font-weight: bold;
  z-index: 3;
  text-align: center;
}

.header-swiper .swiper-slide p {
  font-size: 20px;
  z-index: 3;
  transition-delay: 200ms;
  text-align: center;
}

.header-swiper .swiper-button-next,
.header-swiper .swiper-button-prev {
  padding: 6px;
  width: 50px;
  height: 60px;
  transition: all 300ms ease;
  color: white;
}

.header-swiper .swiper-button-next:hover,
.header-swiper .swiper-button-prev:hover {
  opacity: 1;
}

.header-swiper .swiper-button-next::after,
.header-swiper .swiper-button-prev::after {
  font-size: 20px;
  color: white;
}

/* Flex layout */

.flex-container {
  display: flex;
  flex-wrap: wrap;
}

.flex-box-text {
  height: auto;
  width: 100%;
  text-align: left;
  margin: 10px;
  padding: 20px;
  flex: 1 0 40%;
}

.flex-box-img {
  height: auto;
  width: 100%;
  text-align: left;
  margin: 10px;
  padding: 20px;
  flex: 1 0 40%;
}

.flex-box-img img {
  width: 100%;
  padding-top: 20px;
}

/* Gallery */

.gallery {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 0px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 250px;
  grid-auto-flow: dense;
  grid-gap: 20px;
}

.gallery .gallery-item {
  position: relative;
  background-color: white;
  overflow: hidden;
}

.gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

.gallery .gallery-item a {
  cursor: zoom-in;
}

.gallery .gallery-item:nth-child(3n - 2) {
  grid-column: span 2;
  grid-row: span 2;
}

/* Contact */

#contact form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  margin-bottom: 32px;
}

#contact form input,
#contact form textarea {
  width: 100%;
  font-family: "optima", sans-serif;
  font-size: 16px;
  padding: 8px 16px;
  border: solid #eee;
  background: #efefef;
  outline: none;
}

#contact form textarea {
  height: 160px;
  resize: none;
}

#contact .group1 {
  display: flex;
  gap: 12px;
}

#contact .group2 {
  display: flex;
  gap: 12px;
}

#contact .btn {
  padding: 12px;
  background: var(--blue-color);
  color: white;
  transition: all 300ms ease;
  cursor: pointer;
  max-width: 200px;
}

#contact .btn:hover {
  background: var(--blue-color-hover);
  color: white;
}

/* Footer */

footer {
  background-color: rgba(52, 43, 152, 0.5);
  color: black;
  padding-top: 60px;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: left;
}

footer .sections {
  display: flex;
  gap: 50px;
  justify-content: space-between;
}

footer .sections a {
  color: black;
  text-decoration: none;
}

footer .section {
  flex: 1;
}

footer h3 {
  margin-top: 0;
  line-height: 15px;
}

footer ul {
  padding: 0;
  list-style: none;
}

footer ul li a {
  color: black;
  text-decoration: none;
  line-height: 25px;
}

footer ul li a:hover {
  color: white;
}

footer .socials {
  display: flex;
  gap: 24px;
}

footer .socials img {
  height: 36px;
  transition: all 300ms ease;
}

footer .socials img:hover {
  transform: scale(1.1);
}

footer .copyright {
  background-color: #1B1464;
  color: white;
  padding: 18px;
  margin-top: 30px;
  text-align: center;
}

footer p{
  line-height: 1.5;
}


/* Misc */

.reg-text-container {
  display: contents;
  gap: 0px;
}

.reg-text-text {
  padding: 0 20px;
}

.reg-text-text p {
  line-height: 20px;
  padding-bottom: 15px;
}


/* Mobile Menu Items */

.mobile-menu-items {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  height: 100vh;
  width: 100%;
  background: #333;
  flex-direction: column;
  gap: 30px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 300ms ease;
  text-transform: uppercase;
  font-size: 16px;
}

.mobile-menu-items.active {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu-items a {
  text-decoration: none;
  color: white;
  font-size: 18px;
}

.mobile-menu-items .btn {
  color: white;
  font-size: 18px;
  font-weight: lighter;
}

.mobile-menu-items .close-icon {
  position: fixed;
  top: 10px;
  right: 20px;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
}

.mobile-menu-items .close-icon svg {
  width: 30px;
  color: #fff;
}

nav .menu-icon {
  display: none;
}

/* Smartphone */

@media (max-width: 800px) {
  nav .menu-items {
    display: none;
  }

  nav .menu-icon {
    display: block;
    cursor: pointer;
  }

  nav .menu-icon svg {
    width: 30px;
    display: flex;
  }

  .flex-box-img {
    display: none;
  }

  /* Hero section */

  .header-swiper .swiper-slide .slide-title {
    font-size: 30px;
  }

  .header-swiper .swiper-slide .content {
    padding-inline: 50px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 22px;
    justify-content: center;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 250px;
  }

  .gallery .gallery-item:nth-child(3n - 2) {
    grid-column: unset;
    grid-row: unset;
  }

  section {
    padding-inline: 30px;
  }

  #contact .group1 {
    flex-direction: column;
  }

  #contact .group2 {
    flex-direction: column;
  }

  footer .sections {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  footer .socials {
    justify-content: center;
  }
}

/* Cookie pop-up */

#cookie-notice {
	display: none;
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 999;
	max-width: 450px;
	margin: auto;
	padding: 0.5rem;
	border: 1px solid #eee;
	background-color: #fefefe;
	box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.05);
	font-family: Arial, Helvetica, sans-serif;
	line-height: 22px;
	font-size: 15px;
	text-align: center;
	color: #555;
}
.cookie-notice-more {
	margin: 0 0.25rem;
	text-decoration-style: dashed;
	color: inherit;
}
.cookie-notice-close {
	padding: 0 0.5rem;
	border: 1px solid #ddd;
	border-radius: 0.125rem;
	line-height: 20px;
	text-decoration: none;
	color: #888;
}
@media only screen and (min-width: 768px) {
	#cookie-notice {
		bottom: 1rem;
		border-radius: 0.25rem;
	}
	.cookie-notice-close {
		float: right;
	}
}