
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --clr-light: #b7b8ac;
  --clr-dark: #00332a;
  --clr-primary: #151515;
  --clr-secondary: #308aa8;
  --clr-third: #c4ddd0;
  --clr-accent: #c22def;

  --foreground: var(--clr-dark);
  --background: var(--clr-light);

  --ff-title: "Playfair Display", serif;
  --ff-body: "Assistant", sans-serif;
}

.darkmode {
  --clr-light: #a0a6e0;
  --clr-dark: #02030f;
  --clr-primary: #e9ebd6;
  --clr-secondary: #3be7cd;
  --clr-third: #22c372;
  --clr-accent: #0bed61;

  --foreground: var(--clr-light);
  --background: var(--clr-dark);
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--ff-body);
  font-size: 12px;
  line-height: 1.6;
  margin: 25px;
}

.form{
    background: var(--foreground);
    color: var(--background);
    border:currentColor solid 2px;
  width: 800px;
  height: 300px;
 text-align: center;
}

.navigation {
    width: 850px;
    height: 400px;
    background-color: #c3fcf2 ;
    border: 3px solid #ef8d6f;
    color: #ccc;
    margin: 10px;
    padding: 10px;
}

.social{
    width: 850px;
    height: 250px;
    color: #e27c7c;
    margin: 5px;
    padding: 5px;
    background-color: #defcc3 ;
    border: 3px solid #ff7750;
}
.h1 {
  font-size: calc(1.5rem + 7vw);
  font-family: var(--ff-title);
  margin: 0 0 0.25em;
  line-height: 1;
}

.footer {
  width: 850px;
  height: 300px;
  margin: 25px;
  padding: 25px;
}

.btn-group {
  margin: 2em 0;
  display: relative;
}

.btn {
  padding: 10em 20em;
  text-decoration: ;
  text-transform: uppercase;
  border-radius: 50px;
  position: relative;
  display: inline-block;
  line-height: 1.2;
}

.btn + .btn {
  margin-left: 20em;
}

.btn-secondary {
  background: var(--foreground);
  color: var(--background);
  border:currentColor solid 2px;
}

.btn-third {
    background: #df0a26;
    color: var(--background);
    
  }

.btn-accent {
  background: var(--clr-accent);
  color: var(--foreground);
}

.btn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: var(--foreground) 20px 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: 1em;
  right: 1em;
  color: var(--background);
  border: 2px solid #e7eee7;
  padding: 4px;
  background: linear-gradient(#42de0a, #fff, #e09303);
  cursor: pointer;
  border-radius: 50%;
  width: 130px;
  height: 130px;
}

.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;
}


.doctor {
  text-align: center;
  font: 24px sans-serif;
  border: 2px solid #000;
  background-color: beige;
}

#card {
  border: 10px solid #000;
  width: 850px;
  height: 300px;
  text-align: center;
  padding: 20px;
}

.header {
  border: 5px double #000;
  width: 875px;
  height: 50px;

}
