html {
  display: flex;
  justify-content: center;
}

body {
    font-family:Georgia, 'Times New Roman', Times, serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 720px;
    margin: 0;
}

header {
    font-weight: bold;
    font-size: x-large;
    color: ghostwhite;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 6rem ;
    /* background-image: url("stars.jpg");
    background-size: 100%; */
    margin-bottom: 1rem;
    border-bottom: 2px solid orange;
}

.nav-button {
    background-color: white;
    border: none;
    border-bottom: 1mm ridge rgba(211, 220, 50, .6);
}

footer {
    margin-top: auto;
}

nav {
    margin-left: 2rem;
}

article {
    padding: 2rem;
    min-width: 100%;
}

footer {
    font-family:'Courier New', Courier, monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.5rem 0.5rem 0.5rem;
    background-color: aliceblue;
}

footer > p {
    font-size: x-small;
    margin: 8px 0;
    text-align: center;
}

.about-section {
  display: flex;
}
.avatar-pic {
  width: 200px;  
}
.about-text {
  margin-left: 2rem;
}

/* navigation bar, from https://codepen.io/havardob/pen/ExVaELV */

/* @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap"); */
:root {
  --primary-color: #185ee0;
  --secondary-color: #e6eef9;
}
*, *:after, *:before {
  box-sizing: border-box;
}
body {
  /* font-family: "Inter", sans-serif; */
  /* background-color: rgba(230, 238, 249, 0.5); */
}
.container {
  /* position: absolute; */
  /* left: 0;
  top: 0;
  right: 0;
  bottom: 0; */
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tabs {
  display: flex;
  position: relative;
  background-color: #fff;
  /* box-shadow: 0 0 1px 0 rgba(24, 94, 224, 0.15), 0 6px 12px 0 rgba(24, 94, 224, 0.15); */
  padding: 0.3rem 0.6rem;
  border-radius: 99px;
  /* border: 0px; */
}
.tabs * {
  z-index: 2;
}
input[type="radio"] {
  display: none;
}
.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 27px;
  width: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: color 0.15s ease-in;
}
.notification {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-left: 0.75rem;
  border-radius: 50%;
  background-color: var(--secondary-color);
  transition: 0.15s ease-in;
}

#radio-2 + label  {
    color:gainsboro;
    pointer-events: none;
}
input[type="radio"]:checked + label {
  color: var(--primary-color);
}
input[type="radio"]:checked + label > .notification {
  background-color: var(--primary-color);
  color: #fff;
}
input[id="radio-1"]:checked ~ .glider {
  transform: translateX(0);
}
input[id="radio-2"]:checked ~ .glider {
  transform: translateX(100%);
}
input[id="radio-3"]:checked ~ .glider {
  transform: translateX(200%);
}
.glider {
  position: absolute;
  display: flex;
  height: 27px;
  width: 100px;
  background-color: var(--secondary-color);
  z-index: 1;
  border-radius: 50px;
  transition: 0.25s ease-out;
}
@media (max-width: 700px) {
  .tabs {
    transform: scale(0.6);
  }
}
