:root {
  --bg-color: #202124;
  --font-color: #FFFFFF;
  --link-color: #8AB4F8;
  --link-hover-color: #bdbdbd;
  --modal-bg-color: #2c2c2c;
  --modal-border-color: #4b4b4b;
  --success-color: #8DFF95;
  --circle-color: #8DFF95;
}

* {
  box-sizing: border-box;
}

:root {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.5;
}

body {
  background-color: var(--bg-color);
  color: var(--font-color);
}

.container {
  width: 80%;
  max-width: 600px;
  margin: 0 auto;
}

.about-me-container {
  text-align: center;
}

a {
  text-decoration: none;
  color: var(--link-color);
}

.ph {
  margin-right: 8px;
}

.paragraph-text {
  font-size: 18px;
}

.margin-bottom {
  margin-bottom: 30px;
}

a:hover {
  color: var(--link-hover-color);
}

.contact-page-text {
  margin-top: 21px;
}

.footer {
  font-size: 12px;
  text-align: center;
  padding-bottom: 30px;
}

.footer a {
  border-bottom: none;
  color: var(--font-color);
}

.footer a:hover {
  color: var(--link-hover-color);
}

.footer__social__container {
  text-align: center;
  margin-bottom: 10px;
}

.footer__social a {
  display: inline-block;
  height: 1.25rem;
  border-bottom: none;
}

.footer__social a svg path {
  transition: fill 150ms ease-in-out;
}

.footer__social a svg path {
  fill: var(--font-color);
}

.footer__social a:hover svg path {
  fill: var(--link-hover-color);
}

.footer__social a:not(:last-child) {
  margin-right: 1.5rem;
}

.profile {
  border-radius: 50%;
  display: block;
  margin-top: 21px;
  margin-left: auto;
  margin-right: auto;
}

.hat-image {
  border-radius: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: var(--modal-bg-color);
  margin: 5% auto;
  /* 5% from the top and centered */
  padding: 20px;
  border: 1px solid var(--modal-border-color);
  width: 95%;
  /* Could be more or less, depending on screen size */
}

@media (min-width: 700px) {
  .modal-content {
    max-width: 700px;
    /* Could be more or less, depending on screen size */
  }
}

/* The Close Button */
.close {
  color: var(--link-color);
  float: right;
  font-size: 32px;
  font-weight: bold;
  margin-top: -11px;
}

.close:hover,
.close:focus {
  color: var(--link-hover-color);
  text-decoration: none;
  cursor: pointer;
}

/* Style inputs with type="text" & "email", select elements and textareas */
input[type="text"],
input[type="email"],
select,
textarea {
  font: 17px "Space Grotesk", sans-serif;
  width: 100%;
  /* Full width */
  padding: 12px;
  /* Some padding */
  border: 1px solid #ccc;
  /* Gray border */
  border-radius: 4px;
  /* Rounded borders */
  box-sizing: border-box;
  /* Make sure that padding and width stays in place */
  margin-top: 6px;
  /* Add a top margin */
  margin-bottom: 16px;
  /* Bottom margin */
  resize: vertical;
  /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type="submit"] {
  font: 16px "Space Grotesk", sans-serif;
  background-color: #3897d3;
  color: white;
  padding: 12px 40px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker blue color */
input[type="submit"]:hover {
  background-color: #3080b3;
}

.safetext {
  font-size: 16px;
}

.thanks {
  text-align: center;
}

.success {
  font-size: 3rem;
  color: var(--success-color);
  margin-top: 21px;
}

.circle {
  margin-top: -50px;
}

.circle g path {
  fill: var(--circle-color);
}

.rotate {
  transform: rotate(180deg) scaleX(-1);
}

.hat__text {
  margin-top: -30px;
}

/* Media Queries Start */

/* Tablet 768px and up  */
@media (min-width: 48em) {
  .about-me-container {
    text-align: left;
  }
}

/* Media Queries End */