* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

:root {
  --black: #080808;
  --white: #fefefe;
  --gray: #565656;
  --light-light-gray: rgba(120, 118, 118, 0.2);
  --light-gray: rgba(120, 118, 118, 0.5);
  --dark-white: #e3dac9;

  --teal: #006060;
  --violetred: #a2106d;
  --orange: #ffa500;

  --black-blue: #00002a;
  --dark-blue: #152238;
  --dark-steel: #2774a0;
  --steel-blue: #2d82b7;
  --yellow: #eeeb2e;
}

html {
  background-color: var(--white);
}

body {
  font-family: "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1.2em;
  color: var(--black);
  height: 100%;
}

h1 {
  text-align: center;
  font-size: 2rem;
  margin: 30px auto 10px auto;
}

form {
  display: inline-block;
  margin: 0 25%;
  max-width: 100%;
}

table {
  border: 2px solid var(--black);
}

.sticky {
  position: fixed;
  bottom: 0;
}

footer {
  background-color: var(--black-blue);
  padding: 25px 0;
  width: 100%;
  border-top: solid 1px var(--light-light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
}

.btn {
  display: inline-block;
  border: 0;
  width: 100%;
  padding: 10px 0;
  text-decoration: 0;
  text-align: center;
}

.primary {
  background-color: var(--yellow);
  color: var(--black);
}

.primary:hover {
  color: var(--white);
  background-color: var(--steel-blue);
}

.secondary {
  background-color: var(--dark-steel);
  border: 2px solid var(--dark-steel);
  color: var(--white);
}

.secondary:hover {
  color: var(--black);
  background-color: var(--white);
}

.copyright {
  color: var(--black);
  background-color: var(--white);
  border-radius: 50%;
  border: 2px solid var(--white);
  margin: 0 5px 0 0;
}

.footer-git {
  font-size: 40px;
  color: var(--white);
  justify-self: center;
}

.footer-git:hover {
  color: var(--gray);
}

.sr-only {
  display: none;
  color: var(--white);
  background-color: var(--black);
}

/* for nav bar */
.menu {
  margin: 0px;
  padding: 25px 0;
  width: 100%;
  background-color: var(--dark-blue);
}

.menu-list {
  margin: 0px;
  text-align: right;
  width: 100%;
}

.menu-li {
  margin: 0px;
  padding: 0px;
  display: inline-block;
  text-align: center;
}

.menu-tab {
  color: var(--white);
  text-decoration: none;
  width: 100%;
  padding: 25px 20px;
}

.menu-tab:hover {
  background-color: var(--steel-blue);
}

@media (max-width: 470px) {
  .menu {
    padding: 0;
  }

  .menu-list {
    display: flex;
    text-align: justify-all;
    padding: 0px;
  }

  .menu-li {
    width: 25%;
    text-align: center;
  }

  .menu-tab {
    display: inline-block;
    width: 100%;
    padding: 25px 0;
  }
}

/* for about (index) page */
.abt-photo {
  display: block;
  margin: 0 auto;
  border-radius: 50%;
}

.bio {
  margin: 20px auto;
  width: 70%;
  max-width: 900px;
}

.bio::first-line {
  font-weight: bold;
}

/* for previous work page */
.prev-section {
  margin: 20px auto;
  width: 70%;
}

.work-type {
  margin: 20px 0;
}

.type-sub {
  margin: 10px;
}

.sub-desc {
  margin: 10px 20px;
}

.class-list {
  margin: 5px 20px;
}

.list-desc {
  margin-left: 10px;
}

.class {
  margin: 5px 30px;
}

.class-name {
  font-weight: normal;
  font-size: 17px;
}

.proj-link {
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px dotted var(--black);
}

.proj-link:hover {
  color: var(--steel-blue);
  border-bottom-color: var(--steel-blue);
}

.proj-link:focus {
  color: var(--steel-blue);
}

/* for projects page */
.page-top {
  background-image: url(./images/dk-blue-wall-1.jpg);
  background-color: var(--steel-blue);
  height: 93vh;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.carousel-out {
  font-size: 50px;
  color: var(--white);
}

.carousel-out:hover {
  color: var(--dark-white);
}

.carousel {
  display: flex;
  max-width: 650px;
  width: 100%;
  height: 400px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin: auto;
}

.arrow {
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  width: 36px;
  background-color: var(--dark-blue);
  border-radius: 50%;
  text-align: center;
  /* line-height: 36px; */
  color: var(--white);
  font-size: 15px;
  transition: all 0.3s linear;
  z-index: 100;
  cursor: pointer;
}

.arrow:active {
  transform: scale(0.94) translateY(-50%);
}

.cards {
  height: 320px;
  width: 100%;
  max-width: 500px;
  overflow: hidden;
}

.showing {
  display: flex;
  height: 100%;
  width: 100%;
  transition: all 0.4s ease;
}

.card {
  background-color: var(--white);
  display: flex;
  min-width: 500px;
  max-width: 500px;
  border: 2.5px solid var(--black);
  object-fit: cover;
}

.card-img {
  width: 34%;
  height: 300px;
  padding: 10px;
  align-self: center;
}

.text {
  padding: 10px 10px 20px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.card-title {
  font-size: 25px;
}

.git-logo {
  font-size: 35px;
  color: var(--dark-blue);
}

.git-logo:hover {
  color: var(--steel-blue);
}

.projects {
  margin: 50px auto 0 auto;
  width: 80%;
}

.proj-title {
  margin: 10px 0;
}

.git-link {
  display: block;
  margin: 15px auto;
}

.project {
  margin: 30px 0;
}

.gui-fig {
  padding: 5px;
  border: 1px solid;
  width: 95%;
  margin: 10px auto;
  background-color: var(--dark-steel);
}

.gui-cap {
  text-align: center;
  padding: 5px;
  font-style: italic;
  font-size: 0.8em;
  color: var(--white);
}

.gui-default {
  display: block;
  width: 70%;
  margin: 10px auto;
  border: 1px solid;
}

.gui-imgs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gui-img {
  width: 40%;
  min-width: 300px;
  border: 1px solid;
  margin: 0 5px;
}

.proj-info {
  margin: 10px;
}

.fitbot-widget {
  margin: 15px 25%;
  border: 2px solid var(--black);
}

.intent {
  font-weight: bold;
  font-size: 0.9em;
}

.intent-desc {
  margin: 10px 0 25px 0;
}

.fitbot-quest {
  margin: 10px auto;
  max-width: 1050px;
  min-height: 225px;
}

.quest-op {
  width: 10%;
}

.quest-row {
  margin: 10px 0;
  border-top: 1px solid var(--light-gray);
}

.question {
  font-weight: normal;
}

.questionnaire {
  display: flex;
  justify-content: space-around;
  align-items: center;
  border: 0;
}

.neutral {
  appearance: none;
  width: 1.5em;
  height: 1.5em;
  border: 2px solid var(--gray);
  border-radius: 50%;
}

.neutral:checked {
  background-color: var(--gray);
}

.dis {
  appearance: none;
  width: 2em;
  height: 2em;
  border: 2px solid var(--violetred);
  border-radius: 50%;
}

.dis:checked {
  background-color: var(--violetred);
}

.agree {
  appearance: none;
  width: 2em;
  height: 2em;
  border: 2px solid var(--steel-blue);
  border-radius: 50%;
}

.agree:checked {
  background-color: var(--steel-blue);
}

.str {
  width: 2.5em;
  height: 2.5em;
}

.elipses {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
}

label {
  color: black;
}

@media (max-width: 830px) {
  .gui-img {
    margin: 10px;
  }
}

/* for contact page */
.flex-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-half {
  width: 49%;
  padding: 10px;
}

.my-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.center {
  margin: auto;
}

.info-section {
  margin: 20px;
}

.info-icon {
  color: var(--dark-blue);
}

.info-content {
  padding: 0 0 0 10px;
}

.work {
  display: flex;
  align-items: center;
}

.address {
  display: flex;
  flex-direction: column;
}

.form-half {
  background-color: var(--steel-blue);
  margin-bottom: 10px;
  border: 2px solid var(--black-blue);
  border-radius: 5px;
}

.contact-form {
  display: block;
  margin: auto;
  background-color: var(--white);
  border-radius: 10px;
  padding: 10px;
  width: 260px;
}

.contact-section {
  padding: 5px 0;
}

.contact-input {
  width: 100%;
  border: 2px solid;
}

@media (max-width: 775px) {
  .contact-half {
    width: 90%;
  }
}
