/* RESET */

/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
  box-sizing: border-box;
}
/*
  2. Remove default margin
*/
* {
  margin: 0;
}
/*
  Typographic tweaks!
  3. Add accessible line-height
  4. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/*
  5. Improve media defaults
*/
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
/*
  6. Remove built-in form typography styles
*/
input, button, textarea, select {
  font: inherit;
}
/*
  7. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
/*
  8. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

/* RESET END */

/* BODY START */

body {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto 1fr auto;
  overflow-x: hidden;
  min-height: 100vh;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color .5s ease-in-out;
}

  /* ADDING BLUR CLASSLIST TO BLUR CONTENT LATER */
  .blurred {
    filter: blur(8px);
  }

a {
  text-decoration: none;
  color: white;
}

.hide {
opacity: 0;
}

/* BODY END */

/* HEADER START */

header {
  width: 100%;
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 1;
  grid-row-end: 2;
  height: 100%;
}

.container {
grid-column-start: 1;
grid-column-end: 3;
display: grid;
grid-template-columns: repeat(3, 1fr);
height: 100%;
}

.book {
  width: 100%;
  height: 100%;
  grid-column-start: 1;
  grid-column-end: 4;
  position: relative;
}

.logo {
justify-self: center;
grid-column-start: 2;
grid-column-end: 3;
position: absolute;
width: 220px;
height: 220px;
align-self: start;
margin-top: -50px;
cursor: pointer;
}

.container > h2 {
justify-self: center;
grid-column-start: 2;
grid-column-end: 3;
position: absolute;
color: white;
align-self: center;
}

  /* NAV START */
  
  .icon-container {
    grid-column-start: 3;
    grid-column-end: 4;
    position: absolute;
    justify-self: end;
    margin-top: 3%;
    margin-right: 5%;
  }

  .navigation {
    grid-column-start: 3;
    grid-column-end: 4;
    justify-self: end;
    position: absolute;
    background: linear-gradient(109.6deg, rgb(36, 45, 57) 11.2%, rgb(16, 37, 60) 51.2%, rgb(0, 0, 0) 98.6%);
    height: 149.6%;
    width: 0px;
    transition: width 0.5s ease-in-out;
  }

  nav {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }

  .exit {
    width: 25px;
    height: 25px;
    margin: 5% 0 0 5%;
  }

  .exit:hover {
    cursor: pointer;
  }

  ul {
    list-style-type: none;
    grid-row-start: 1;
    grid-row-end: 5;
    line-height: 100px;
    font-size: 1.2rem;
  }

  .nav-icon-one {
    width: 40px;
    border: 2px solid white;
    grid-column-start: 3;
    grid-column-end: 4;
    justify-self: center;
    position: relative;
  }

  .nav-icon-two {
    width: 40px;
    border: 2px solid white;
    grid-column-start: 3;
    grid-column-end: 4;
    justify-self: center;
    margin-top: 6px;
  }

  .nav-icon-three {
    width: 40px;
    border: 2px solid white;
    grid-column-start: 3;
    grid-column-end: 4;
    justify-self: center;
    margin-top: 6px;
  }

  @keyframes rotate {
    0% {
      transform: rotate(0);
    }

    100% {
      transform: rotateY(-180deg);
    }
  }

  .icon-container:hover {
    cursor: pointer;
  }

  .click-icon {
    animation: rotate .5s ease-in-out 1;
  }

  .service {
    display: grid;
    grid-template-columns: 1fr;
    height: 25%;
  }

  .sunday {
    grid-column: 1/2;
    grid-row: 2/3;
    display: none;
    justify-self: center;
    align-self: start;
  }

  .tuesday {
    grid-column: 1/2;
    grid-row: 3/4;
    display: none;
    justify-self: center;
    align-self: start;
  }

  .cena {
    grid-column: 1/2;
    grid-row: 4/5;
    display: none;
    justify-self: center;
    align-self: start;
  }

  .vigil {
    grid-column: 1/2;
    grid-row: 5/6;
    display: none;
    justify-self: center;
    align-self: start;
  }


  /* NAV END */

