/* colors: #00D09C (aqua blue, first gradient color), #15CFFF (light blue, second gradient color), white, #282828 (dark grey, background color)
fonts: */

/* Simple CSS Reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  /*font: inherit;*/
  vertical-align: baseline;
}

/* Styles for general elements */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', serif;
  font-size: 30px;
}

body {
  background-color:#202020;
  min-height: 100vh; 
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden; 
}

footer {
  text-align: center;
  display:block;
  width: 100%;
  background-color: #151515;
}

p {
  font-family:'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #d1d1d1;
}

a {
  color: #fff;
}

/* Form Styles */
form {
  max-width: 400px;
  margin: 0 auto;
  margin-bottom: 3em;;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #d1d1d1;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

textarea {
  height: 150px; 
}

input[type="submit"] {
  background-color: #086a9f;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: block;
  margin: 0 auto; 
  font-weight: bold;
  -webkit-transition: background-color 2s ease-out;
  -moz-transition: background-color 2s ease-out;
  -o-transition: background-color 2s ease-out;
  transition: background-color 2s ease-out;
}

input[type="submit"]:hover {
  background: linear-gradient(135deg, #086A9F, #00D09C);
}

/* Style rules for fade in animation */
.fade-in {
  opacity: 0;
  animation: fadeInAnimation 2s ease forwards; 
}

.fade-in-img {
  opacity: 0;
  animation: fadeInAnimation 3s ease forwards;
}

.slide-in {
  animation: slideInFromLeft 0.75s ease forwards;
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInAnimation {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animated-image {
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.animated-image:hover {
  transform: translateX(10px); 
}

#resume-link {
  background-image: linear-gradient(135deg, #00D09C, #15CFFF), linear-gradient(135deg, #00D09C, #15CFFF);
  background-size: calc(100% - 10px) 2px, 0 2px; 
  background-position: 5px 100%, 100% 100%;
  background-repeat: no-repeat;
  text-decoration: none;
  transition: background-position 0.4s ease;
  padding-bottom: 5px;
  padding-left: 10px;
}

#resume-link:hover {
  background-position: 100% 100%, 0 100%;
  color: #FFFFFF; 
  font-weight: bolder;
}

#contact-header {
  margin-top: 1em;
  font-size: 4em;
  text-align: center;
}

/* Logo Styles */
#linkedin-logo {
  margin-right: 75px;
}

#linkedin-logo, #github-logo {
  display: block;
  height: 90px;
  width: 90px;
}

#linkedin-logo:hover, #github-logo:hover {
  padding: 5px;
  border: 2px solid;
  border-image: linear-gradient(135deg, #00D09C, #15CFFF) 1;
}

#blog-footer-link {
  background-image: linear-gradient(135deg, #00D09C, #15CFFF), linear-gradient(135deg, #00D09C, #15CFFF);
  background-size: calc(100% - 10px) 2px, 0 2px; 
  background-position: 5px 100%, 100% 100%;
  background-repeat: no-repeat;
  text-decoration: none;
  transition: background-position 0.4s ease;
  padding-bottom: 5px;
  padding-left: 10px;
}

/* Navbar style rules */
.navbar {
  font-family: 'Roboto', serif;
  font-size: 14px;
}

.navbar-custom {
  background-color: #202020 !important;
}

.navbar-custom .navbar-brand,
.navbar-custom .navbar-nav .nav-link {
  color: #ffffff !important;
  font-size: 1.3em;
}

.navbar-custom .navbar-nav .nav-link:hover {
  color: #00D09C !important;
}

.navbar-nav {
  flex-direction: column;
  align-items: center;
}


.welcome-header {
  margin-top: 1em;
  font-size: 5em;
  color: #fff !important;
}

.about-header {
  margin-top: 0em;
  font-size: 4em;
  color: #fff !important;
}

.content-header {
  margin-top: 125px;
  font-size: 32px;
  color: #fff !important;
}

.projects-header {
  margin-top: 3em;;
  padding-bottom: 10px; 
  border-bottom: 2px solid; 
  border-image: linear-gradient(135deg, #00D09C, #15CFFF) 1; 
  width: 60%; 
  display: flex;
  justify-content: center; 
  align-items: center; 
  color: #fff;
  font-weight: 300;
  border-left: 2px solid;
}

.rounded-image {
  border-radius: 50%; 
  max-height: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  box-shadow: 0 0 0 20px rgba(0, 0, 0, 0.0);
  margin-top: 100px;
}

.linkedin-logo {
  margin-right: 2em;
}

.linkedin-logo, .github-logo {
  text-align: center;
}

.resume-link {
  font-size: 18px;
}

.blog-link {
  color: #fff !important;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
  padding-top: 1em;
}

.blog-link:hover {
  color: #00d09c !important;
  text-decoration:underline;
}

.about-link {
  text-align: center;
  padding-top: 2em;
  background-color: #086a9f;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block; 
  -webkit-transition: background-color 2s ease-out;
  -moz-transition: background-color 2s ease-out;
  -o-transition: background-color 2s ease-out;
  transition: background-color 2s ease-out;
}

.about-link a {
  text-decoration: none;
}

.about-link:hover {
  background: linear-gradient(135deg, #086A9F, #00D09C);
}

.about-button-container {
  text-align: center;
  padding-bottom: 2em;
}

.about-text {
  padding-right: 2em;
}

.underline {
  text-decoration: none;
}

.thin {
  font-weight: 100;
  font-style: normal;
}

.pad {
  padding-bottom:4em;
  padding-top: 1em;
}

.menu {
  text-align: center;
  list-style-type: none;
  width: 60%;
  padding-top: 10px;
}

.menu-link a {
  font-family: 'Open Sans', sans-serif;
  color: #d1d1d1;
  position: relative;
  transition: color 0.4s ease, font-weight 0.4s ease; 
}

.menu-link a:hover {
  font-weight: bold; 
}

.menu-link a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background-image: linear-gradient(135deg, #00D09C, #15CFFF), linear-gradient(135deg, #00D09C, #15CFFF);
  background-size: calc(100% - 10px) 1px, 0 1px;
  background-position: 5px 100%, 100% 100%;
  background-repeat: no-repeat;
  transition: background-position 0.4s ease;
}

.menu-link-1, .menu-link-2 {
  padding-bottom: 20px;
}

.main-container {
  position: relative;
  padding: px;
  background-color: transparent; 
  overflow: hidden; 
}

.menu-container {
  padding-left: 6.8em;
}



/* Border Styles */
.top-border,
.bottom-border {
  position: absolute;
  background: none; 
  height: 300px;
  width: 300px;
  border-width: 15px; 
  border-style: solid;
  border-image-slice: 1; 
  transition: border-image 2.0s ease; 
}

.top-border {
  top: 10px;
  left: 10px;
  border-image: linear-gradient(135deg, #00D09C, #15CFFF) 1; 
  border-left: 10px;
  border-top: 10px;
  transform: rotate(180deg);
}

.bottom-border {
  bottom: 10px;
  right: 10px;
  border-image: linear-gradient(135deg, #00D09C, #15CFFF) 1; 
  border-left: 10px;
  border-top: 10px;
}

.left-border {
  border-left: 3px solid;
  border-image: linear-gradient(135deg, #00D09C, #15CFFF) 1;
}

.left-border p {
  padding-left: 20px;
}

.linkedin-logo:hover, .github-logo:hover {
  padding: 5px;
  border: 2px solid;
  border-image: linear-gradient(135deg, #00D09C, #15CFFF) 1;
}

.menu-link-hidden {
  visibility: hidden;
}

/* Media querys for collapsed nav styling */
@media (min-width: 992px) {
  .navbar-nav .nav-link {
    margin-right: 20px;
  }
}

@media (max-width: 991.98px) {
  .navbar-toggler {
    background-color: #000 !important;
  }
  .navbar-collapse {
    background-color: #1e1e1e !important;
    border-radius: 10px;
  }
  .navbar-collapse .nav-link {
    margin-bottom: 10px;
  }
  .navbar-collapse .nav-link {
    color: #ffffff !important;
  }
  .navbar-collapse .nav-link:hover {
    color: #00D09C !important;
  }
  .navbar-collapse .nav-bottom {
    margin-bottom: 0px !important;
  }
}

/* Index page media querys */
@media (max-height: 1012px) { /* remove bottom border when screen height is limited */
  .bottom-border {
    display: none;
  }
}

@media (max-width: 991px) {
  .projects-header {
    margin-top: 0px;
  }

  .welcome-header, .content-header, #contact-header {
    text-align: center;
    margin-top: 0;
  }

  footer {
    position: relative;
  }
  
  .top-border, .bottom-border {
    display: none;
  }

  .resume-link {
    text-align: center;
  }

  .projects-header {
    margin-top: 10px; 
    padding-bottom: 10px; 
    border-bottom: 2px solid; 
    border-image: linear-gradient(135deg, #00D09C, #15CFFF) 1; 
    max-width: 100%; 
    display: inline-block; 
    text-align: center; 
    color: #fff; 
    font-weight: 300; 
  }

  .menu-container {
    padding-left: 0; 
    text-align: center; 
  }

  .menu {
    width: 100%;
    padding-top: 20px; 
  }

  .menu-link-1, .menu-link-2 {
    padding-bottom: 2.5em;
  }

  .menu-link-bottom {
    padding-bottom: 5em;
    padding-top: 2.5em;
  }

  .menu-link-hidden {
    visibility: visible;
  }
}

@media (max-width: 767px) {
  .welcome-header, #contact {
    font-size: 4em;
  }
}

@media (max-width: 389px) {
  #contact-header, .welcome-header, .about-header {
    font-size: 3em;
  }
}

@media (max-height: 1115px) {
  form {
    padding-bottom: 2em;
  }
}

@media (max-width: 575px) {
  .rounded-image {
    width: 50%;
    display: block;
    margin: 0 auto;
    margin-top: 4em;
  }

  #linkedin-logo, #github-logo {
    height: 60px;
    width: 60px;
  }

  #about-header {
    text-align: center;
    margin-top: 0;
  }

  #contact-header {
    font-size: 3em;
  }
}

