*, *::before, *::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body, p{
    margin:0;
    padding:0;
    font-family:"Merriweather", serif;
    font-size:16px;
    color:#333;
    line-height:1.5;
}


.topnav{
    display:flex;
    justify-content:center;
    align-items:center;
    background:#fff;
    color:#000;
    position:sticky;
    top:0;
    z-index:50;
    border-bottom:1px solid #000;
}

.topnav > a{
    font-family:"Roboto",sans-serif;
    font-size:16px;
    text-transform:uppercase;
    display:inline-block;
    padding:5px 10px;
    text-decoration:none;
    color:#000;
}


.topnav >a:hover{
    background:#fff;
    color:#000;
}

.header{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding: 20px 0px;
    margin-bottom:30px;
    background:#fff;
    border-bottom:1px solid #ccc;
}

.container{
    display:grid;
    grid-template-columns:1fr 700px 1fr;
    justify-content:center;
    grid-gap:20px;
    align-items:start;
    width:80%;
    margin:0 auto;
    background:#fff;
    height:auto;
}

.container div{
    background:#fefefe;
}

#targetDiv{
    width:100%;
    background:transparent;
    padding:10px;
    margin-bottom:40px;
}

.footer{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:50px 0px;
    background:#fff;
    border-top:1px solid #ccc;
}

.panel{
    display:flex;
    padding:10px;
    justify-content:center;
    align-items:center;
    background:#ccc;
    color:#fff;
    margin:30px 0px;
    border-top:1px solid #ccc;
}

.panelgrid{
    width:100%;
    display:grid;
    grid-template-columns:2fr 2fr;
    grid-gap:10px;
    justify-content:center;
    align-items:start;
}

.panelgrid div{
    background:#fff;
    padding:0px;
    height:auto;
}

.sidebar{
    display:flex;
    width:100%;
    flex-direction:column;
    justify-content:space-between;
    height:auto;
    margin-bottom:20px;
    padding:5px;
}


div.poll{
    width:700px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    align-content:flex-start;
}


ul.form{
    display:flex;
    list-style-type:none;
}

li{
    display:block;
    margin-bottom:1px solid #ccc;
    padding:10px 20px;
}




/*------Paragraph Styles-----*/
p{
    font-family:"Merriweather", serif;
    font-size:16px;
    color:#333;
    line-height:1.5;
    margin-bottom:30px;
}

p.caption{
    font-family:"Merriweather", serif;
    font-size:14px;
    color:#000;
    line-height:1.2;
    margin-bottom:30px;
}

p.box{
    font-family:"Merriweather", serif;
    font-size:14px;
    font-weight:normal;
    color:#000;
    line-height:1;
    margin-bottom:10px;
}


p.intro{
    font-family: "Libre Baskerville", serif;
    font-size:24px;
    font-style:italic;
    line-height:1.2;
    color:#000;
    text-align:center;
    padding:20px;
    background:#e2e2e2;
}

p.foot, p.date, p.sig, p.info{
    font-family:"Roboto", sans-serif;
    line-height:0.90;
}

p.foot{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#000;
}

p.date{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#333;
    line-height:0.90;
    margin-bottom:10px;
}

p.sig{
    font-size:14px;
    font-weight:bold;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#ce0000;
}

p.info{
    font-size:12px;
    text-transform:uppercase;
    color:#444;
}

p.sidebar{
    font-family:"Roboto", sans-serif;
    font-weight:bold;
    font-size:16px;
    text-transform:uppercase;
    color:#fff;
    padding:3px 20px;
    background:red;
    width:fit-content;
    margin-bottom:10px;
}

p.special{
    font-family:"Roboto", sans-serif; 
    font-weight:bold;
    letter-spacing:0px;
    text-transform:uppercase;
    font-size:14px;
    color:#000;
    margin-bottom:10px;
    text-align:right;
}


/*-----Header Styles----*/
h1,h2,h3,h4,h5,h6{
    font-family: "Libre Baskerville", serif;
    font-weight:600;
    color:#000;
    line-height:1;
}
h1{
    font-size: 40px;
    color:inherit;
    letter-spacing:-1px;
    color:#000;
    margin-bottom:10px;
}

h2{
    font-size: 40px;
    color:inherit;
    letter-spacing:-1px;
    color:#000;
    margin-bottom:10px;
}

h3{
    font-size: 24px;
    color:inherit;
     letter-spacing:-1px;
    color:#000;
    margin-bottom:10px;
}

h4{
    font-family:"Roboto", sans-serif;
    font-weight:bold;
    letter-spacing:1px;
    text-transform:uppercase;
    font-size:18px;
    color:#000;
    padding-left:10px;
    border-left:5px solid red;
    margin-bottom:10px;
}

h5{
    font-family:"Roboto", sans-serif; 
    font-weight:400;
    letter-spacing:0px;
    text-transform:uppercase;
    font-size:16px;
    padding:7px 20px;
    color:#000;
    border:1px solid #000;
    display:inline-block;
    background:yellow;
    margin-bottom:10px;
}



h6{
    font-size:18px;
    color:#000;
}


.fig{
    width:100%;
    max-width:100%;
    height:auto;
    object-fit:content;
    margin-bottom:10px;
}

img{
    width:100%;
    max-width:100%;
    height:auto;
    object-fit:content;
}

.clearall{
    display:block;
    height:50px;
}

a{
    text-decoration:none;
    color:inherit;
}

a:hover{
    color:blue;
}

a.sidebar{
    font-family:"Roboto", sans-serif;
    text-transform:uppercase;
    text-decoration:none;
    color:#000;
    border:1px solid #000;
    background:yellow;
}

a.sidebar:hover{
    background:red;
    color:#fff;
}

span{
    color:red;
    font-size:100px;
    line-height:1;
    font-weight:normal;
    float:left;
    padding-right: 20px;
}


/*----Form Styles----*/

form{
background:#e7e7e7;
width:100%;
padding:20px;
border:1px solid #fee8e8;
}

input{
  width:100%;
  background:#fff;
  border:none;
  padding:20px;
  margin-bottom:10px;
}

input:focus-within{
  background:#f3f3f3;
}

textarea{
  width:100%;
  background:#fff;
  border:0;
  padding:20px;
  margin-bottom:10px;
}

textarea:focus-within{
  background:#f3f3f3;
}

button{
  border:0;
  background:yellow;
  color:#000;
  font-family:"Roboto", sans-serif;
  font-size:18px;
  text-transform:uppercase;
  font-weight:normal;
  padding:20px;
  display:inline-block;
  border:none;
}

button:hover{
  background:#006b6b;
  color:#fff;
  cursor:pointer;
}

/*----buttons for gallery---*/
button.pic{
    background:yellow;
    padding:20px;
    border:none;
    color:#000;
    margin:1px;
}

button.pic:hover{
    background:red;
    color:#fff;
}






/*-----Media Querries----*/
/* Styles applied when the screen width is 600 pixels or less */

@media screen and (max-width: 600px) {
  
  body {
    background-color:#fff;
  }

  .topnav{
    display:flex;
    width:100%;
    flex-direction:column;
    justify-content:center;
    align-items:center;
  }

  .container{
    display:flex;
    width:90%;
    flex-direction:column;
  }

  .panelgrid{
    width:90%;
    display:grid;
    grid-template-columns:1fr;
  }
}