main {
grid-row: 2/3;
grid-column-start: 1;
grid-column-end: 4;
display: grid;
grid-template-rows: repeat(2, 1fr) 2fr;
}

.intro {
grid-column-start: 1;
grid-column-end: 4;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: .03fr .7fr .5fr;
height: 100%;
}

.intro-title {
color: black;
grid-column-start: 2;
grid-column-end: 3;
align-self: start;
margin-top: 10px;
}

.service-image {
grid-column-start: 1;
grid-column-end: 2;
grid-row-start: 2;
grid-row-end: 3;
align-self: center;
justify-self: center;
width: 85%;
height: 85%;
opacity: 100;
transition: opacity .5s ease-in-out;
}

.intro-info1 {
grid-column-start: 2;
grid-column-end: 4;
grid-row-start: 2;
grid-row-end: 3;
align-self: center;
font-size: 1.2em;
margin-right: 25%;
margin-left: 10%;
justify-self: center;
}

.intro-info2 {
grid-column-start: 1;
grid-column-end: 4;
grid-row-start: 3;
grid-row-end: 4;
align-self: center;
font-size: 1.2em;
padding: 0 50px 0 50px;
margin-right: 10%;
margin-left: 10%;
}

.pastors {
grid-column-start: 1;
grid-column-end: 4;
grid-row: 2/3;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(2, .2fr) 1fr;
height: 101%;
}

.pastor-title {
grid-column-start: 2;
grid-column-end: 3;
color: black;
align-self: start;
}

.pastor-image {
grid-column-start: 2;
grid-column-end: 3;
align-self: center;
grid-row-start: 3;
grid-row-end: 4;
justify-self: center;
width: 550px;
height: 550px;
cursor: pointer;
margin-top: -16%;
opacity: 100;
transition: opacity .5s ease-in-out;
}

.pastor-name {
grid-column-start: 2;
grid-column-end: 3;
justify-self: center;
align-self: start;
grid-row-start: 2;
grid-row-end: 3;
font-size: 1.1em;
margin-top: -7%;
}

.leva-container {
  background-color: transparent;
  justify-self: center;
  align-self: center;
  width: 55%;
  height: 0;
  overflow: hidden;
  filter: blur(0);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
}

.leva-square {
width: 100%;
height: 100%;
padding: 30px;
background: radial-gradient(343px at 46.3% 47.5%, rgb(242, 242, 242) 0%, rgb(241, 241, 241) 72.9%);
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
position: relative;
margin-top: 10px;
text-align: center;
border-radius: 8px;
}

.leva-exit {
  cursor: pointer;
  height: 25px;
  width: 25px;
  grid-column-start: 3;
  grid-column-end: 4;
  justify-self: end;
  margin-top: 3%;
  margin-right: 5%;
  grid-row-start: 1;
  grid-row-end: 1;
}

.leva-square .leva-exit {
  position: absolute;
  top: 20px;
  right: 20px;
  margin: 0;
}

.pastor-info {
  width: 75%;
  text-align: center;
  font-size: 1.1em;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  margin-left: auto;
  margin-right: auto;
}

.band {
grid-row-start: 3;
grid-row-end: 4;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: auto auto;
justify-items: center;
align-items: start;
grid-column-start: 1;
grid-column-end: 4;
align-content: center;
height: 100%;
gap: 30px;
}

.band-title {
grid-column-start: 2;
grid-column-end: 3;
color: black;
align-self: start;
margin-top: 10%;
}

.joksan-info {
grid-column: 1/2;
grid-row: 2/3;
align-self: end;
justify-self: center;
}

.joata {
width: 250px;
height: 250px;
border-radius: 50%;
}

.joata-caption {
justify-self: center;
}

figure {
align-self: end;
justify-self: center;
opacity: 1;
transition: opacity .5s ease-in-out;
}

figure:hover {
cursor: pointer;
}

figcaption {
justify-self: center;
}

.abel-info {
  grid-column: 3/4;
  grid-row: 2/3;
}

.zaza {
width: 250px;
height: 250px;
border-radius: 50%;
}

.gadiel-info {
  grid-column: 2/3;
  grid-row: 2/3;
}

