
* {
  margin: 0;
  padding: 0;
}

main{
  transition: background-color 1s;
}

html {
    background-color: black;
    color: #f9f2e1;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: normal;
    font-stretch: expanded;
    margin:0;
    display: grid;
    max-width:100%;
  }

.fade {
  animation-name: fade;
  animation-duration: 2.3s;
}

@keyframes fade{
  from {opacity: .3}
  to {opacity: 1}
}

#name li{
  align-items: center;
  align-content: center;
}

#article{
  padding: 10px;
}

.landing {
  margin: 50px 40px;
  display:flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#col-1 {
  display:flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  margin: 0px 0px;
  margin-right: 40px;
}

#col-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#AboutMe p{
  margin: 20px 70px;
}


hr{
  color:white;
  margin: 40px;
}

#list li{
  text-align: center;
}

#text{
  margin: 0 50px;
}

#text1 {
  margin: 20px 50px;
  text-align: center;
}

#text2 {
  margin: 20px 50px;
  text-align: center;
}

#text3 {
  margin: 20px 50px;
  text-align: center;
}

#text4 {
  margin: 20px 50px;
  text-align: center;
}

#text5 {
  margin: 20px 50px;
  text-align: center;
}

#text6 {
  margin: 20px 50px;
  text-align: center;
}

#text7 {
  margin: 20px 50px;
  text-align: center;
}

#text8 {
  margin: 20px 50px;
  text-align: center;
}

#text9 {
  margin: 20px 50px;
  text-align: center;
}

#text10 {
  margin: 20px 50px;
  text-align: center;
}

#row1{
  display:flex;
  align-items: center;
}

#row2{
  display:flex;
  align-items: center;
}

#row3{
  display:flex;
  align-items: center;
}

#row4{
  display:flex;
  align-items: center;
}

#row5{
  display:flex;
  align-items: center;
}

#row6{
  display:flex;
  align-items: center;
}

#row7{
  display:flex;
  align-items: center;
}

#row8{
  display:flex;
  align-items: center;
}

#row9{
  display:flex;
  align-items: center;
}

#row10{
  display:flex;
  align-items: center;
}

h1 {
  text-align:center;
  grid-column-start: span 4; 
  font-size:30px;
}

h2{
  text-align:center;
}

p{
  text-align:center;
}

p a:link{
  color:rgb(255, 255, 255);
}

p a:hover{
  color:rgb(31, 132, 142);
}

#AboutMe {
  padding:2.5em;
}

#hi {
  padding: 1em 2em;
  display:flex;
  justify-content: center;
}

h3{
  text-align:center;
}

h4{
  text-align: center;
}

#film{
  display:flex;
  justify-content: center;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 15px;
  margin: 30px;
}

.indexflex{
  display:flex;
  justify-content: center;
}

#me{
  display:flex;
  justify-content: center;
}

.pfp:hover{
  cursor:pointer;
}

#me img:hover{
  cursor:pointer;
}

#film img:hover{
  cursor: pointer;
  scale: 1.2; 
  opacity: 1;
  box-shadow: 0 0 0 12px rgb(255, 255, 255);
  transition: all 300ms ease-in-out;
}

#list{
  margin: auto;
  padding: 20px 40px;
}

#list li{
  list-style: none;
}

.table{
  list-style:none;
  justify-content: center;
  display:flex;
  justify-content: center;
}

#item1 {
  text-align: center;
  grid-template-columns: 1fr;
  width:100%;
}

.grid {
  margin: 0px;
  padding: 20px 20px;
  max-width: 100%;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  justify-content: center;
}

.photos {
  list-style: none;
  margin: 15px auto;
  padding: 0;
  display:grid;
  grid-template-columns:1fr 1fr 1fr 1fr;
  gap: 10px;
  align-items:center;}

/* NAV BAR */

#navbardesktop {
  background-color: #f9f2e1;
  width:100%;
  padding: 1.5em;
  position: sticky;
  top:0;
}
#navbardesktop a {
  color: black;
  text-decoration: none;
  padding: .5em .5em;
}
#navbardesktop ul {
  align-items: center;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display:flex;
  justify-content:space-evenly;
}

#navbardesktop li{
  display:flex;
  font-size: 13px;
  font-weight: 700;
  color:black;
  max-width: 100%;
}

#navbardesktop a:link{
  color: black;
}

#navbardesktop a:hover{
  color:rgb(31, 132, 142);
}

#navbarmobile {
  display:none;
}

.button a{
  text-decoration:none;
}

/* MUSIC PAGE */

#music{
  max-width: 100%;
  justify-content: center;
  display:grid;
  grid-template-columns: repeat(7, 150px);
  grid-auto-flow: dense ;
}

h6{
  text-align: center;
}

#music button{
  border:none;
  border-bottom:none;
  gap:0px;
  margin:0;
  height:150px;
  width:150px;
  cursor: pointer;
  opacity: 1;
}

#music form{
  height:150px;
  width:150px;
}

#music button:hover{
  transform: scale(1.3);
  cursor:pointer;
}

#item2 {
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#item2 button, form{
  border:none;
  height:100px;
  width:100px;
}
#item2 button:hover{
  cursor:pointer;
}

p a{
  color:rgb(0, 0, 0);
}

p a:visited{
  color:rgb(206, 114, 129);
}
p a:hover{
  color:rgb(31, 132, 142);
}

* {
  box-sizing: border-box;
}

