body {
  background: #fafafa;
  color: #333333;
  font-family: 'Magra' !important;
  letter-spacing: 1px;
}

a:hover {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Magra' !important;
}

h3 {
  color: white;
}

h2 {
  padding: 10px 0 0 0;
}

h1 {
  color: #444444;
}

.alert {
  position: absolute;
  top: 3.5rem;
  width: 100%;
}

p {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

.page-container {
  position: relative;
  display: table;
  min-height: 100vh;
  width: 100%;
}

.container {
  position: relative;
  margin-right: auto;
  margin-left: auto;
}

/* navbar stuff */
.bg-steel {
  background-color: #444444;
}

#navbarname {
  color: #ffffff;
}

.nav-item {
  transition: 0.5s ease-in-out;
}

.nav-item:hover {
  transition: 0.5s ease-in-out;
}

.navbar {
  background: rgba(0, 0, 0, 0.4);
}

.content-section {
  background: #ffffff;
  padding: 10px 20px;
  border: 1px solid #dddddd;
  border-radius: 3px;
  margin-bottom: 20px;
}

.article-title {
  color: #444444;
}

a.article-title:hover {
  color: #428bca;
  text-decoration: underline;
}

.article-content {
  white-space: pre-line;
  font-size: small;
}

.article-metadata {
  padding-bottom: 1px;
  margin-bottom: 4px;
  border-top: 1px solid #e3e3e3;
}

.article-metadata a:hover {
  color: #333;
  text-decoration: none;
}

.profilePage {
  text-align: center;
}

.article-svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

.account-img {
  height: 125px;
  width: 125px;
  margin-right: 20px;
  margin-bottom: 16px;
  object-fit: cover;
}

.account-heading {
  font-size: 2.5rem;
}

.about-container {
  background-color: black;
}

.darkBack {
  background-color: rgb(0, 18, 36);
  color: rgb(199, 199, 199);
  padding: 40px 15px 10px 15px;
  margin-top: auto;
  overflow: hidden;
}

.whiteBack {
  background-color: rgb(218, 218, 218);
  color: black;
  padding: 40px 0px 40px 0px;
}

.testSideNav {
  position: fixed;
  bottom: 0px;
  left: 40px;
  right: auto;
  z-index: 10;
  color: rgba(250, 168, 61, 0.842);
}

#title {
  /* text-align: center; */
  background-image: url("/static/beachBackground.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: white;
  font-size: large;
  font-weight: 400;
  opacity: 130%;
  position: relative;
}

.loginBtn {
  text-align: center;
}

.myPic {
  height: 200px;
  width: 200px;
  object-fit: cover;
  text-align: center;
  border-style: solid;
  border-color: white;
}

.divPic {
  text-align: center;
}

.grecaptcha-badge {
  display: none;
}

.grecaptcha-badge {
  z-index: 99999;
  display: block !important;
}

.shortDes {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  width: 80%;
  text-align: center;
}

.readMore {
  color: #ffffff;
  text-align: center;
  padding-top: 20px;
}

a.aboutMeArrow {
  color: #ffffff;
  transition: 0.5s ease-in-out;
}

a:hover.aboutMeArrow {
  color: rgb(208, 232, 255);
  text-decoration: none;
  transition: 0.5s ease-in-out;
}

/* margin for included elements
makes sure content not too far up and not behind the navbar
*/
.newPages {
  margin-top: 7rem;
}

/* might delete */
#logOut {
  text-align: center;
  position: relative;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  margin-top: 10rem;
}

.techStack {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
  width: 80%;
}

/* Animations */
.w3-animate-bottom1 {
  position: relative;
  animation: animatebottom 0.4s;
  animation-duration: 4s;
  animation-timing-function: ease;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: none;
  animation-play-state: running;
  animation-name: animatebottom;
}

.w3-animate-top1 {
  position: relative;
  animation: animatetop 0.4s;
  animation-duration: 3s;
  animation-timing-function: ease;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: none;
  animation-play-state: running;
  animation-name: animatetop;
}

.w3-animate-opacity1 {
  animation: opac 2s;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: none;
  animation-play-state: running;
  animation-name: opac;
}