.baba {
width: 250px;
height: 250px;
border-radius: 50%;
}

.poopi-info {
grid-column: 2/3;
grid-row: 3/4;
justify-self: center;
align-self: center;
}

.poopi {
width: 250px;
height: 250px;
border-radius: 50%;
}

.rosa-info {
grid-column: 2/4;
grid-row: 2/3;
justify-self: center;
}

.rosa {
width: 250px;
height: 250px;
border-radius: 50%;
}

.intro-title, .pastor-title, .band-title {
  text-align: center;
  width: 100%;
  justify-self: center;
}

/* INFO PANELS THAT HOVER OVER BAND */

.member-box {
background-color: white;
justify-self: center;
align-self: center;
width: 55%;
height: 0;
overflow: hidden;
filter: blur(0);
display: flex;
justify-content: center;
align-items: center;

position: absolute;
z-index: 20;

border-radius: 8px;
}

.info-box {
width: 100%;
height: 100%;
padding: 30px;
background: radial-gradient(343px at 46.3% 47.5%, rgb(242, 242, 242) 0%, rgb(241, 241, 241) 72.9%);
display: grid;
grid-template-columns: 1fr 2fr 60px;
grid-template-rows: auto auto auto 1fr;
border-radius: 8px;
}

.member-image {
height: 160px;
width: 160px;
object-fit: cover;
grid-column: 1/2;
grid-row: 1/4;
justify-self: center;
align-self: center;
border-radius: 50%;
}

.member-paragraph {
grid-column: 1/4;
grid-row: 4/5;
align-self: start;
justify-self: center;
font-size: 1.1em;
width: 75%;
text-align: center;
margin-top: 30px;
}

.joata-paragraph, .abel-paragraph, .gadiel-paragraph, .isai-paragraph, .leva-paragraph {
  text-align: center;
}

.member-title {
  grid-column: 2/3;
  grid-row: 1/2;
  justify-self: start;
  align-self: end;
  text-align: left;
  color: black;
  margin-top: 10px;
  /* z-index: 2; */
}

.member-position {
grid-column: 2/3;
grid-row: 2/3;
justify-self: start;
align-self: start;
text-align: left;
font-size: 1.1em;
font-weight: bold;
margin-top: 2px;
/* z-index: 2; */
}

.band-exit {
  grid-column: 3/4;
  grid-row: 1/2;
  justify-self: end;
  align-self: start;
  margin-top: 20px;
  margin-right: 20px;
  cursor: pointer;
  z-index: 5;
  height: 25px;
  width: 25px;
}

.leva-square .member-position {
  margin-top: 4px;
  text-align: center;
  width: 100%;
}

.leva-square .member-title {
  margin-top: 10px;
  text-align: center;
  width: 100%;
}

/* FOOTER */

footer {
  grid-column: 1/-1;
  width: 100%;
  background-color: black;
}

.footer-container {
grid-column-start: 1;
grid-column-end: 4;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: 1fr;
width: 100%;
height: auto;
min-height: 200px;
}

.footer-brand {
  grid-column: 1/2;
  grid-row: 1/2;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  align-self: center;
  margin-left: 15%;
}

.footer-logo {
  width: 50px;
  height: 50px;
}

.long-logo {
  width: 105px;
  height: auto;
}

.footer-container ul li a {
  color: white;
  text-decoration: underline;
}

.footer-list {
  grid-column: 1/3;
  grid-row: 1/2;
  justify-self: center;
  align-self: center;
  margin-right: 30%;
  font-size: 1rem;
  font-weight: bold;
  line-height: 3.5;
}

.insta {
  height: 18px;
  width: 18px;
  grid-column: 3/4;
  grid-row: 1/2;
  justify-self: end;
  align-self: center;
  margin-right: 25%;
}

.insta:hover {
  cursor: pointer;
}

/* MEDIA QUERIES */

@media (max-width: 1200px) {
  .intro-info2 {
    text-align: center;
  }

  .pastor-image {
    height: 500px;
  }
}

