@import url("https://fonts.googleapis.com/css?family=Montserrat:700");
@import url("https://fonts.googleapis.com/css?family=Montserrat:700");
@import url("https://fonts.googleapis.com/css?family=Montserrat:700");
.menu-btn {
  position: absolute;
  z-index: 9999;
  right: 0;
  top: 0;
  cursor: pointer;
  padding: 30px;
  transition: all 0.5s ease-out;
}
.menu-btn .btn-line {
  width: 28px;
  height: 3px;
  margin: 0 0 5px 0;
  z-index: 9999;
  background: white;
  transition: all 0.5s ease-out;
}
.menu-btn.close .btn-line:nth-child(1) {
  transform: rotate(45deg);
}
.menu-btn.close .btn-line:nth-child(2) {
  opacity: 0;
}
.menu-btn.close .btn-line:nth-child(3) {
  transform: translate(0px, -16px) rotate(-45deg);
}

.menu-branding,
.menu-nav {
  display: flex;
  flex-flow: column wrap;
  align-items: center;
  justify-content: center;
  float: left;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.menu-nav {
  margin: 0;
  padding: 0;
  background: rgba(13.1684210526, 28.5315789474, 24.8736842105, 0.99);
  z-index: 9999;
  list-style: none;
}

.menu-branding {
  margin: 0;
  padding: 0;
  background: rgba(17.8389473684, 38.6510526316, 33.6957894737, 0.6);
}

.menu-side-left {
  bottom: 0;
  left: 0;
}

.menu-side-right {
  top: 0;
  right: 0;
}

.menu-side-right,
.menu-side-left {
  display: none;
  margin: 0;
  padding: 0;
  position: fixed;
  width: 40%;
  height: 100vh;
  overflow: hidden;
}

.portrait {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: solid 3px #12a3cf;
  display: none;
}

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

.nav-link {
  margin: 1rem 0;
  font-size: 30px;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 300;
  color: white;
  text-decoration: none;
  transition: all 0.5s ease-out;
}
.nav-link:hover {
  color: #12a3cf;
}

.show {
  transform: translate3d(0px, 0, 0);
}

.current {
  color: #12a3cf;
}

:root {
  --red: #c3002e;
  --cyan: hsl(180, 62%, 55%);
  --orange: rgb(231, 76, 60);
  --blue: hsl(212, 86%, 64%);
  --purple: #6d429c;
  --varyDarkBlue: hsl(234, 12%, 34%);
  --grayishBlue: hsl(229, 6%, 66%);
  --veryLightGray: hsl(0, 0%, 98%);
  --weight1: 200;
  --weight2: 400;
  --weight3: 600;
}

.row-container {
  display: flex;
  align-items: stretch;
  align-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-around;
}

#work .attribution {
  font-size: 11px;
  text-align: center;
}
#work .attribution a {
  color: hsl(228, 45%, 44%);
}
#work .box p {
  color: var(--grayishBlue);
}
#work .box {
  border-radius: 5px;
  box-shadow: 0px 30px 40px -20px rgba(0, 0, 0, 0.3098039216);
  padding: 20px;
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
  max-width: 310px;
  height: auto;
  justify-content: space-between;
  backdrop-filter: blur(10px);
}
#work .box a {
  width: fit-content;
}
#work .box h2 {
  font-family: "Nunito Sans", sans-serif;
}
#work .box h2 a {
  transition: all 150ms ease-in;
}
#work .box h2 a:hover {
  text-decoration: underline;
  color: #0f82a5;
}
#work img {
  align-self: center;
}
@media (max-width: 950px) and (min-width: 450px) {
  #work .box {
    text-align: center;
  }
}
#work .cyan {
  border-top: 3px solid var(--cyan);
}
#work .red {
  border-top: 3px solid var(--red);
}
#work .blue {
  border-top: 3px solid var(--blue);
}
#work .orange {
  border-top: 3px solid var(--orange);
}
#work .purple {
  border-top: 3px solid var(--purple);
}
#work #work h2 {
  color: #e4e4e4;
  font-weight: var(--weight3);
}
#work svg {
  width: 30px;
  height: 30px;
  transition: color 300ms;
}
#work svg:hover {
  color: #bdbdbd;
}

.hero {
  background-color: rgb(18, 39, 34);
  position: relative;
  font-family: "Montserrat", sans-serif;
  z-index: -1;
}

