/* Teal: #009faa */
/* gray blue #444957 */
/* light gray #eeeeee */
/* #797979 */
@import "https://fonts.googleapis.com/css?family=Raleway:100,300,600";

:root {
  --header-color: #808080;
  --header-border-color: #185a81;

}

body {
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  margin: 0;
  background-color: #eeeeee;
}

#header_page {
    /* background-image: linear-gradient(-9deg, #eeeeee 30%,  var(--header-border-color) 30.1%, var(--header-border-color), 33.1%, var(--header-color) 33.2%); */
    background-image: linear-gradient(-4deg, #eeeeee 30%,  var(--header-border-color) 30.1%, var(--header-border-color), 33.1%, var(--header-color) 33.2%);

    height: 60%;
    min-height: 400px;
    width: 100%;
    color: white;
}

#headline {
  height: 80%;
  width: 60%;
  float: left;
}

.links-container {
  width: 40%;
  float: left;
  font-size: 4em;
  padding-top: 2.4em;
  color: white;
}

.link { transition: all .2s ease-in-out; display: inline-block; }
.link:hover { transform: scale(1.2); }

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  font-size: 0.4em;
  font-weight: bold;
  width: 120px;
  background-color: black;
  color: #808080;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 150%;
  left: 50%;
  margin-left: -60px; /* Use half of the width (120/2 = 60), to center the tooltip */
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.tabs-container {
  width: 100%;
  /* background-color: #808080; */
}
.tablink {
  font-size: 3em;
  padding: 0.4em;
  text-align: left;
  border-radius: 0px;
  /* border: none; */
  /* border-color: #808080; */
  /* background-color: #808080; */
}
/* .tablink :focus {border: none;}
.tablink :active {border: none;} */

.selected {
  color: #185a81;
  border-bottom: none;
  border-radius: 0px;
}

#project_page {
  height: 600px;
  /* width: 100%; */
}
#about_page {
  /* width: 100%; */
  float: left;
  padding-top: 6em;
  /* display:none; */
}
#education_page {
  padding-top: 4em;
  /* width: 100%; */
  float: left;
}
#experiences_page {
  padding-top: 4em;
  /* width: 100%; */
  float: left;
}

.page {
  width: 100%;
}

.about {
  width: 94%;
  margin: auto;
  margin-bottom: 4em;
  align: center;
  font-size: 1.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-img {
  /* flex-basis: 40%; */
  border-radius: 50%;
}
.side-text {
  padding-left: 2em;
}

.pg3-text {
  width: 94%;
  margin: auto;
  align: center;
  font-size: 1.6em;
  padding-bottom: 4em;
  /* display: flex;
  align-items: center;
  justify-content: center; */
}

h1 {
  color: black;
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  font-size: 6em;
  padding: 20px;
  padding-top: 50px;
  padding-bottom: 10px;
  text-align: left;
  margin-bottom: 0;
  font-weight: 400;
}

h2 {
  color: black;
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 2em;
  padding: 20px;
  padding-top: 0px;
  text-align: left;
}

a {
  color: black;
}

h3 {
  font-size: 3em;
  padding: 20px;
  padding-top: 0px;
  text-align: left;
}

div.project-card {
  background-color: white;
  width: 18.8em;
  height: 36.5em;
  margin: 2em;
  border-radius: 0.8em;
  box-shadow: 0px 5px 10px 5px rgba(0, 0, 0, 0.1);
  float: left;
}

div.project-card:hover {
  /* maybe zoom into image on hover */
}

div.project-card img {
  width: 100%;
  height: 40%;
  border-top-left-radius: 0.8em;
  border-top-right-radius: 0.8em;
}

div.desc {
  padding: 1em;
  text-align: left;
  font-family: arial;
}

div.title {
  font-weight: bold;
  font-size: 1.2em;
  padding-bottom: 0.4em;
}

div.tag {
  font-weight: bold;
  color: white;
  padding: 0.3em;
  padding-left: 0.6em;
  padding-right: 0.6em;
  margin-top: 0.4em;
  border-radius: 0.8em;
  background-color: blue;
  display:inline-block;
}

.img-container {
    position: relative;
    margin: auto;
    overflow: hidden;
    border-top-left-radius: 0.8em;
    border-top-right-radius: 0.8em;
}

.img-container img {
  width: 100%;
  max-width: 100%;
  height: 40%;
  transition: all 0.3s;
  display: block;
  transform: scale(1);
}

.img-container:hover img {
    transform: scale(1.05);
}

/* #footer_container {
  width: 100%;
} */

#footer {
  width: 100%;
  height: 2em;
  background: linear-gradient(0deg, #444957 80%, #C0B053 80%, #C0B053 100%);
  float: left;
  text-align: center;
  padding-top: 1em;
  color: white;
  font-size: 1.6em;
} #footer i { padding-left: 0.2em; padding-right: 0.2em; }

.footer-text {
  color: white;
  font-size: 0.5em;
}.footer-text a { color: white; }


@media only screen and (max-width: 1250px) {
  #headline {
    height: 80%;
    width: 100%;
  }
  .links-container {
    width: 100%;
    font-size: 3em;
    padding-top: 10%;
    text-align: center;
  }
  div.project-card {
    font-size: 1.2em;
    margin: 1em;
  }
}

@media only screen and (max-device-width: 800px) {
  div.project-card {
    font-size: 1.4em;
  }
}

@media only screen and (max-device-width: 600px) {
  #headline {
    font-size: 1.6em;
  }
  div.project-card {
    font-size: 1.8em;
  }
}

@media only screen and (max-device-width: 400px) {
  #headline {
    font-size: 1.6em;
  }
  .links-container {
    font-size: 6em;
  }
  div.project-card {
    font-size: 2.8em;
  }
}
