*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --clr-light: #d9dbc6;
  --clr-dark: #010d0b;
  --clr-primary: #9698a7;
  --clr-secondary: #e0840b;
  --clr-third: #7f998b;
  --clr-accent: #790b9a;

  --foreground: var(--clr-dark);
  --background: var(--clr-light);

  --ff-title: "Playfair Display", serif;
  --ff-body: "Assistant", sans-serif;
}

.darkmode {
  --clr-light:rgb(89, 128, 22);
  --clr-dark: #040404;
  --clr-primary: #4b520b;
  --clr-secondary: #e0edeb;
  --clr-third: #22c372;
  --clr-accent: #d1e3d8;

  --foreground: var(--clr-light);
  --background: var(--clr-dark);
}


body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--ff-body);
  font-size: 18px;
  line-height: 1.6;
}
.nav {
    width: 1050px;
    height: 300px;
    background-color: #c3fcf2 ;
    border: 3px solid #ef8d6f;
    color: #ccc;
    margin: 10px;
    padding: 10px;
}


.h1 {
  font-size: calc(1.5rem + 7vw);
  font-family: var(--ff-title);
  margin: 0 0 0.25em;
  line-height: 1;
}
.h2 {
  width: 1100px;
  height: 100px;
  border: 1px solid #ccc;
  background-color: #ccc;
  color: black;
  text-align: center;
  font-size: 36px;
  padding-top: 20px;
}

.footer {
  width: 1100px;
  height: 300px;
  border: 3px solid #ff7750;
  padding-top: 20px;
  padding-left:30px ;
}

.btn-group {
  margin: 2em 0;
  display: relative;
}

.btn {
  padding: 1em 2em;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 50px;
  position: relative;
  display: inline-block;
  line-height: 12;
}

.btn + .btn {
  margin-left: 10em;
}

.btn-secondary {
  background: var(--foreground);
  color: var(--background);
  border: currentColor solid 2px;
}

.btn-third {
    background: #d79a9a;
    color: var(--background);
    border: currentColor solid 20px;
  }



.btn-accent {
  background: var(--clr-accent);
  color: var(--foreground);
}

.btn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: var(--foreground) 2px solid;
  left: -4px;
  top: 4px;
  border-radius: inherit;
  z-index: -1;
}


.intro > * {
  grid-column: 2 / 3;
}

.dark-mode-toggle {
  position: absolute;
  z-index: 100;
  top: 8em;
  right: 1em;
  color: var(--foreground);
	background-color: line;background: linear-gradient(120deg, var(--clr-primary), var(--clr-secondary));
  border: 2px solid linentg #041b04;
  padding: 4px;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  width: 160px;
  height: 70px;
}

.footer-links{
  width: 800px;
  height: 50px;
    margin: 20px;
    padding: 15px;
    background-color: #e0d6d3;
    color: #cccccc;
    font-size: 18px;
    text-align: center;
    line-height: normal;


}
.navbar{
  color: #e61616;
  justify-content: space-evenly;
 margin: 10px;
 padding: 10px;
}

.nav_bar{
 justify-content:center ;
  width: 100px;
  margin: 10px;
  text-align: center;
  line-height: 75px;
  font-size: 30px;
}

.p{
  width: 1100px;
  height: min-content;
  border: 5px  solid #032a24;
}

.hot{
  font-size: 12px;
  border: 13px solid #ccc;
  background-color: #22c372;
  width: 600px;
  height: 100px;
}
h1 { background-color: #0a3c60;
     border: 3px ridge #330000;   
     border-radius: 15px;
   padding: 10px; 
 }

.test {clear:right}


#gallery4 {display: flex;
flex-direction: row;
flex-wrap: wrap;}

#dave{float: right;
margin:  0 0 5px 5px;
border: solid;}
div {background-color: rgb(223, 206, 237);}

h1 {background-color: rgb(149, 141, 130);
margin: 20px;
text-align: center;
color: rgb(6, 6, 6);
font: 12px;
}

p{ font-family: fantasy;
color: #D1ECFF;
margin-left: 30px;
}
.float {float: right;
    margin-right: 100px;
    border:  3px ridge #c75353;}
.clearleft{clear: left}

#wrapper{background-color: #B3C7E6;
color:  #000;
width:  80%;
margin:  auto;
min-width: 850px;
max-width: 1200px;
}

main {display: block;
padding: 3em;
background-color: azure;
color: #000;

}

header { background-color: beige;
color: #000;
font-size: 100%;
padding:  10px 10px 10px 155px;
background-image: url(dave-logo.jpg);
background-repeat: no-repeat;
background-size: cover;
height: 150px;
}

h2 {color: #869dc7;
font-family: fantasy;}

#floatright {margin: 10px;
background-color: #c75353;
float:right;}
footer{
font-size: 1700%;
text-align: center;
clear: right;
padding-bottom: 20px;
margin-left: 165px;
background-color: antiquewhite;
}
nav ul{list-style-type: none;
font-size: 1.5em;}

nav li {display: inline;}

.div1 {
width: 200px;
height: 200px;
background-color: rgb(140, 140, 204);
border: 3px solid #ccc;
padding: 5px;
margin: 5px;
}

.div2{
width: 1000px;
height: 100px;
background-color: bisque;
border: 6px ridge #000;
padding:10px;
margin: 5px;
}

.div3{
width: 50px;
height: 50px;
background-color: bisque;
border: 6px ridge #000;
padding:10px;
margin: 5px;
}
.div4{
width: 800px;
height: 300px;
background-color: rgb(140, 140, 204);
border: 3px solid #ccc;
padding: 5px;
margin: 5px;
}

.div5{
width: 1500px;
height: 100px;
background-color: bisque;
border: 6px ridge #000;
padding:10px;
margin: 5px;
}

.div6{
width: 750px;
height: 100px;
background-color: rgb(206, 142, 64);
border: 6px ridge #000;
padding:10px;
margin: 5px;
}

.links{
margin: 30px;
padding: 30px;
background-color: aliceblue;
width: 1000px;
height: 100px;
}

table,td, th {
border: 10px solid#ce8e8e;
background-color: rgb(6, 70, 70);
color: #869dc7;}

table1, td, th{
border: 2px double #ce8e8e;
background-color: aqua;
color: black;
}

table2, td, th{
border: 2px double #ce8e8e;
background-color: aqua;
color: black;
}


table3, tr,td, th{
border: 20px double #ce8e8e;
background-color: aqua;
color: black;
}
.logo{
background-color:#ccc;
border-radius: 30px;
margin-left: 30px;
padding-left: 30px;
}
