/* Override default style and set padding and margin to nothing */
@import url("https://fonts.googleapis.com/css2?family=Tangerine:wght@700&display=swap");

:root {
  --color-white: #fff;
  --color-black: #000;
  --color-purple: purple;
  --color-lavender: #9867c5;
  --color-orange: #ff5a1f;
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* White text throughout */

body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: #fff;
  background-color: var(--color-lavender);
}

/* Make all link text black with no text decoration */
a {
  color: black;
  text-decoration: none;
}

h1 {
  font-size: 30px;
  font-weight: 600;
  margin: 10px 0;
  line-height: 1.2;
  color: black;
}

/* All images must not be larger than parent container */
img {
  width: 100%;
}

/* No styling on list items */
li {
  list-style-type: none;
}

p {
  font-size: 18px;
  margin: 10px 0;
  color: black;
}

.container {
  margin: 0 auto;
  padding: 0;
  max-width: 1175px;
  width: 100%;
}

/*Header section*/
.header {
  display: flex;
  margin: 0;
  background-color: var(--color-purple);
}

.header-title {
  text-align: center;
  font-size: 75px;
  font-family: "Tangerine", cursive;
  margin: 15px 0 20px 0;
  color: var(--color-orange);
  letter-spacing: 2px;
}
.header-subtitle {
  margin: 15px 0 15px 0;
  padding: 0 10px;
  text-align: right;
  font-size: 18px;
  color: var(--color-orange);
  letter-spacing: 2px;
  line-height: 22px;
}
/* Sets background color, height and padding*/

.navbar {
  background-color: var(--color-purple);
  height: 100px;
  padding: 0 10px;
}

.navbar .flex {
  display: flex;
  align-items: center;
  justify-content: right;
  height: 100%;
  z-index: -1;
}

.navbar ul {
  display: flex;
}

/* Changes the color of both links to white, adds padding between them and margin as well */

.navbar a {
  color: var(--color-white);
  font-weight: bold;
  padding: 10px 0;
  margin: 0 10px;
}

.navbar a:hover {
  color: #9867c5;
  border-bottom: 3px solid #9867c5;
}

/*Add Showcase section styles*/

.showcase {
  height: 300px;
  background-color: var(--color-lavender);
  font-size: 14px;
  border: none;
}

/* Adds a shadow below the image */

.showcase img {
  box-shadow: 7px 7px 7px rgba(0, 0, 0, 0.5);
}

.grid {
  overflow: visible;
  display: grid;
  grid-template-columns: auto;
}

.grid-item-1 {
  position: relative;
  top: 30px;
}

/*Add lower content section styles*/

/* Centers the container, sets a maximum width*/

.lower-container {
  margin: 50px auto;
  padding: 0;
  max-width: 1175px;
}

/* Targets all h3 with class of title */
.title {
  color: black;
  font-size: 20px;
  text-align: left;
  padding-left: 10px;
  padding-top: 10px;
}

/* Targets the paragraphs with class name of text */
.text {
  color: black;
  font-size: 15px;
  width: 100%;
  padding: 10px;
  margin: 0, 20px;
  text-align: justify;
}

/* Display horizontally, put a little space around them */
.flex {
  display: flex;
  justify-content: space-around;
}

/* Add some padding around the container. Align text centrally */
.stats {
  padding: 45px 50px;
  text-align: center;
}

/* Set margin and width */
.stat {
  margin: 0 30px;
  text-align: center;
  width: 100%;
}

/*Add Event Schedule Styles*/

.carousel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-gap: 16px;
  padding: 16px;
}

.carousel > .carousel--item {
  background-position: center;
  background-size: cover;
  height: auto;
  width: auto;
}

.bank-info {
  color: maroon;
  font-size: 20px;
  font-weight: bold;
}

.bank-caution {
  text-decoration: underline;
}
caption {
  padding: 10px;
  caption-side: bottom;
}

table {
  border: none;
  border-collapse: collapse;
  border: 2px solid rgb(200, 200, 200);
  letter-spacing: 1px;
  font-size: 0.8rem;
  margin: 0 auto;
}
caption {
  caption-side: top;
}
td,
th {
  border: none;
  padding: 7px 5px;
}

th {
  background-color: #13212a;
}

td {
  text-align: center;
}

tr:nth-child(even) td {
  background-color: #c4dae3;
}

tr:nth-child(odd) td {
  background-color: #f7fbff;
}

/*Add Testimonial Styles*/

.testimonial {
  color: black;
  padding: 40px;
}

/* Wrap the image inside a cirle shape and set height to take up all of parent element */

.testimonial img {
  height: 100%;
  clip-path: circle();
}

/* Align text centrally */

.testimonial h3 {
  text-align: center;
}

.testimonial p {
  padding-top: 10px;
}

/* Create a grid of three equal columns. Set a gap of 40 px between them */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Create a white card with some shadow around it */
.card {
  padding: 10px;
  background-color: #d1d5dc;
  border-radius: 10px;
  box-shadow: -7px -7px 20px rgba(0, 0, 0, 0.2), 7px 7px 20px rgba(0, 0, 0, 0.2);
}

.card a {
  color: #00196d;
  text-decoration: none;
}

.card a:hover {
  color: #010101;
  border-bottom: 3px solid #9867c5;
}

/* Add padding around the footer as well */

footer {
  background-color: purple;
  padding: 20px 15px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}
.copyright {
  font-size: 12px;
  word-spacing: 10px;
  color: black;
}
/* Sets all link texts to white and puts margin to the left and right */

footer a {
  color: white;
  margin: 0 10px;
}

footer a:hover {
  color: #9867c5;
  border-bottom: 2px solid #9867c5;
}

/* Tablet device */
@media (max-width: 768px) {
  .header {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  .header-title {
    text-align: center;
    font-size: 35px;
    font-family: "Tangerine", cursive;
    margin: 5px 0 10px 0;
    color: var(--color-orange);
  }

  .grid,
  .grid-3,
  .carousel {
    grid-template-columns: 1fr;
  }

  /* Align all text to the center. This will move all text, including form centrally */

  .showcase {
    height: auto;
    text-align: center;
  }

  /* This resets the width of the image container and adds margin space to the left */

  .image {
    width: 600px;
    margin-left: 80px;
  }

  /* Changes the service sections from side-by-side orientation to each taking its own line. Aligns text to the center */

  .stats {
    text-align: center;
  }

  .stats .flex {
    flex-direction: column;
  }

  /* Makes sure each stat section does not exceed the width of parent */

  .stat {
    width: 100%;
    padding-right: 80px;
  }
}
/* Mobile devices */
@media (max-width: 500px) {
  .header {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .header-title {
    text-align: center;
    font-size: 35px;
    font-family: "Tangerine", cursive;
    margin: 5px 0 10px 0;
    color: var(--color-orange);
  }

  .header-subtitle {
    text-align: center;
  }

  /* Changes the alignment. The logo title stays at the top, the nav links will be below it */

  .navbar .flex {
    flex-direction: column;
    text-align: center;
  }

  /* When hovered on, retain white color and change border to black */

  .navbar a:hover {
    color: white;
    border-bottom: 2px solid black;
  }

  /* Set light purple background on nav links, make it a bit round and add some spacing */

  .navbar ul {
    display: flex;
    justify-items: flex-start;
    padding: 10px 0;
  }

  /* Align text to center */

  .showcase {
    height: auto;
    text-align: center;
  }

  /* Reduce image width */

  .image {
    width: 350px;
    margin-left: 70px;
  }

  .stat {
    margin-bottom: 40px;
  }
}