.cube {
  border-radius: 100%;
  position: fixed;
  z-index: -1;
  top: 80vh;
  left: 45vw;
  width: 10px;
  height: 10px;
  border: solid 1px rgb(5.1157894737, 11.0842105263, 9.6631578947);
  transform-origin: top left;
  transform: scale(0) rotate(0deg) translate(-50%, -50%);
  animation: cube 12s ease-in forwards infinite;
}
.cube:nth-child(2n) {
  border-color: rgb(19.25, 166.8333333333, 211.75);
}
.cube:nth-child(2) {
  animation-delay: 2s;
  left: 25vw;
  top: 40vh;
}
.cube:nth-child(3) {
  animation-delay: 4s;
  left: 75vw;
  top: 50vh;
}
.cube:nth-child(4) {
  animation-delay: 6s;
  left: 90vw;
  top: 10vh;
}
.cube:nth-child(5) {
  animation-delay: 8s;
  left: 10vw;
  top: 85vh;
}
.cube:nth-child(6) {
  animation-delay: 10s;
  left: 50vw;
  top: 10vh;
}

@keyframes cube {
  from {
    transform: scale(0) rotate(0deg) translate(-50%, -50%);
    opacity: 1;
  }
  to {
    transform: scale(20) rotate(960deg) translate(-50%, -50%);
    opacity: 0;
  }
}
.animate-fade-in,
.animate-slide-up,
.animate-slide-left,
.animate-slide-right,
.animate-zoom-in,
.animate-stagger-item {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-in.animate-visible {
  opacity: 1;
}

.animate-slide-up {
  transform: translateY(50px);
}
.animate-slide-up.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-slide-left {
  transform: translateX(-50px);
}
.animate-slide-left.animate-visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  transform: translateX(50px);
}
.animate-slide-right.animate-visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-zoom-in {
  transform: scale(0.8);
}
.animate-zoom-in.animate-visible {
  opacity: 1;
  transform: scale(1);
}

.animate-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-stagger.animate-visible > * {
  opacity: 1;
  transform: translateY(0);
}

#home h1, #home h2, #home .icons {
  opacity: 0;
  transform: translateY(30px);
}
#home h1.animate-visible, #home h2.animate-visible, #home .icons.animate-visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-visible {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .animate-fade-in,
  .animate-slide-up,
  .animate-slide-left,
  .animate-slide-right,
  .animate-zoom-in,
  .animate-stagger-item,
  #home h1,
  #home h2,
  #home .icons {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
.project-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 3rem 0;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}
@media (max-width: 1000px) {
  .project-slider {
    margin: 2rem 0;
    padding: 0;
  }
}
@media (max-width: 768px) {
  .project-slider {
    margin: 1.5rem 0;
    padding: 0;
  }
}

.slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(34.1052631579, 73.8947368421, 64.4210526316, 0.4), rgba(26.0526315789, 56.4473684211, 49.2105263158, 0.2));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}
@media (max-width: 1000px) {
  .slider-wrapper {
    border-radius: 10px;
  }
}
@media (max-width: 768px) {
  .slider-wrapper {
    border-radius: 0;
    background: rgba(26.0526315789, 56.4473684211, 49.2105263158, 0.3);
    backdrop-filter: blur(10px);
    margin: 0;
  }
}

