* {
  font-family: "Courier New", Courier, monospace;
}

body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  margin: 0;
  color: #fff;
  background: #262626;
}

body.light-theme {
  color: #222;
  background: #fff;
}

body.dark-theme a {
  color: #fff;
}

body.light-theme a {
  color: #222;
}

h1,
h2 {
  margin-top: 25px;
}

nav {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 25px;
  margin-left: 0px;
}

.btn-toggle {
  background-color: #fff;
  /*width: 40px;*/
  border: 1px solid black;
}

a {
  text-decoration: underline;
  color: black;
  font-size: larger;
}

nav a {
  white-space: nowrap;
}

.wrapper {
  justify-self: center;
  position: relative;
  left: calc((100vw - 100%) / 2);
}

@media screen and (min-width: 800px) {
  .wrapper {
    width: 800px;
  }

  .personal_info {
    display: flex;
    justify-content: space-between;
  }

  .personal_info .left {
    align-content: center;
  }
}

@media screen and (max-width: 800px) {
  .wrapper {
    margin: 0 10px 0 10px;
  }
}

footer {
  grid-row-start: 2;
  grid-row-end: 3;
  width: 100%;
  height: 50px;
  padding: 5px 0px 5px 0px;
  background-color: #00aed9;
  text-align: center;
  font-size: larger;
  color: white;
}

footer svg {
  height: 25px;
  width: 25px;
}

button {
  background-color: #00aed9;
  color: white;
  border: none;
  border-radius: 8px;
  height: 25px;
  width: fit-content;
}

button:focus {
  background-color: #037490;
}

.btn-toggle:focus {
  background-color: #fff;
}

input {
  all: unset;
  border: none;
  border-bottom: 1px solid black;
}

.cv h2 {
  text-decoration: underline;
}

.cv img {
  width: 250px;
  border-radius: 50%;
  border: 5px solid #00aed9;
  padding: 2px;
  box-shadow: 15px 15px 50px rgba(0, 0, 0, 1);
}

.on_error {
  display: none;
  color: rgb(235, 46, 46);
}

.btn-toggle img {
  width: 100%;
  height: 100%;
}

.dark-toggle-icon {
  display: none;
  scale: 1.4;
}