@media (max-width: 1100px) {
  .intro-info1 {
    margin-right: 5%;
    margin-left: 3%;
  }

  .pastor-image {
    height: 450px;
  }

  .leva-paragraph {
    margin-top: -10%;
  }

  .joata-position {
    text-align: center;
  }

  .member-image {
    width: 70%;
  }
}

@media (max-width: 1024px) {
  .leva-paragraph {
    font-size: 1.1em;
  }
}

@media (max-width: 900px) {
  .intro-info1 {
    margin-right: 5%;
    font-size: 1.1em;
  }

  .intro-info2 {
    font-size: 1.1em;
  }
  .pastor-image {
    height: 400px;
  }

  .leva-paragraph {
    font-size: 1em;
  }
}

@media (max-width: 800px) {
  .intro-info1, .intro-info2 {
    font-size: 1em;
  }

  .service-image {
    width: 80%;
    height: 70%;
  }

  .pastor-title {
    margin-top: 2.5%;
  }

  .pastor-image {
    height: 350px;
  }

  .leva-paragraph {
    width: 90%
  }

  .leva-square {
    padding: 20px;
  }

  .joata, .zaza, .baba, .poopi {
    width: 200px;
    height: 200px;
  }

  .member-image {
    height: 55%;
  }

  .member-title {
    font-size: 1.3em;
  }

  .member-position {
    font-size: 1.1em;
  }

  .joata-paragraph, .abel-paragraph, .gadiel-paragraph, .isai-paragraph{
    width: 90%;
    font-size: 1em;
  }

}

