/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #f5f5f5;
}

a:hover,
a:focus {
  color: #ffffff;
}

a .nav-link:hover,
a .nav-link:focus,
a .nav-link,.active {
  color: #ffffff;
}
/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #f5f5f5;
  text-shadow: none;
  background-color: #f5f5f5;
  border: .05rem solid #f5f5f5;
}

::-webkit-scrollbar {
  width: 0.1em;
}

/* Track */
::-webkit-scrollbar-track {
  /* box-shadow: inset 0 0 5px grey; */
  /* border-radius: 10px; */
  display: none;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #f5f5f5;
  border-radius: 0.1em;
}

/*
 * Base structure
 */

html,
body {
  /* scroll-behavior: smooth; */
  height: 100%;
  background-color: #2c2c2c;
}

body {
  display: -ms-flexbox;
  display: flex;
  color: #f5f5f5;
  /* text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5); */
  box-shadow: inset 0 0 5rem rgba(255, 255, 255, .05);
  position: relative;
}

.cover-container {
  max-width: 100%;
  overflow: auto;
}

.centre-text {
  max-width: 50rem;
  text-shadow: none;
  align-self: center;
}

.cover-heading {
  min-width: auto;
}

.cover-sub-heading {
  min-width: auto;
  margin-bottom: 0;
  /* text-shadow: none !important; */
}

.work-inner {
  max-width: 50rem;
  margin-top: 1.5em;
  align-self: center;
}

.work-content {
  margin-left: 5em;
  text-align: left;
}

.work-sub-heading {
  font-weight: 200;
  color: #f5f5f5;
}

@media (max-width: 800px) {
  .cover {
    width: 100%;
    padding: 0 0 !important;
  }

  .centre-text {
    max-width: 85%;
    margin-bottom: 0 !important;
    font-size: 1rem;
  }

  /* .cover-img {
    margin-top: 10%;
  } */

  .cover-heading {
    font-size: 1.5rem;
  }

  .cover-sub-heading {
    font-size: 1.25rem;
    /* text-shadow: none !important; */
  }

  .work-inner {
    flex-direction: column !important;
  }

  .work-content {
    margin: 0em;
    text-align: center;
  }

  #education-content-small-screen {
    visibility: visible !important;
    height: 100% !important;
  }

  #education-content-big-screen
  {
    visibility: hidden;
    height: 0em;
  }
}

.navbar-light .navbar-nav .nav-link {
  color: #f5f5f5;
}

/*
 * Header
 */
.masthead {
  margin-bottom: 5rem;
  width: 100%;
  align-self: center;
  text-shadow: none;
}

.masthead-brand {
  margin-bottom: 0;
}


.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 600;
  color: #f5f5f5;
  border-bottom: .15rem solid transparent;
  width: auto;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: #f5f5f5;
  color: #ffffff;
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #ffffff;
  border-bottom-color: #ffffff;
  width: fit-content;
  margin: auto;
}

.navbar-light .navbar-nav .nav-link.active  {
  color: #ffffff;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #ffffff;
}

/* @media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
} */


/*
 * Cover
 */
.cover {
  padding: 0 1.5rem;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
  align-self: center;
}

.cover-img {
  max-width: 10rem;
  min-width: 20%;
  border-radius:50%;
}

.section-img {
  max-width: 7rem;
  min-width: 10%;
  border-radius:50%;
}

.non-round {
  border-radius: 0 !important;
}

main {
  height: 100%;
  overflow: auto;
  position: relative;
  scroll-behavior: smooth;

}

table {
  table-layout:fixed;
  display: table;
  max-width: 42rem;
  align-self: center;
}
table tbody {
  display: table;
  width: 100%
}
td {
  vertical-align:bottom;
  padding: 0 2em;
}

.contact-link {
  align-self: center;
  margin: 0.5rem;
}

.edu-inner {
  align-self: flex-end;
  height: 100%;
  margin-bottom: 2em;
}

#education-content-small-screen {
  visibility: hidden;
  height: 0em;
}

/* main-cover {
  height: 100%;
} */

.inner-content {
  justify-content: center;
  height: auto;
  min-height: 100%;
}

.skill-container {
  /* display: block; */
  overflow: hidden;
}

.skill-label {
  position: relative;
  width: fit-content;
  background-color: #3d3d3d;
  color: #f5f5f5;
  margin: 0.1em;
  padding: 0.3em;
  border-radius: 0.25em;
}

label:hover {
  background-color: #4d4d4d;
  color: #ffffff;
}

/*
 * Footer
 */
.mastfoot {
  color: #f5f5f5;
}
