/* Style sheet Lizzy Hess 2024 */

 
/* styles for nav and footer for all pages */
body {
    margin: 0;
    padding: 0;
    background-color: #efffff;
}

nav{
    padding: 1vw;
    font-size: 2vw;
    background-color: #152942;
}

nav img {
    width: 11vw;
    text-align: left;
    padding-left: 3vw;
}

nav a {
    text-align: right;
    font-weight: bold;
    text-decoration: none;
    color: #efffff;
    margin-left: 13vw;
}

nav a:hover{
    text-decoration: underline;
    color: #A8DADB;
}

footer {
    text-align: center;
    background-color: #152942;
    color: #efffff;
    padding: 1em;
    font-size: 1vw;
}

footer p {
    font-weight: bold;
}

footer a {
    color: #efffff;
    text-decoration: none;
    font-weight: normal;
}

footer a:hover {
    color: #A8DADB;
}



/* styles for main for home page */
main {
    margin: 3vw;
    background-color: #efffff;
    color: #152942;
}

main .summaryflex{
    display: flex;
}

main .summary{
    width: 45vw;
    color: #262626;
    text-align: center;
    font-size: 1.25vw;
    padding-right: 5vw;
    padding-left: 5vw;
}

.ava {
    width: 20vw;
    height: 40vh;
    text-align: center;
    margin-top: 7vh;
    margin-right: 1.25vw;
    margin-left: 1.25vw;
}


main .slideshow p {
    color: #152942;
    text-align: center;
    font-size: 1.25vw; 
    width: 45vw;
    padding-right: 5vw;
    padding-left: 5vw;
}

main .slideshow h2 {
    color: #152942;
    text-align: center; 
    font-size: 2vw;
    width: 45vw;
    padding-right: 5vw;
    padding-left: 5vw;
}

main .about{
    text-shadow: #A8DADB 2px -2px;
}

* {
  box-sizing: border-box;
}

.content {
  border-radius: 10px;
    height: 70vh;
  width: 45vw;
  background-color: #dbf0f0;
  overflow: hidden;
  border: 1px white solid;
  z-index: -1;
}
.show {
  padding: 10%;
  margin: auto;
  justify-content: center;
  align-items: center;
  width: fit-content;
}

.slide_content {
  float: left;
  width: 45vw;
  height: 70vh;
}
.slides {
  width: 180vw;
  -webkit-animation-name: slide;
  -webkit-animation-duration: 20s;
  -webkit-animation-iteration-count: infinite;
  /* -webkit-animation-direction: alternate; */
  -webkit-animation-play-state: running;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slide_content:nth-child(1) {
  z-index: 1;
}

.slide_content:nth-child(1) img {
    width: 45vw;
    height: 70vh;
}

.slide_content:nth-child(2) img{
  width: 45vw;
    height: 70vh;
}

.slide_content:nth-child(3) img{
  width: 45vw;
    height: 70vh;
}

.slide_content:nth-child(4) img{
  width: 45vw;
    height: 70vh;
}

@keyframes slide {
  20% {
    margin-left: 0px;
  }

  40% {
    margin-left: calc(-45vw * 1);
  }

  60% {
    margin-left: calc(-45vw * 2);
  }

  80% {
    margin-left: calc(-45vw * 3);
  }
}


/* styles for main for questions page */
.question {
    color: #152942;
    display: flex;
    flex-basis: 50%;
}

.quest_left {
    text-align: center;
    width: 100%;
    padding-right: 2vw;
}

.quest_right {
    text-align: center;
    width: 100%;
    padding-left: 2vw;
}

.question p {
    font-size: 1.25vw;
    padding-bottom: 1.5em;
    margin: auto;
}

.question h2 {
    font-size: 2vw;
    text-shadow: #A8DADB 2px -2px;
    padding-bottom: .5em;
    margin: auto;
}

h1 {
    text-align: center;
    font-size: 4em;
    text-decoration: underline;
    text-shadow: #A8DADB 2px -2px;
    margin: auto;
    padding-bottom: .75em;
}



/* styles for main for staff page */
.staff {
    margin: auto;
    width: 90vw;
}

.staff img {
    width: 15vw;
    height: 42vh;
    border-color: #A8DADB;
    border-width: 15px;
    border-style: double;
}

.row1 {
    display: flex;
    width: 90vw;
}

.row2 {
    display: flex;
    width: 90vw;
}

.row3 {
    display: flex;
    width: 90vw;
}




/* styles for mobile view */
@media screen and (max-width: 1000px) {
    nav img {
        margin-right: vw;
        width: 20vw;
    }

    nav a {
        margin-left: 10vw;
        font-size: 2em;
    }

    .slideshow {
        display: none; 
    }

    main .summary {
        width: 100vw;
        font-size: 2vw;
    }

    .content {
        display: none;
    }

    .staff1 {
        visibility: hidden;
        display: none;
    }

    .collab {
        visibility: hidden;
        display: none;
    }

    .power {
        display: none; 
    }
    
    .question p {
        font-size: 2em;
    }
    
    .question h2 {
        font-size: 2.75em;
    }
    
    footer a {
        text-decoration: underline;
    }
    
    footer {
        font-size: 1.45em;
    }
}