@media (max-width: 428px) {
  body {
    min-height: 100vh;
    height: auto;
    grid-template-rows: auto auto auto auto auto;
  }

  .logo {
    width: 150px;
    height: 150px;
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -10%;
    z-index: 1;
  }

  main {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }


  .navigation {
    grid-column: 1/4;
    justify-self: start;
    position: fixed;
    left: 0;
    right: 0;
    background: linear-gradient(109.6deg, rgb(36, 45, 57) 11.2%, rgb(16, 37, 60) 51.2%, rgb(0, 0, 0) 98.6%);
    z-index: 100;
    height: 0;
    width: 100vw;
    overflow-y: auto;
    transition: height 0.5s ease-in-out;
  }

  .icon-container {
    position: absolute;
    top: 20px;
    right: 8%;
    margin: 0;
    z-index: 2;
  }

  .nav-icon-one, .nav-icon-two, .nav-icon-three {
    width: 40px;
    border: 1.9px solid white;
  }

  .container h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
  }

  .intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    height: auto;
  }

  .intro-title {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    text-align: center;
    color: black;
    margin: 12px 0;
    width: 100%;
    grid-column: unset;
    grid-row: unset;
    justify-self: unset;
    font-size: 1.2em;
  }

  .service-image {
    grid-column: unset;
    grid-row: unset;
    justify-self: unset;
    width: 95%;
    height: auto;
    margin: 8px 0;
    position: static;
  }

  .intro-info1 {
    width: 95%;
    text-align: center;
    font-size: .9em;
    margin: 8px 0;
    position: static;
    grid-column: unset;
    grid-row: unset;
  }

  .intro-info2 {
    width: 95%;
    text-align: center;
    font-size: .9em;
    margin: 8px 0;
    position: static;
    grid-column: unset;
    grid-row: unset;
  }

  .pastors {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
    margin-bottom: 25px;
    padding: 8px 16px;
    height: auto;
    position: relative;
  }

  .pastor-title {
    position: static;
    transform: none;
    text-align: center;
    color: black;
    margin: 12px 0 8px 0;
    width: 100%;
    top: auto;
    left: auto;
    grid-column: unset;
  }

  .pastor-name {
    width: 100%;
    text-align: center;
    margin: 8px 0;
    font-size: 1em;
    position: static;
    transform: none;
  }

  .pastor-image {
    position: static;
    top: auto;left: auto;
    transform: none;
    width: 85%;
    height: auto;
    margin: 8px 0;
    grid-column: unset;
    grid-row: unset;
  }

  .band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    justify-items: center;
    align-items: start;
    padding: 8px;
    padding-bottom: 16px;
    height: auto;
    position: relative;
    margin-bottom: 25px;
  }

  .band-title {
    grid-column: 1/4;
    grid-row: 1/2;
    position: static;
    top: auto;
    left: auto;
    transform: none;
    text-align: center;
    margin-top: 0;
    font-size: 1.2em;
  }

  .joata, .zaza, .baba, .poopi {
    width: 28vw;
    height: 28vw;
    min-width: unset;
    min-height: unset;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: unset;
    display: block;
  }

  figcaption {
    text-align: center;
  }

  .joksan-info {
    grid-column: 1/2;
    grid-row: 2/3;
    justify-self: center;
    align-self: start;
  }

  .abel-info {
    grid-column: 3/4;
    grid-row: 2/3;
    justify-self: center;
    align-self: start;
  }

  .gadiel-info {
    grid-column: 2/3;
    grid-row: 2/3;
    justify-self: center;
    align-self: start;
  }

  .poopi-info {
    grid-column: 2/3;
    grid-row: 3/4;
    justify-self: center;
    align-self: start;
  }

  .member-box {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-height: 75vh;
    overflow-y: auto;
    z-index: 999;
    background: transparent;
  }

  .info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 28px 16px 20px 16px;
    gap: 10px;
    width: 100%;
    height: auto;
    overflow-y: auto;
  }

  .member-image {
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1/1;
  }

  .member-title {
    width: 100%;
    text-align: center;
    margin-top: 8px;
    position: static;
    transform: none;
    left: auto;
    font-size: 1.2em;
    align-self: center;
  }

  .member-position {
    width: 100%;
    text-align: center;
    margin: 0;
  }

  .member-paragraph {
    width: 100%;
    text-align: center;
    margin: 0;
    font-size: .9em;
  }

  .band-exit {
    position: absolute;
    top: 38px;
    right: 18px;
    width: 25px;
    height: 25px;
    margin: 0;
    z-index: 10;
  }

  .leva-container {
    position: absolute;
    top: 24%;
    left: 50%;
    transform: translateX(-50%, -10%);
    width: 90%;
    height: 0;
    max-height: 82vh;
    overflow-y: auto;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .leva-square {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 18px 18px 22px 18px;
    gap: 10px;
    width: 100%;
    height: auto;
    overflow-y: auto;
  }

  .leva-exit {
    position: absolute;
    top: 22px;
    right: 18px;
    width: 25px;
    height: 25px;
    margin: 0;
    z-index: 10;
  }

  .leva-square .leva-exit {
    top: 22px;
    right: 18px;
  }

  .leva-square .memmber-title, .leva-square .member-position {
    width: 100%;
    text-align: center;
    justify-self: center;
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  footer {
    margin-top: auto;
    grid-row: 5/6;
    align-self: end;
  }

  .footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    align-items: center;
    padding: 10px 0;
  }

  .footer-list {
    display: flex;
    grid-row: 1/2;
    grid-column: 1/4;
    font-size: 0.9rem;
    justify-content: space-around;
    width: 100%;
    margin: 0;
    padding: 10px 0;
  }

  .footer-brand {
    display: flex;
    grid-row: 2/3;
    grid-column: 1/2;
    align-items: center;
    gap: 8px;
    justify-self: end;
    margin-left: 25px;
  }

  .footer-logo {
    width: 45px;
    height: 45px;
  }

  .long-logo {
    width: 80px;
    height: auto;
  }

  .insta {
    grid-column: 3/4;
    grid-row: 2/3;
    justify-self: center;
    align-self: center;
    margin-right: 0;
  }

}

