/* === style.css === */
/*
Theme Name: Trudeau theme
Author: Sreesh Poudyal
Version: 1.0
*/

body {
  margin: 0;
  font-family: 'Georgia', serif;
  background: #78dfff;
  color: #000;
}

h1{
  font-family: 'Italiana';
  src: url(./fonts/Italiana/Italiana-Regular.ttf) format('truetype');
  font-size: 86px;
  font-weight: 300;
  margin: 0px;
  line-height: 90%;
}

h3{
  font-family: 'Italiana';
  src: url(./fonts/Italiana/Italiana-Regular.ttf) format('truetype');
  font-size: 32px;
  font-weight: 300;
}

h2{
  font-family: 'Jost';
  src: url(./fonts/Jost/Jost-VariableFont_wght.ttf) format('truetype');
  font-size: 54px;
  font-weight: 400;
  text-align: center
}

h4{
  font-family: 'Jost';
  src: url(./fonts/Jost/Jost-VariableFont_wght.ttf) format('truetype');
  font-size: 36px;
  font-weight: 400;
}

h6{
  font-family: 'Italiana';
  src: url(./fonts/Italiana/Italiana-Regular.ttf) format('truetype');
  font-size: 32px;
  font-weight: 400;
  margin: 0;
}

h5, p, a, label {
  font-family: 'Jost';
  src: url(./fonts/Jost/Jost-VariableFont_wght.ttf) format('truetype');
  font-size: 24px;
  font-weight: 400;
}

nav {
  background: #78dfff;
  border: 5px solid #161616;
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-weight: 500;
}

button{
  background-color: #ffffff;
  font-family: 'Jost';
  src: url(./fonts/Jost/Jost-VariableFont_wght.ttf) format('truetype');
  font-size: 24px;
  font-weight: 400;
  color: #000000;
  border: none;
  border-radius: 5px;
}

input, textarea {
  font-family: 'Jost';
  src: url(./fonts/Jost/Jost-VariableFont_wght.ttf) format('truetype');
  font-size: 24px;
  font-weight: 400;
  border-radius: 5px;
  border: 2px solid #000000;
}

nav a {
  color: #000;
  text-decoration: none;
}

.see-more a{
  font-size: 36px;
}

.header {
  background: #ee5454;
  border-left: 5px solid #000;
  border-right: 5px solid #000;
  color: #000000;
  padding: 0;
}


section {
  max-width: 960px;
  margin: auto;
}

.reviews, .about, .stories, .contact {
  margin-top: 1rem;
}

.reviews .card {
  background: #f6db35;
  padding: 1rem;
  border: 5px solid #000000;
  border-radius: 5px;
  color: #000000;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
}

.contact form {
  background: #f6db35;
  border: 5px solid #000000;
  padding: 1rem;
  border-radius: 5px;
  color: #000000;
}

.card {
  height: auto;
  overflow: hidden;
}

.card img {
  max-width: 225px;
  height: auto;
  border-radius: 4px;
  flex-shrink: 0;
}

.card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card blockquote {
  font-family: 'Jost', sans-serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: auto;
}

.card .see-more, .send {
  align-self: flex-end;
  background-color: #ee5454;
  color: #000000;
  border: 5px solid #000000;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
  white-space: nowrap;
}

.card .see-more:hover, .send:hover {
  background-color: #fff;
}

.swiper-button-prev, .swiper-button-next {
  background-color: #fff;
  border-radius: 5px;
}

.swiper-button-prev::after, .swiper-button-next::after {
  font-size: 10px;
  color: #000000;
}
.quote {
  font-family: 'Jost';
  src: url(./fonts/Jost/Jost-VariableFont_wght.ttf) format('truetype');
  font-size: 36px;
  font-weight: 400;
  font-style: italic;
  max-width: 60%;
}

.story-links ul {
  list-style: square;
  background: #ee5454;
  color: #000000;
  padding: 1rem;
  border-radius: 5px;
  border: 5px solid #000000;
}

.story-links li {
margin: 10px;
}

.story-links a {
  color: #000000;
  text-decoration: underline;
}

.accordion-section {
  padding: 1rem;
  font-size: 24px;
  font-weight: 400;
  color: #000000;
}

.accordion-item {
  margin-bottom: 1rem;
  border-bottom: 2px solid #000000;
  font-size: 24px;
  font-weight: 400;
  color: #000000;
}

.accordion-btn {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;
  font-family: 'Jost';
  src: url(./fonts/Jost/Jost-VariableFont_wght.ttf) format('truetype');
  font-size: 24px;
  font-weight: 400;
  color: #000000;
}

.accordion-btn::after {
  content: '+';
  float: right;
  font-family: 'Jost';
  src: url(./fonts/Jost/Jost-VariableFont_wght.ttf) format('truetype');
  font-size: 24px;
  font-weight: 400;
  color: #000000;
  border: none;
}

.accordion-btn.active::after {
  content: '×';
  font-family: 'Jost';
  src: url(./fonts/Jost/Jost-VariableFont_wght.ttf) format('truetype');
  font-size: 24px;
  font-weight: 400;
  color: #000000;
  border: none;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 24px;
  font-weight: 400;
  color: #000000;
}


footer {
  text-align: center;
  padding: 1rem;
  background: #ee5454;
  color: #000;
  border: 5px solid #000000;
  margin-top: 4rem;
}

@media screen and (max-width: 768px) {

  h1 {
    font-size: 48px;
    line-height: 1.1;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 24px;
  }

  h4, h5, h6, p, a, label, input, textarea, button {
    font-size: 18px;
  }

  .header {
    flex-direction: column;
    text-align: center;
  }

  .header div {
    padding: 10px;
  }

  .reviews .card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .card img {
    max-width: 100%;
    height: auto;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  .quote {
    font-size: 24px;
    max-width: 90%;
    margin: 1rem auto;
  }

  .story-links ul {
    padding: 1rem;
  }

  .story-links {
    margin-top: 1rem;
  }

  .stories > div {
    flex-direction: column;
    align-items: center;
  }

  .contact form {
    padding: 1rem;
  }

  .contact form > div {
    flex-direction: column;
  }

  .contact form input,
  .contact form textarea {
    width: 100% !important;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
  }
}
