:root {
  --main-color: #6caba2;
}

html,
body {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  cursor: pointer;
}

#header-img {
  width: 100%;
  height: 100%;
}

#header-text .card-title {
    font-size: 3rem;
}

nav {
    background-color: var(--main-color);
}

.nav-link {
    color: white !important;
}

.nav-link:hover {
  text-decoration: underline !important;
}

#header-img {
  background-image: url("../img/header2.jpg");
  background-size: cover;
  display: flex;
  align-items: center;
}

#header-text {
  text-align: center;
  color: white;
}


.section-header {
  padding-bottom: 1rem;
  font-size: 2rem;
}

.card {
  align-items: center;
  overflow: hidden;
  padding-top: 1rem;
}

.card-text-container {
  padding: 2rem 0;
}


.language-text {
  font-size: 1.5rem;
  white-space: nowrap;
}

#java-card:hover {
  box-shadow: 0px 0px 50px #f75629;
}

#python-card:hover {
  box-shadow: 0px 0px 50px #ffcf3f;
}

#c-sharp-card:hover {
  box-shadow: 0px 0px 50px #390091;
}

#cpp-card:hover {
  box-shadow: 0px 0px 50px #00599c;
}

#html-card:hover {
  box-shadow: 0px 0px 50px #f16327;
}

#css-card:hover {
  box-shadow: 0px 0px 50px #29a9df;
}

#js-card:hover {
  box-shadow: 0px 0px 50px #ffde25;
}

#sql-card:hover {
  box-shadow: 0px 0px 50px #3465a4;
}

.card-effect:hover {
  cursor: pointer;
  transform: scale(1.15);
  z-index: 1000;
  transition: all ease-in 0.1s;
}


#article-section {
  background-color: var(--main-color);
  color: white;
}

.article-thumbnail {
  width: inherit;
  box-shadow: 0px 0px 10px black;
}

.article {
  width: inherit;
}

.w-inherit {
  width: inherit;
}

pre {
  background-color: rgb(247 247 247);
  padding: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  #toggler-container {
    position: relative;
    width: 100%;
  }

  h1 {
    text-align: center;
  }

  .card {
    margin-bottom: 1rem;
  }
}