@media (max-width: 414px) {
  .logo {
    top: 13%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .intro-title, .pastor-title, .band-title {
    font-size: 1.2em;
    text-align: center;
  }

  /* .intro-title {
    grid-column: 1/4;
    top: 61%;
    left: 50%;
    font-size: 1.2em;
    transform: translate(-50%, -50%);
  } */

  .leva-container {
    left: 50%;
    transform: translate(-50%, -5%);
  }

  /* .pastor-title {
    grid-column: 1/4;
    left: 50%;
    transform: translate(-50%, -50%);
  } */

  .pastor-name {
    width: 100%;
    text-align: center;
    font-size: 1em;
    margin-top: 5%;
  }

  .member-position {
    font-size: 1em;
  }

  .leva-paragraph {
    font-size: .97em;
  }

  /* .band-title {
    font-size: 1.4em;
    grid-column: 1/4;
    left: 50%;
    transform: translate(-50%, -50%);
  } */

  .member-box {
    transform: translate(-50%, 10%);
    left: 50%;
  }
}

@media (max-width: 375px) {
  .intro-title {
    grid-column: 1/4;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .pastor-title {
    grid-column: 1/4;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .pastor-name {
    font-size: .9em;
  }

  .leva-paragraph {
    font-size: .9em;
  }

  .leva-container {
    left: 50%;
    transform: translate(-50%, -5%);
  }

  .band-title {
    font-size: 1.25em;
    grid-column: 1/4;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .member-image {
    height: 45%;
  }


  .joata-position {
    grid-column: 2/3;
    left: 50%;
    margin-top: 30%;
    transform: translate(0%, -50%);
  }


  .abel-position {
    grid-column: 2/3;
    left: 50%;
    margin-top: 30%;
    transform: translate(0%, -50%);
  }


  .gadiel-position {
    grid-column: 2/3;
    left: 50%;
    transform: translate(0%, -50%);
    margin-top: 30%;
  }
  
}

@media (max-width: 320px) {
  body {
    grid-template-rows: auto auto auto auto auto;
  }

  .logo {
    width: 110px;
    height: 110px;
    top: 13%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .intro-info2 {
    margin-top: 5%;
  }

  .intro-title {
    grid-column: 1/4;
    text-align: center;
    font-size: 1em;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .pastor-title {
    grid-column: 1/4;
    left: 50%;
    transform: translate(-50%, -20%);
    text-align: center;
  }

  .pastor-image {
    height: auto;
    width: 90%;
  }

  .pastor-name {
    font-size: .75em;
    text-align: center;
  }

  .leva-position {
    font-size: .9em;
  }

  .leva-square {
    padding: 10px;
  }

  .leva-exit {
    margin-right: 10%;
    margin-top: 15%;
  }

  .leva-paragraph {
    width: 90%;
  }

  .band-title {
    grid-column: 1/4; 
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1em;
    text-align: center;
  }

  .joata, .zaza, .baba, .poopi {
    width: 80px;
    height: 80px;
  }

  figcaption {
    font-size: .75em;
  }

  .intro-info2 {
    font-size: 0.75em;
  }

  .joksan-info {
    align-self: center;
  }

  .joata-caption {
    text-align: center;
    font-size: .9em;
  }

  .member-image {
    height: 33%;
    width: 80%;
  }

  .joata-position {
    grid-column: 2/3;
    transform: translate(0, -50%);
    left: 50%;
    text-align: center;
  }

  .joata-paragraph {
    grid-column: 1/4;
    text-align: center;
    left: 50%;
    transform: translate(0%, 0%);
    width: 100%;
  }

  .gadiel-image {
    width: 55%;
  }


  .gadiel-position {
    grid-column: 2/3;
    transform: translate(0, -50%);
    left: 50%;
    text-align: center;
  }

  .gadiel-paragraph {
    grid-column: 1/4;
    text-align: center;
    left: 50%;
    transform: translate(0%, 0%);
  }

  .abel-image {
    width: 55%;
  }


  .abel-position {
    grid-column: 2/3;
    transform: translate(0, -50%);
    left: 50%;
    text-align: center;
  }

  .abel-paragraph {
    grid-column: 1/4;
    text-align: center;
    left: 50%;
    transform: translate(0%, 0%);
  }

  .isai-image {
    width: 55%;
  }

  .isai-position {
    grid-column: 2/3;
    transform: translate(0, -50%);
    left: 50%;
    text-align: center;
  }

  .isai-paragraph {
    grid-column: 1/4;
    text-align: center;
    left: 50%;
    transform: translate(0%, 0%);
  }

  footer {
    grid-row: 5/6;
    grid-column: 1/4;
  }
}