/* picture slideshow */
.slideshow {
  position: relative;
  margin: 20px;
  width: 300px;
  height: 500px;
}

.caption{
  margin: 5px 0px;
  text-align: center;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* arrows */
.left,
.right {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

.left {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* background on arrows */
.left:hover,
.right:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* number of pics */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* picture caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: relative;
  bottom: 8px;
  width: 100%;
  text-align: center;
}


@media only screen and (max-width:1000px)
{
 #navbarmobile ul li{
  font-size:13px;
  padding: 10px 10px;
  font-weight: 500;
 }
 #music{
  max-width: 100%;
  justify-content: center;
  display:grid;
  grid-template-columns: repeat(4, 150px);
  grid-auto-flow: dense ;
}
.photos {
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  justify-content: center;
}
.grid{
  align-content: center;
  justify-content: center;
}
#film{
  display:grid;
  justify-items: center;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}
}

@media only screen and (max-width:750px)
{
 #navbarmobile ul li{
  font-size:12px;
 }
 #music{
  max-width: 100%;
  justify-content: center;
  display:grid;
  grid-template-columns: repeat(4, 150px);
  grid-auto-flow: dense ;
}
.photos{
  display:grid;
  grid-template-columns:1fr 1fr;
}
#film {
  list-style: none;
  margin: 50px auto;
  padding: 0;
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  align-items:center;
  justify-items: center;
}
}

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

  #text{
    margin: 0 20px;
  }

#col-1{
  margin: 0px 10px;
}

#text1{
  margin: 0px 10px;
}

#text2{
  margin: 0px 10px;
}

#text3{
  margin: 0px 10px;
}

#text4{
  margin: 0px 10px;
}

#text5{
  margin: 0px 10px;
}

#text6{
  margin: 0px 10px;
}

#text7{
  margin: 0px 10px;
}

#text8{
  margin: 0px 10px;
}

#text9{
  margin: 0px 10px;
}

#text10{
  margin: 0px 10px;
}

  #article h2{
    padding:0px 10px;
  }

  .landing {
    margin: 20px;
    display:flex;
    flex-direction: column;
  }

  #AboutMe p{
    margin: 20px 20px;
  }

hr{
  background: black;;
  color:black;
  height:5px;
}

#row1{
  display:flex;
  flex-direction: column;
}

#row2{
  display:flex;
  flex-direction: column;
}

#row3{
  display:flex;
  flex-direction: column;
}

#row4{
  display:flex;
  flex-direction: column;
}

#row5{
  display:flex;
  flex-direction: column;
}

#row6{
  display:flex;
  flex-direction: column;
}

#row7{
  display:flex;
  flex-direction: column;
}

#row8{
  display:flex;
  flex-direction: column;
}

#row9{
  display:flex;
  flex-direction: column;
}

#row10{
  display:flex;
  flex-direction: column;
}
  
.slideshow {
  margin: 20px auto;
}

p a{
  color:black;
}

p a:link{
  color:black;
}

html{
  background-color:#f9f2e1;
  color:black;
  max-width: fit-content;
}

  #navbarmobile {
    display:flex;
    width:100%;
    padding:.5em;
    top:0px;
    background-color:black;
  }
  #navbarmobile ul {
    align-items: center;
    color:white;
    margin: 0;
    padding: 10px;
    list-style: none;
    display:flex;
    justify-content: space-evenly;
    width:100%;
    
    }
    #navbarmobile ul li{
      align-content: center;
      padding: 10px;
      display:flex;
      text-decoration:none;
      list-style:none;
      color:#f9f2e1;
      font-size: 12px;
    }
    #navbarmobile ul li a {
      color:#f9f2e1;
      text-decoration:none;
      padding: .5em 1em;
    }
    #navbardesktop {
      display:none;
      max-width:100%;
    }
    #navbarmobile a:link{
          color: white;
    }
    #navbarmobile a:hover{
      text-decoration:none;
      color:rgb(31, 132, 142);
    } 
    h1 {
      text-align:center;
    }
    p {
      grid-column-start: span 2;
    }
    .photos {
      list-style: none;
      margin: 50px auto;
      padding: 0;
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      align-items:center;
    }
    p a:hover{
      color:rgb(31, 132, 142);
    }

    #AboutMe{
      display:flex;
      flex-direction:column;
      justify-content: center;
      max-width:100%;
    }
 
    #film {
      list-style: none;
      margin: 50px auto;
      padding: 0;
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      align-items:center;
    }
    #item1{
      display:flex;
      flex-direction:column;
      justify-content: center;
    }
    .grid {
      display:flex;
      flex-direction:column;
    }
    #item2{
      display:flex;
      flex-direction:row;
      justify-content: space-evenly;
    }
    p{
      padding-left: 10px;
      padding-right:10px;
    }
    #music{
      max-width: 100%;
      justify-content: center;
      display:grid;
      grid-template-columns: repeat(3, 150px);
      grid-auto-flow: dense ;
    }
    /* .col-1 {
      display:flex;
      flex-direction:row;
      grid-template-columns: 1fr;
      justify-content: space-evenly;
    }
    .col-2{
      display:flex;
      flex-direction:column;
      grid-template-columns: 1fr;
      justify-content: center;
    } */
    
}

@media only screen and (max-width:500px)
{
 #navbarmobile ul li{
  font-size:12px;
  display:flex;
 }
 #music{
  max-width: 100%;
  justify-content: center;
  display:grid;
  grid-template-columns: repeat(3, 150px);
  grid-auto-flow: dense ;
}
}
