* { 
    box-sizing: border-box; 
}
main {
    background-color: #FFFFFF;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 0;
    padding-right: 0;
    display: block;
    grid-column: 1/9;
    grid-row: 4/5;
}
body {
    background:linear-gradient(#fceff9, #ffffff);
    color:#666666;
    font-family: 'Verdana', sans-serif;
    background-attachment: fixed;
    margin: 0px; 
}
h1{
    text-align: center;
    font-size: 80px;
    height: 100%;
    width: 100%;
    color: white;
    background-color: hotpink;
    background-position: right;
    background-repeat: no-repeat;
    height: 100px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
    margin-left: 0;
    padding-left: 0.5em;
}
header {
    grid-column: 1/ 9;
    grid-row: 1/2;
}
h2 {
    text-align: center;
    background-color: aqua;
    background-position: right;
    background-repeat: no-repeat;
    height: 70px;
    color: black;
    font-size: 50px;
    margin-top: 0;
    margin-bottom: 0;
}
h3 {
    text-align: center;
    background-color: black;
    color: white;
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
    margin-left: 0;
}
h4 {
    text-align: center;
    background-color: black;
    color: white;
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
    margin-left: 0;
    font-size: 25px;
}
h4 a {
    text-align: center;
    background-color: black;
    color: white;
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
    margin-left: 0;
    font-size: 25px;
}
#conpup {
    background-image: url(images/conpup.jpg);
    background-size: cover;
    height: 700px;
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    background-repeat: no-repeat;
    background-position: center; 
    grid-column: 1/ 9;
    grid-row: 3/4;
}
#socialmedia {
    background-image: url(images/socialmedia.pdf);
    height: 80px;
    background-repeat: no-repeat;
    background-position: center;   
}
p {
   text-align: left;
    font-size: 50px;
    color: black;
}
nav a:hover {
    background-color: hotpink;
    color: white;
}
nav ul {
    list-style-type: none;
    margin-bottom: 0px;
    display:flex;
    flex-flow: row nowrap;
    text-decoration: underline;
    margin-top: 0px;
    margin-right: 0px;
    margin-left: 0px;
    padding-bottom: 0px;
    padding-top: 0px;
    padding-right: 0px;
    padding-left: 0px;
}
nav ul li {
    width: 100%;
    text-align: center;
    color: black;
    font-size: 25px;
}
nav {
    position: sticky;
    top:0px;
    font-weight: 700;
    background-color: aqua;
    grid-column: 1/9;
    grid-row: 2/3;
}
nav a { 
        text-decoration: none; 
        background-color: aqua;
        color:blueviolet;
        text-align: center;
        display: block;
        padding: 1rem 0rem;
    } 
#wrapper {
        display: grid;
        grid-auto-rows: minmax(0px, auto) ;
        grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
    }
footer{
        text-align: center;
        font-size: 40px;
        display: grid;
        grid-column: 2/8;
        grid-row: 5/6;
        color: black;
    }   
#footie {
        background-color: transparent;
        width: 50%; 
        height: 80%; 
        font-family: impact; 
        text-align: center;
        grid-column: 1/5;
        grid-row: 6/7;
    }
#foots{
        background-color: transparent;
        margin-left: 50%; 
        height: 100%; 
        grid-column: 3/6;
        grid-row: 6/7;
        padding-top: 35px;
    }
form{
    display: grid;  
    grid-template-rows: auto;
    grid-template-columns: 200px 1fr;
    gap: 0.75rem;
    width: 100%;  
}
#conpup picture img {
display: none;
}
@media only screen and (max-width: 992px) and (min-width: 768px){
    nav {
        display: flex;
    }
    nav ul {
        display: inline;
        width: 100%;
    }
    #conpup {
       width: 768px;
 margin: auto;
        background-size: 90% 90%;
        height: auto;
    }
    h1  {
        font-size: 70px;
        height: 100%;
        width: 100%;
    }
    nav ul li {
        width: 100%;
    }
    #conpup {
        background-size: 100% 100%;
        background-image: none;
        height: auto;
        } 
        #conpup picture img {
          width: 100%;
          display: block;
        }
        nav {
            position: relative;
        }
    footer 
{
    display: inline-block;
}    
#footie{
    width: 100%;
}
#footie p{
    text-align: center;
}
#foots{
    margin: auto;
}
}

@media only screen and (max-width: 768px){
    nav {
        display: flex;
    }
    nav ul {
        display: inline;
        width: 100%;
    }
    #conpup {
        background-size: 100% 100%;
        background-image: none;
       height: auto;
        } 
        #conpup picture img {
          width: 100%;
          display: block;
        }
        footer {
            display: inline-block;
        }
    h1  {
        font-size: 60px;
        height: 100%;
        width: 100%;
        }
    #footie {
        width: 100%;
    }
    #foots {
        width: 100%;
        margin-left: 0px;
    }
    nav {
        position: relative;
    }
    #footie p {
        text-align: center;
    }

}