/* footer attributes */
#footer {
  color: #dddddd;
  background-color: rgb(76, 100, 124);
  position: absolute;
  text-align: center;
  height: 5rem;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
}

#footer a {
  color: #fff;
}

#footer a:hover {
  text-decoration: none;
}

.footerIcons {
  padding: 0px 5px 0px 5px;
}

/* card */

.card {
  background-color: rgb(0, 39, 78);
  border: none;
  color: rgb(187, 187, 187);
  width: 22rem;
  margin-right: 20px;
  height: auto;
  -webkit-transition: all .5s;
  transition: all .5s;
}

.card-body h5 {
  color: white;
  transition: .5s ease-in-out;
}

/* project detail image */
.article-img {
  position: relative;
  height: auto;
  width: auto;
  display: block;
  max-width: 200px;
  max-height: 300px;
  margin: 15px 15px 15px 15px;
  object-fit: cover;
  text-align: center;
}

.sectionTitle {
  text-align: center;
  padding-bottom: 20px;
  color: white;
}

.myProjectsTitle {
  color: black;
}

.myStudiesSection {
  padding: 10px 10px 10px 10px;
}


.wrapper {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.readMoreProject {
  font-size: x-small;
  color: #726f6f;
}

.updateProject {
  font-size: small;
  color: #eb7373;
  position: absolute;
  /* margin-bottom: 10px;
  margin-left: 10px; */
  right: 20px;
  bottom: 10px;
}

.wrapper:after {
  content: '';
  display: block;
  padding-top: 100%;
}

.wrapper img {
  width: auto;
  height: 100%;
  max-width: none;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  transition: 0.5s ease-in-out;
}

.col-md-5 {
  padding-bottom: 20px;
}

.card:hover {
  transform: translateY(-15px);
  -webkit-transition: all .5s;
  transition: all .5s;
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
  filter: gray;
  -webkit-filter: grayscale(30%);
}

.hiddenText {
  position: absolute;
  top: 0;
  left: 20px;
  margin-right: 5px;
  padding-right: 5px;
  color: rgba(51, 51, 51, 0);
  text-overflow: ellipsis;
  font-size: small;
  white-space: pre-line;
  transition: .5s ease-in-out;
}

.language {
  color: rgb(255, 196, 118);
  /* margin: 14px 10px 5px 5px; */
  position: absolute;
  left: 20px;
  bottom: 10px;
}

.iconify {
  position: absolute;
  /* margin-bottom: 10px;
  margin-left: 10px; */
  opacity: 0;
  height: auto;
  width: 1.4rem;
  right: 20px;
  bottom: 10px;
  transition: 0.5s ease-in-out;
}

.card:hover .iconify {
  opacity: 1;
  transition: 0.5s ease-in-out;
}

a .iconify:hover {
  color: rgb(255, 196, 118);
  transition: 0.5s ease-in-out;
}

.card:hover .hiddenText {
  color: white;
  opacity: 1;
  transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -webkit-transition: opacity .1s ease-in-out;
}

.card:hover img {
  opacity: 0;
  transition: opacity .5s ease-in-out;
  -moz-transition: opacity .5s ease-in-out;
  -webkit-transition: opacity .5s ease-in-out;
}

.card-text {
  transition: .5s ease-in-out;
}

.card:hover .card-text {
  opacity: 0;
  transition: opacity .5s ease-in-out;
  -moz-transition: opacity .5s ease-in-out;
  -webkit-transition: opacity .5s ease-in-out;
  cursor: default;
}

.card:hover h5 {
  opacity: 0;
  transition: opacity .5s ease-in-out;
  -moz-transition: opacity .5s ease-in-out;
  -webkit-transition: opacity .5s ease-in-out;
  cursor: default;
}

.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

/* tab */
/* Style the tab */
.tabcontent {
  margin: auto;
  height: 100%;
  width: auto;
}

.tabcontent .tabParagraph {
  text-align: left;
  margin: auto;
}

.tab {
  text-align: center;
  background-color: rgb(0, 18, 36);
}

.btn-group {
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.tablinks {
  white-space: normal;
  width: 50%;
}

.uniSpan {
  color: #eb7373;
}

.linkSpan {
  color: rgb(211, 161, 85);
  transition: .5s ease-in-out;
}

.linkSpan:hover {
  color: rgb(253, 233, 204);
  transition: .5s ease-in-out;
}

.tab button {
  background-color: inherit;
  color: rgb(226, 226, 226);
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.6s;
  font-size: 18px;
  overflow: visible;
  border-bottom: rgb(63, 63, 63) solid;
  border-style: solid 1px;
}

.tab button:hover {
  background-color: rgb(0, 43, 87);
}

.tab button.active {
  background-color: rgb(76, 100, 124);
  border-bottom: rgb(211, 161, 85) solid;
}

#tabTable {
  padding-bottom: 50px;
}

/* contactpage */
/* icons */
#contactPageIcons {
  margin-bottom: 1.5rem;
}