.slider-container {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.slider-slide {
  min-width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.slide-image {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 16/9;
  display: block;
}

.image-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 500px;
  background: #000;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}
@media (max-width: 1024px) {
  .image-carousel {
    max-height: 400px;
  }
}
@media (max-width: 1000px) {
  .image-carousel {
    max-height: 350px;
    border-radius: 10px 10px 0 0;
  }
}
@media (max-width: 768px) {
  .image-carousel {
    border-radius: 0;
    max-height: none;
    height: auto;
    aspect-ratio: auto;
    width: 100%;
    margin-left: 0;
  }
}
@media (max-width: 480px) {
  .image-carousel {
    max-height: 250px;
  }
}
.image-carousel:hover .carousel-nav {
  opacity: 1;
}

.image-carousel-container {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}
@media (max-width: 768px) {
  .image-carousel-container {
    height: auto;
  }
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}
.carousel-image.active {
  opacity: 1;
  z-index: 2;
  pointer-events: all;
}
.carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@media (max-width: 768px) {
  .carousel-image {
    position: static;
    width: 100%;
    height: auto;
    opacity: 0;
    display: none;
  }
  .carousel-image.active {
    opacity: 1;
    display: block;
  }
  .carousel-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: 16/9;
    object-fit: contain;
  }
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0;
  padding: 0;
}
.carousel-nav:hover {
  background: #0f82a5;
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}
.carousel-nav.carousel-prev {
  left: 1rem;
}
.carousel-nav.carousel-next {
  right: 1rem;
}
.carousel-nav svg {
  width: 20px;
  height: 20px;
}
@media (hover: none) {
  .carousel-nav {
    opacity: 0.7;
  }
}
@media (max-width: 768px) {
  .carousel-nav {
    display: none;
  }
}

.carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.carousel-indicators .indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-indicators .indicator.active {
  background: white;
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
  .carousel-indicators {
    bottom: 0.5rem;
    gap: 0.4rem;
  }
  .carousel-indicators .indicator {
    width: 6px;
    height: 6px;
  }
}

.slide-info {
  position: relative;
  padding: 2rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: transparent;
}
@media (max-width: 1024px) {
  .slide-info {
    padding: 1.5rem 2.5rem;
    gap: 0.875rem;
  }
}
@media (max-width: 768px) {
  .slide-info {
    padding: 1.25rem 2rem;
    gap: 0.75rem;
  }
}
@media (max-width: 480px) {
  .slide-info {
    padding: 1rem 1.5rem;
    gap: 0.625rem;
  }
}
.slide-info h2 {
  font-size: 2.5rem;
  margin: 0;
  color: white;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.slide-info h2 a {
  color: white;
  transition: all 0.3s ease;
  position: relative;
}
.slide-info h2 a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: #0f82a5;
  transition: width 0.3s ease;
}
.slide-info h2 a:hover {
  color: #0f82a5;
}
.slide-info h2 a:hover::after {
  width: 100%;
}
@media (max-width: 1024px) {
  .slide-info h2 {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  .slide-info h2 {
    font-size: 1.75rem;
  }
}
@media (max-width: 480px) {
  .slide-info h2 {
    font-size: 1.5rem;
  }
}
.slide-info p {
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  margin: 0;
  font-size: 1.05rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
  .slide-info p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}
@media (max-width: 480px) {
  .slide-info p {
    font-size: 0.9rem;
  }
}
.slide-info .project-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.slide-info .project-badge.purple {
  background: linear-gradient(135deg, #6d429c 0%, #8b5fc7 100%);
  border: 2px solid rgba(109, 66, 156, 0.5);
  box-shadow: 0 4px 15px rgba(109, 66, 156, 0.4);
}
.slide-info .project-badge.red {
  background: linear-gradient(135deg, #c3002e 0%, #e63950 100%);
  border: 2px solid rgba(195, 0, 46, 0.5);
  box-shadow: 0 4px 15px rgba(195, 0, 46, 0.4);
}
.slide-info .project-badge.orange {
  background: linear-gradient(135deg, #e74c3c 0%, #ff6b5a 100%);
  border: 2px solid rgba(231, 76, 60, 0.5);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}
@media (max-width: 480px) {
  .slide-info .project-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }
}
.slide-info .slide-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.slide-info .slide-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  line-height: 1;
  vertical-align: middle;
}
.slide-info .slide-links a:hover {
  background: #0f82a5;
  border-color: #0f82a5;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.5);
}
.slide-info .slide-links a svg,
.slide-info .slide-links a i {
  width: 18px !important;
  height: 18px !important;
  font-size: 18px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 480px) {
  .slide-info .slide-links a {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    min-height: 40px;
  }
  .slide-info .slide-links a svg,
  .slide-info .slide-links a i {
    width: 16px !important;
    height: 16px !important;
    font-size: 16px;
  }
}
.slide-info .slide-tech {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.slide-info .slide-tech img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}
.slide-info .slide-tech img:hover {
  transform: scale(1.15) rotate(5deg);
}
@media (max-width: 768px) {
  .slide-info .slide-tech img {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 480px) {
  .slide-info .slide-tech img {
    width: 35px;
    height: 35px;
  }
}

.slider-nav {
  position: absolute;
  top: auto;
  bottom: 2.5rem;
  transform: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.slider-nav svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}
.slider-nav:hover {
  background: #0f82a5;
  border-color: #0f82a5;
  transform: scale(1.15);
  box-shadow: 0 12px 30px rgba(234, 88, 12, 0.5);
}
.slider-nav:hover svg {
  transform: scale(1.1);
}
.slider-nav:active {
  transform: scale(1.05);
}
.slider-nav.prev {
  left: auto;
  right: 8rem;
}
@media (max-width: 768px) {
  .slider-nav.prev {
    right: 6rem;
  }
}
.slider-nav.next {
  right: 3rem;
}
@media (max-width: 768px) {
  .slider-nav.next {
    right: 2rem;
  }
}
@media (max-width: 768px) {
  .slider-nav {
    width: 40px;
    height: 40px;
    bottom: 2rem;
  }
  .slider-nav svg {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 1000px) {
  .slider-nav {
    display: none;
  }
}

.slider-pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 0;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.slider-pagination .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.slider-pagination .dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.3);
}
.slider-pagination .dot.active {
  background: #0f82a5;
  border-color: white;
  transform: scale(1.4);
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.6);
}
@media (max-width: 768px) {
  .slider-pagination {
    padding: 1rem 0;
    gap: 0.75rem;
  }
  .slider-pagination .dot {
    width: 10px;
    height: 10px;
  }
}
@media (max-width: 480px) {
  .slider-pagination {
    padding: 0.75rem 0;
    gap: 0.5rem;
  }
  .slider-pagination .dot {
    width: 8px;
    height: 8px;
  }
}

html {
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  background-color: rgb(18, 39, 34);
  height: 100%;
  color: white;
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
body #bg-img {
  background: url("../img/backgroundsmall.png");
  background-attachment: fixed;
  background-size: cover;
  min-height: 700px;
  height: 100vh;
  position: relative;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
}
h1.lg-heading,
h2.lg-heading,
h3.lg-heading {
  font-size: 6rem;
}
h1.sm-heading,
h2.sm-heading,
h3.sm-heading {
  margin-bottom: 2rem;
  padding: 0.2rem 1rem;
  background: rgba(21.2210526316, 45.9789473684, 40.0842105263, 0.5);
}

a {
  text-decoration: none;
  color: white;
}

header {
  position: fixed;
  z-index: 9999;
  width: 100%;
}

.sub-content-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sub-content-flex > main {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
}

main {
  padding: 2rem;
  min-height: 100vh;
}
main .icons {
  margin-top: 1rem;
  display: inline-block;
}
main .icons a {
  padding: 0.4rem;
  font-size: 2rem;
  transition: color 0.5s ease-out;
}
main .icons a:hover {
  color: #0f82a5;
}
main#home {
  display: flex;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}
main#home h1 {
  margin-top: 10vh;
}

