:root {
  --theme_color: #ed819d;
}

html {
  font-size: 62.5%;
}

@font-face {
  font-family: Poppins;
  src: url("../fonts/Poppins-Regular.ttf");
}

@font-face {
  font-family: Poppins_Medium;
  src: url("../fonts/Poppins-Medium.ttf");
}

@font-face {
  font-family: Poppins_Semibold;
  src: url("../fonts/Poppins-SemiBold.ttf");
}

@font-face {
  font-family: Poppins_Bold;
  src: url("../fonts/Poppins-Bold.ttf");
}

@font-face {
  font-family: Poppins_Italic;
  src: url("../fonts/Poppins-Italic.ttf");
}

body {
  font-size: 1.6rem;
  font-family: Poppins, sans-serif;
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

.container {
  max-width: 120rem;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: currentColor;
}

.btn {
  border: none;
  padding: 1.2rem 2rem;
  width: fit-content;
  border-radius: 0.5rem;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(0.95);
  transition: 0.3s all;
}

.btn-dark {
  background: var(--theme_color);
  color: white;
}

.text-black {
  color: black;
}

/*========== Topbar ==========*/
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 50px;
}

@media only screen and (max-width: 600px) {
  .topbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    padding: 0;
  }
}

.topbar-right a {
    font-size: 1.3rem;
    margin: 0.5rem 0;
}

.topbar-right .flex {
  align-items: baseline;
  flex-direction: column;
}

body:not(.doctor) .add-schedule-button {
  display: none;
}

@media only screen and (max-width: 600px) {
  /* Smaller logo in mobile */
  .logo-wrapper img {
    padding: 1rem 0 1rem 1rem;
    height: 6rem;
  }

  /* Hide current user in mobile */
  .current-user {
    display: none;
  }
}
/*========== End Topbar ==========*/

/*========== Navigation bar ==========*/
.navigation-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: black;
  color: white;
  padding: 10px;
  align-items: center;
}

.navigation-wrapper nav ul {
  list-style: none;
}

/* Mobile navigation styles */
@media only screen and (max-width: 600px) {
  .navigation-wrapper nav ul {
    font-size: 1.3rem;
    justify-content: space-between;
    padding: 0.5rem 0;
  }

  .navigation-wrapper nav {
    width: 100%;
  }
}
/*========== End Navigation bar ==========*/

/*========== Footer ==========*/
footer {
  background-color: black;
  color: white;
}
/*========== End Footer ==========*/

/*========== Form ==========*/
form {
  display: flex;
  flex-direction: column;
  width: 350px;
  max-width: 80vw;
  margin: 0 auto;
  color: currentColor;
}

@media only screen and (max-width: 600px) {
  form {
    display: flex;
    margin: unset;
  }
}

input:not([type="submit"]),
textarea,
select {
  width: 100%;
  border: 1px solid black;
  padding: 1rem;
  border-radius: 0.5rem;
}

label {
  margin-top: 1rem;
}
/*========== End Form ==========*/
