
#wrapper {
    display: grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(8, minmax(0px, 150px)) minmax(0px, 1fr);
    margin: 0px;
}

body {
    margin: 0px;
}
nav {
    background-color: #8E1B1B;
    grid-column: 1 / 11;
    grid-row: 1 / 2;
    position: sticky;
    margin: -10px;
    padding: 0rem;
    top: 0;
    z-index: 1;
}

.navbarlogo {
    background-image: url(GGHDlogo.svg);
    background-repeat: no-repeat;
    background-position: center;
    color: rgba(0, 228, 84, 0);
    background-size: auto;
}

nav ul li{
    padding: 5px;
    float: left;
}

nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: row nowrap;
    list-style-type: none;
    z-index: 1;
    background-color: #8E1B1B;

}

nav a {
    color: white;
    font-family: Arial;
    text-decoration: none;
    padding: 20px;
    margin: 0;
    display:grid;
    text-align: center;
}

nav li:hover {
    background-color: #681515;
}
#hero {
    height: 500px;
    grid-row: 2 / 3;
    grid-column: -10 / -2;
    background-image: url("heroimage.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
#heroregistration {
    height: 300px;
    grid-row: 2 / 3;
    grid-column: 2/10;
    background-image: url("heroimage.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 80%;
}
#herologo {
    background-image: url("GGHDlogo.svg");
    background-repeat: no-repeat;
    background-size: 60%;
    background-position: center;
    height: 500px;
}

main {
grid-column: 2 / 10;
}

h1 { 
font-family: Abolition;
color: #8E1B1B;
letter-spacing: 1.9px;
font-size: 3rem;
}

h2 {
    font-family: Arial;
}

p {
    font-family: Georgia;
    line-height: 1.4;
    color:rgb(48, 48, 48);
}

#contentcontainer {
    background-color: rgb(255, 255, 255);
    grid-row: 3;
    grid-column: 2/10;
    margin-top: 3rem;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    margin-left: 10px;
    margin-right: 10px;
}

#photoitem {
width: 800px;
}

#textitem {
margin-left: 15px;
margin-top: -2.6rem;
}
#dogphoto {
    width: 100%;
}

#countdowntorace {
    font-family: Arial;
    font-weight: bold;
    font-size: 2rem;
    color:#8E1B1B;
}

.button { 
        background-color: #8E1B1B;
        color: white;
        padding: 15px 20px;
        text-decoration: none;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 15px;
      }
      
.button:hover {
    background-color: #681515;
      }

#racecountdown {
    background-color: #d5edff;
    grid-row: 4;
    grid-column: 2/10;
    margin-top: 0rem;
    padding: 1rem;
    padding-bottom: 3rem;
    text-align: center;
}

#racecountdown h2 {
    font-size: 35px;
    font-weight: bold;
}


#form {
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(30, 30, 30, 0.2);
    padding: 2px 15px;
    padding-bottom: 2rem;
    margin: 2rem 1rem 2rem 1rem;
    grid-row: 5;
    grid-column: 2/10;
}

form {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: repeat(2, minmax(0px, 100%));
    
    gap: 0.75rem;
    width: 100%;
  }
  
  input, textarea {
    font-size: 1rem;
    font-family: Arial;
    padding: 1rem;
    color: #212121;
    background-color: #f0f0f0;
    border: none;
  }

  textarea {
    padding-bottom: 5rem;
    grid-column: 1/3;
    grid-row: 3/4;
  }

  #Name {
    grid-row: 1/2;
    grid-column: 1/2;
  }

  #Email {
    grid-row: 1/2;
    grid-column: 2/3;
  }

  #Subject {
    grid-row: 2/3;
    grid-column: 1/3;
  }
  
  #Send {
    grid-column: 1/2;
    background-color: #8E1B1B;
    color:#f0f0f0;
  }
  #Send:hover {
    background-color: #681515;
  }
  input:focus, textarea:focus {
    outline: none;
    background-color: #f0f0f0;
  }
  
  label {
    padding: .3rem;
    text-align: right;
  } 
  
  #mySubmit {
    width: 10rem;
    font-size: 1rem;
    font-family: Arial;
    color:rgb(255, 255, 255);
    background-color:  #8E1B1B;
  } 

  #mySubmit:hover {
    background-color: #681515;
  }


#cardcontainer {
    display: flex;
    flex-flow: wrap;
    justify-content: space-around;
    grid-row: 3;
    grid-column: 2/10;
}

.notecard {
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
    padding: 10px;
    margin: 10px;
    min-width: 200px;
    max-width: 218px;
    font-family: Georgia;
    line-height: 23px;
}
.notecard ul {
    list-style-type: none;
    margin: 0;
    padding: 5px;
}

.notecard ul li {
    margin-top: 15px;
}

.notecard h2 {
    padding: 5px;
    line-height: 2px;
    margin: 0;
    margin-top: 15px;
    color: #8E1B1B;
}

#colapsiblecontainer{
    margin-bottom: 25px;
    grid-row: 4;
    grid-column: 2/10;
}

#colapsiblecontainer h1 {
    margin: 15px;
}
.collapsible {
    background-color: #d5edff;
    color: #000000;
    font-weight: bold;
    letter-spacing: .4px;
    cursor: pointer;
    padding: 1.5rem;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 25px;
  }
  .content img {
    width: auto;
    height: auto; 
    max-width: 60%;
    max-height: 90%;
    margin: 20px auto;
  }

  .active, 
  .collapsible:hover {
    background-color: #bed6e8;
  }
  
  .content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #ecf7ff;
  }

.coursemapcontent {
    margin: 15px;
}
.copyright {
    color: #f0f0f0;
    font-family: Arial;
    font-size: 10px;
    padding: 5px;
}
.Registration {
margin: 15px;
margin-bottom: 8rem;
grid-row:3;
grid-column: 2/10;
}

.Registration h1 {
    font-size: 70px;
}
footer {
    background-color: #8E1B1B;;
    height: auto;
    display: flex;
    justify-content: space-around;
    margin: -10px;

}

footer a {
    text-decoration: none;
    color: white;
    font-family: Arial;
    padding: 0;
    margin: 0;
    padding: 5px;
    display:block;
    text-align: left;
    overflow: hidden;
}

footer ul {
    list-style-type: none;
}
footer a:hover {
    background-color: #681515;}

 .footerlogo {
    background-image: url(GGHDlogo.svg);
    background-repeat: no-repeat;
    padding: 4rem;
    background-position: left;
    }


@media(max-width: 992px){
#wrapper {
        display: grid;
        grid-template-columns: 1fr repeat(8, minmax(0, 125px)) 1fr;
      }

#hero, #herologo {
    height: 300px;
}

.content img { 
    max-width: 90%;
  }
}



@media (max-width: 768px) {
nav {
position:relative;
z-index: 0;
}
nav ul li{
    padding: 0px; }

nav ul{
    flex-direction: column;
}
footer{
      flex-direction:column;
    }
#contentcontainer {
    flex-direction: column-reverse;
    align-content: space-between;
    
}
#photoitem {
    margin-top: 2rem;
    padding: 15px;
    width: auto;
    }
#dogphoto {
    width: 100%;
    overflow: hidden;
}
.content img { 
    max-width: 100%;
  }

footer a {
padding: 20px;
}

#Name {
    grid-row: 1/2;
    grid-column: 1/3;
}

#Email {
    grid-row: 2/3;
    grid-column: 1/3;
}

#Subject {
    grid-row: 3/4;
    grid-column: 1/3;
}
textarea {
    padding-bottom: 5rem;
    grid-column: 1/3;
    grid-row: 4/5;
  }
}