/* otherProjects */
.otherProjectArticle {
  height: auto;
  width: 70%;
  transition: .5s ease-in-out;
  border-radius: 5px;
  border: solid rgb(0, 0, 0);
  border-width: 2px;
  opacity: 0.85;
}

.otherProjectArticle:hover {
  height: auto;
  width: 70%;
  transition: .5s ease-in-out;
  opacity: 1;
  background-color: black;
  /* transform: scale(1.02); */
}

.otherProjectImage {
  height: auto;
  width: 100%;
  transition: .5s ease-in-out;
  border-radius: 5px;
  border: solid rgb(0, 0, 0);
  border-width: 2px;
  opacity: 0.85;
}

.otherProjectImage:hover {
  height: auto;
  width: 100%;
  transition: .5s ease-in-out;
  opacity: 1;
  background-color: black;
  /* transform: scale(1.02); */
}

.otherRow {
  margin-bottom: 20px;
  position: relative;
}

.otherProjectImageIceland {
  height: auto;
  width: 90%;
  transition: .5s ease-in-out;
  border-radius: 5px;
  border: solid rgb(75, 75, 75);
  border-width: 2px;
  opacity: 0.85;
}

.otherProjectImageIceland:hover {
  height: auto;
  width: 90%;
  transition: .5s ease-in-out;
  opacity: 1;
  background-color: black;
  /* transform: scale(1.02); */
}

.otherPage {
  background-color: rgb(212, 217, 221);
  color: rgb(0, 0, 0);
}

.overlay {
  position: relative;
}

.iconify.testPlay {
  position: absolute;
  display: block;
  opacity: 1;
  margin: auto;
  bottom: 38%;
  right: 46%;
  width: 10%;
  height: auto;
  color: rgb(255, 190, 106);
}

.iconify.testPlayIceland {
  position: absolute;
  display: block;
  opacity: 1;
  margin: auto;
  bottom: 42%;
  right: 46%;
  width: 10%;
  height: auto;
  color: rgb(255, 190, 106);
}

/* Portrait css for small screens */
@media only screen and (max-width: 600px) and (orientation: portrait) {
  #title {
    padding: 110px 15px 100px 15px;
    height: 100vh;
  }
}

/* landscape padding for small screens */
@media only screen and (min-width: 600px) {
  #title {
    padding: 80px 15px 100px 15px;
    height: 100vh;
  }

}

/* medium devices padding */
@media only screen and (min-width: 768px) {
  #title {
    padding: 100px 15px 100px 15px;
    height: 100vh;
  }

}

/* large devices(laptops/desktops) */
@media only screen and (min-width: 992px) {
  #title {
    padding: 100px 15px 100px 15px;
    height: 100vh;
  }
}

/* extra large devices(large laptops/desktops 1200px+) */
@media only screen and (min-width: 1200px) {
  #title {
    padding: 320px 15px 320px 15px;
    height: 100vh;
  }
}

@media only screen and (max-height: 420px) and (orientation:landscape) {
  .readMore {
    display: none;
  }

  .myPic {
    height: 170px;
    width: 170px;
  }
}

@media only screen and (max-height: 320px) and (orientation:landscape) {

  #title {
    height: 100vh;
  }

  .readMore {
    display: none;
  }

  .myPic {
    height: 100px;
    width: 100px;
  }
}