#index {background-image: url(Nissan-Universe-Shouts.jpg);
    
    background-size: cover;
    background-position:center top;
    margin: 0px;

}

header {
    color: white;
    grid: header;
    background-color: black;
    font-size: 4rem;
    font: bold;
    font-family: sans-serif;
    font-weight: bold;
    text-shadow: 0px 0px 20px white;
    letter-spacing: 1.2rem;
    width:100%;
    padding-top: 4rem;
    padding-bottom: 1rem;
    padding-left: 1.5rem;
}

    
nav {
    grid-area:nav;
    color: white;
    background-color: rgba(0,0,0,0.5);
    border-bottom: solid;
    place-items: center;
    font-size: 10pt;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: fit-content;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    
}
a {color: white;
    text-decoration: none;
    font-size: 16pt;
    text-shadow: 0px 0px 5px #5cb0c4;
}

a:hover {
    color: #5cb0c4;
    font-size: 17pt;
}

section { 
    display: grid;
    place-items: center;
    font-size: 5rem;
    font-weight: bold;
    font-family: sans-serif;
    color: white;
    text-shadow: 0 0 20px black
    
    
}

.mySlides {height:400px;}

.welcome{
    margin: 2rem;
    text-align: center;
    
}

p {
    color: white;
    display: grid;
    text-align: center;
    font-size: 2rem;
    margin-left: auto;
    margin-right:auto;
    max-width: 800px;
    
}

.startOuter{
    width:100%;
    text-align: center;
}
.start{
    list-style: none;
    color: white;
    display:grid;
    text-align: center;
    font-family: sans-serif;
    font-size: 2rem;
    background-color: rgba(0,0,0,0.6);
    padding: 2rem ;
    width: fit-content;
    margin: auto;
box-shadow: 0 0 25px white;
    border: solid;
    border-color: white;
    border-radius: 5rem;
    
   
}


.start:hover {
    font-size: 2.2rem;
    color: #5cb0c4;
    text-shadow: 0px 0px 5px #5cb0c4;
    
}

footer{
    background-color: rgba(0,0,0,.5);
    width: 100%;
    color: white;
    display:grid;
    text-align: center;
    padding: 10px;
    
    
   
    
}


#encyclopedia{
   background-image: url(Nissan-Universe-Shouts.jpg);
    color: white;
    margin: 0px;
    background-size: cover;
    
    
}

.book {
    background-color: black;
    background-size: cover;
    border-color: white;
    border: solid;
    display: grid;
    font-family: sans-serif;
    font-size: 3rem;
    min-height: fit-content;
    margin-top:200px;
    margin-left: 253px;
    margin-right: 253px;
    margin-bottom: 100px;
    padding: 50px;
    min-width: 550px;
    
}

#page1{
    background-image: url(Nissan-Universe-Shouts.jpg);
    color: white;
    margin: 0px;
    background-size: cover;

}




.controls {
    position:absolute;
    top: 93%;
    left: 0;
    right:0; 
    transform: translateY (-50%);
    display:flex;
    justify-content: space-between;
    margin: 0 226px 0 226px;
    min-width: 715px;

    
}

.previous {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
     width: min-content;
} 

.next {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
     width: min-content;
} 

.about{
    background-image: url(Nissan-Universe-Shouts.jpg);
    background-position-x: center center;
    margin: 0;
    
    
    
}

h1{
    
    color:white;;
    margin: 0;
    font-size: 4rem;
    margin: 100px 0 0 222px;
   
    border-radius: 5px;
    max-width: fit-content;
    text-shadow: 0 0 25px black;
    padding: 0 10px 0px 10px;
   
    
}

.aboutText{
    color: white;
    text-indent: 50px;
    border-radius: 5px;
    margin: 100px;
    padding: 1rem 1rem 1rem 1rem;
    text-shadow: 0 0 25px black;
    margin-left: auto;
    margin-right:auto;
    max-width: 800px;
    
    
    
    
    
}

.contact{
    background-image: url(Nissan-Universe-Shouts.jpg);
    margin: 0px;
    background-position-x: center center;
    text-shadow: 0 0 20px black;
}



.title {
      font-size: 1.5em;
      font-weight: bold;
      margin-bottom: 10px;
    }

    .caption {
      font-size: 1rem;
      margin-top: 10px;
      color: white;
    
    }

.contactTitle {
    
    place-content: center;
    margin: 100px 0px 0px 0px;
    
    
}

#contact{
    display:grid;
     grid-area: info; 
    text-align: left;
    grid-template-columns: 1fr 1fr;
    margin-left: auto;
    margin-right:auto;
    max-width: 800px;
}

.info{
font-size: large;
line-height: 25px;
    text-shadow: 0 0 20px black;
}

#email{font-size: 40px;
line-height: 25px;
text-shadow: 0 0 20px black;}


    
    