.text-secondary {
  color: #0f82a5;
}

#about .download-cv-btn {
  margin-bottom: 6em;
  padding: 10px 20px;
  border: 1px solid white;
  border-radius: 10px;
  transition: all 0.2s ease-out;
  cursor: pointer;
}
#about .download-cv-btn:hover {
  background-color: #0f82a5;
  border-color: #0f82a5;
}

.about-info {
  display: grid;
  grid-gap: 30px;
  grid-template-areas: "bio bio bio" "job1 job2 job3";
  grid-template-columns: repeat(3, 1fr);
}
.about-info .bio {
  grid-area: bio;
  font-size: 1.5rem;
  max-width: 1000px;
  text-align: left;
  margin: auto auto 20px;
  display: flex;
  flex-direction: column;
}
.about-info .bio .maface {
  width: clamp(8rem, 19vw, 13rem);
  border-radius: 100%;
  align-self: center;
}
.about-info .job-1 {
  display: flex;
  align-items: center;
  grid-area: job1;
  font-size: small;
}
.about-info .job-2 {
  grid-area: job2;
}
.about-info .job-3 {
  grid-area: job3;
}
.about-info .job {
  background: rgb(26.0526315789, 56.4473684211, 49.2105263158);
  padding: 0.5rem;
  border-bottom: #0f82a5 5px solid;
  border-radius: 10px;
}

#title {
  border-bottom: 0;
  text-align: center;
}

.abilities-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.projects {
  display: grid;
  grid-gap: 0.7rem;
  grid-template-columns: repeat(3, 1fr);
}
.projects img {
  width: 100%;
  border: 3px #fff solid;
  transition: all 0.5s ease-out;
}
.projects img:hover {
  opacity: 0.5;
  border-color: #0f82a5;
}

.box .btn, .box .btn-light, .box .btn-dark {
  background-color: transparent;
  border: 1px solid white;
  color: white;
  cursor: pointer;
  border-radius: 3px;
  margin-top: 10px;
  transition: all 0.2s cubic-bezier(0.47, 0, 0.745, 0.715);
}
.box .btn:hover, .box .btn-light:hover, .box .btn-dark:hover {
  border-color: transparent;
}

#reachme {
  min-height: calc(100vh - 60px);
}

.boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 1rem;
}
.boxes div {
  font-size: 2rem;
  border: 3px white solid;
  padding: 1.5rem 2.5rem;
  margin-bottom: 3rem;
  transition: all 0.5s ease-out;
}
.boxes div:hover {
  padding: 0.5rem 1.5rem;
  background: #0f82a5;
  color: #fff;
}
.boxes div:hover span {
  color: #fff;
}

.contact {
  padding: 10px 0;
  max-width: 600px;
}

