body {
  font-family: 'montserrat', sans-serif;
  margin: 0;
  background-color:#FFFFFF;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}

h1 {
    text-align: center;
    font-family: montserrat;
	margin-top: 0
}

h2 {
    font-family: inter;
    margin-bottom: -2px;
	font-weight: 500;
}


h4 {
    font-family: inter;
    margin-bottom: -3px;
	font-weight: 500;
}

h3 {
    font-family: inter;
    margin-bottom: -3px;
	font-weight: 600;
}

p {
  font-size: 1.5em;
}

main {
  padding-left: 2%;
  padding-right: 2%;
}

.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1e3a5f;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1em;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 999;
}

.toast.show {
  opacity: 1;
}

.navbar {
  padding-left: 2%;
  padding-right: 2%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight:500;
  font-size:17px;
  
  background-color: #1e3a5f;
  color: white;
  width: 100%;
}

.logo img {
  height: 135px;
  width: auto;
  display: block;
  margin: 0; 
  margin-top: -35px; 
  margin-bottom: -35px;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  margin-top:1%;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  /*color: black;*/
  font-family: inherit;
  position: relative;
}

.nav-links a:hover {
   text-shadow: 0.6px 0 0 currentColor;
}


.nav-links a.active {
  padding-bottom: 2px;
  text-shadow: 0.6px 0 0 currentColor;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 80%;
  height: 2px;
  background-color: #c72828;
  transform: translateX(-50%);
}

/*HOME*/

#view {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

ul li {
  margin-bottom: 20px;
  font-size:18px;
}

.list-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 15px;
}

ul {
  display: inline-block; 
  text-align: left;
  list-style-type: disc;
  padding-left: 20px;
}

/*PRICES*/

.table-container {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  width: 100%;
}

.services-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 600px;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.services-table th, 
.services-table td {
  padding: 15px 25px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.services-table th {
  background-color: #9B8AFF;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9em;
  letter-spacing: 1px;
}

.services-table tr:last-child td {
  border-bottom: none;
}

.services-table th:last-child {
  text-align: right;
}

.services-table td:last-child {
  font-weight: 600;
  color: #333;
  text-align: right;
}

.services-table tr:nth-child(even) {
  background-color: #E2E2E2;
}

/*ABOUT*/

#about-margin {
	margin: 1%;
}


.whoami-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.highlight {
  position: relative;
  display: inline-block;
  font-family: inherit;
}

.circle-svg {
  position: absolute;
  left: -15px;
  top: -12px;
  width: 140%;
  height: 180%;
  pointer-events: none;
}

.circle-svg ellipse {
  fill: none;
  stroke: black;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
}

.circle-svg.animate ellipse {
  animation: drawCircle 1s ease forwards;
}

@keyframes drawCircle {
  to {
    stroke-dashoffset: 0;
  }
}

.image-wrapper {
  position: relative;
}

.line-svg {
  position: absolute;
  left: -200px;
  top: 50%;
  width: 300px;
  height: 60px;
  transform: translateY(-50%) rotate(-5deg);
  pointer-events: none;
}

.line-svg path {
  fill: none;
  stroke: black;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
}

.line-svg.animate path {
  animation: drawLine 1s ease forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

#draw {
  width: 180px;
  height: auto;
  opacity: 0;
  transform: translateX(15px) scale(0.95);
}

#draw.show {
  animation: revealImage 0.6s ease forwards;
}

@keyframes revealImage {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}


.underline {
	text-decoration: underline;
}

#images-books {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

#images-books img {
  width: 100%;
  max-width: 24%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

/*CONTACT*/

.form-container {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  width: 100%;
}

.form-fill {
  width: 100%;
  max-width: 500px;
  background-color: white;
  border-radius: 8px;
  overflow: visible;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.form-fill label {
  padding: 12px 25px;
  background-color: #6c60b5;
  color: white;
  border-bottom: 1px solid #eee;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 1px;
}

.form-fill input:focus, textarea:focus{
	outline: none;
	box-shadow: 0 0 2px 1px rgba(96, 181, 107, 1);
}


.form-fill input, 
.form-fill textarea {
  width: 100%;
  padding: 15px 25px;
  border: none;
  border-bottom: 1px solid #eee;
  border-radius: 5px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 1em;
  outline: none;
  background-color: white;
  transition: background-color 0.2s;
}

.form-fill input[type="email"],
.form-fill textarea {
  background-color: #fafafa;
}


.form-fill button {
  padding: 20px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-fill button:hover {
  background-color: #242424;
}

/*OTHER*/

footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
	margin-bottom:1%;
}

#bottom-left {
    align-self: flex-end;
}

/*MQ*/

@media (max-width: 540px) {

  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .logo img {
    height: 90px;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    width: 100%;
  }

  .nav-links li {
    margin: 8px 0;
  }

  .nav-links a {
    font-size: 16px;
  }
}

@media (max-width: 540px) {
  #images-books img {
    max-width: 100%;
  }
}


@media (max-width: 540px) {
  .line-svg {
    display: none;
  }
}

@media (max-width: 540px) {
  .whoami-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  #draw {
    width: 100%;
    max-width: 250px;
  }
}