*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --clr-light: #acaf93;
  --clr-dark: #032a24;
  --clr-primary: #e5e6f5;
  --clr-secondary: #e0840b;
  --clr-third: #d7dbd9;
  --clr-accent: #790b9a;

  --foreground: var(--clr-dark);
  --background: var(--clr-light);

  --ff-title: "Playfair Display", serif;
  --ff-body: "Assistant", sans-serif;
}

.darkmode {
  --clr-light: #a4ae91;
  --clr-dark: #0e0d0d;
  --clr-primary: #b0c20c;
  --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: 350px;
    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: 270px;
  height: 200px;
  border: 2px solid #ccc;
  background-color: #c50a0a;
  color: black;
  text-align: center;
  font-size: 36px;
  padding-top: 20px;
}

.s{
  width: 1100px;
  height: 600px;
  border: 3px solid #ff7750;
  padding-top: 20px;
  padding-left:30px;
  padding-bottom:30px;
  margin: 50px;
}

.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: black;
	background-color:  linear-gradient(120deg, #032a24 #fff, #b9806f);
  border: 20px solid  #891951;
  padding: 4px;
  
  cursor: pointer;
  border-radius: 50%;
  width: 160px;
  height: 90px;
}

.footer{
  width: 800px;
  height: 150px;
    margin: 20px;
    padding: 15px;
    background-color: #6ab1cf;
    color: #cccccc;
    font-size: 18px;
    text-align: center;
    line-height: normal;
}

.footer-links{
  width: 800px;
  height: 150px;
    margin: 20px;
    padding: 15px;
    background-color: #dc3a09;
    color: #cccccc;
    font-size: 18px;
    text-align: center;
    line-height: normal;


}
.link{
  width: 800px;
  height: 150px;
    margin: 20px;
    padding: 15px;
    background-color: #b9806f;
    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: 500px;
  font-size: 36px;
  height: min-content;
  border: 5px  solid #032a24;
  margin-left: 30px;
  padding-left: 30px;
  padding-right: 30px;
}

.photo{
  margin-left: 30px;
  padding-left: 30px;
}
.about{
  width: auto;
  height: auto;
  border: 10px dashed #ccc;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: bold;
  font-style: italic;
  font-size: 24px;
  margin: 30px;
  padding: 20px;

}