.contact-form {
  background-color: rgb(24, 51, 45);
  border: 1px solid transparent;
}

#contact-us {
  padding: 20px 10px;
}

.contact-text {
  margin: 45px auto;
}

.mail-message-area {
  width: 100%;
  padding: 0 15px;
}

.mail-message {
  width: 100%;
  transition: all 0.7s;
  border-radius: 0;
}

.not-visible-message {
  height: auto;
  opacity: 0;
  margin: 0 5px 5px;
  background: rgb(26.0526315789, 56.4473684211, 49.2105263158);
  padding: 0.5rem;
  border-left: 5px solid #0f82a5;
}

.visible-message {
  height: auto;
  opacity: 1;
  margin: 25px auto 0;
}

.form {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(0, 0, 0, 0.075);
  margin-bottom: 25px;
  color: #727272;
  font-size: 13px;
  background-color: rgb(18, 39, 34);
  transition: all 0.4s;
  font-family: "Montserrat", sans-serif;
}
.form:hover {
  border-color: #0f82a5;
}
.form:focus {
  color: white;
  outline: none;
  border-color: #0f82a5;
}

.textarea {
  height: 200px;
  max-height: 200px;
  max-width: 100%;
  color: #fff;
  background-color: rgb(18, 39, 34);
}

input {
  position: relative;
  color: white;
}

.btnContainer {
  position: relative;
  padding-bottom: 39px;
}

.button {
  padding: 8px 12px;
  background: #0a5175;
  display: block;
  width: 120px;
  margin: 10px 0 0;
  border-radius: 3px;
  transition: all 0.3s;
  text-align: center;
  font-size: 1em;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.button:hover {
  background: #8bc3a3;
  color: white;
}

#loadingIcon {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  transition: all 0.3s;
  opacity: 1;
}

.form-btn {
  z-index: 999;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  display: block;
  height: auto;
  background: #0f82a5;
  padding: 15px;
  color: #fff;
  border: none;
  border-radius: 3px;
  outline: none;
  transition: all 0.3s;
  margin: auto;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  font-family: "Montserrat", sans-serif;
}
.form-btn:hover {
  background: #12a3cf;
  color: white;
  border: none;
}
.form-btn:active {
  opacity: 0.9;
}

.btn, .btn-light, .btn-dark {
  display: block;
  padding: 0.5rem 1rem;
  border: 0;
  margin-bottom: 0.3rem;
}
.btn:hover, .btn-light:hover, .btn-dark:hover {
  background: #0f82a5;
  color: #fff;
}

.btn-dark {
  background: black;
  color: #fff;
}

.btn-light {
  background: rgb(66.3157894737, 143.6842105263, 125.2631578947);
  color: rgb(26, 26, 26);
}

#main-footer {
  text-align: center;
  padding: 1rem;
  background: rgb(1.8947368421, 4.1052631579, 3.5789473684);
  color: rgb(224.2105263158, 240.7894736842, 236.8421052632);
  height: 60px;
}

center {
  margin-top: 330px;
}

@media screen and (min-width: 1171px) {
  .projects {
    grid-template-columns: repeat(4, 1fr);
  }
  #work .box {
    width: 290px;
  }
}
@media screen and (max-width: 769px) and (max-width: 1170px) {
  .projects {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .menu-branding .portrait {
    width: auto;
    height: 20vh;
    min-height: 90px;
    max-height: 500px;
  }
  main {
    text-align: center;
    align-items: center;
  }
  main .lg-heading {
    margin-top: 50px;
    line-height: 1;
    margin-bottom: 1rem;
    font-size: 4rem;
  }
  .menu-side-left {
    width: 100%;
    height: 30vh;
    bottom: inherit;
    right: 0;
    top: 0px;
  }
  .menu-side-right {
    width: 100%;
    top: 0px;
    bottom: inherit;
    left: 0;
  }
  .nav-link {
    font-size: 24px;
  }
  .about-info {
    grid-template-areas: "bioimage" "bio" "job1" "job2" "job3";
    grid-template-columns: 1fr;
  }
  .projects {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 500px) {
  #work .box {
    width: 500px;
  }
  main#home h1 {
    margin-top: 10vh;
  }
  .projects {
    grid-template-columns: repeat(2, 1fr);
  }
  main {
    padding: 10px;
  }
  main .sm-heading {
    font-size: 1rem;
  }
  main .lg-heading {
    margin-top: 70px;
    font-size: 2.8rem;
  }
  .about-info .bio {
    font-size: 1rem;
  }
}
@media screen and (max-width: 350px) {
  .projects {
    grid-template-columns: 1fr;
  }
}
