@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;500&display=swap");
nav {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  position: fixed;
  top: 0;
  z-index: 50;
  background-color: white;
  -webkit-box-shadow: 0px 5px 20px 8px rgba(36, 36, 36, 0.29);
          box-shadow: 0px 5px 20px 8px rgba(36, 36, 36, 0.29);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

nav ul, nav li, nav a {
  text-decoration: none;
  font-size: 20px;
}

header {
  padding: 0px 10%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: white;
  -webkit-transition: 0.5s all;
  transition: 0.5s all;
}

.logo {
  font-weight: 400;
  cursor: pointer;
  margin-right: auto;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.logo a {
  text-decoration: none;
}

.logo a:hover {
  color: #28C7FA;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.nav_links {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  width: 40%;
  background-color: white;
}

@media (max-width: 1024px) {
  .nav_links {
    width: 60%;
  }
}

@media (max-width: 768px) {
  .nav_links {
    position: absolute;
    right: 0px;
    height: 100vh;
    top: 8vh;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 37%;
    margin: 0;
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
    -webkit-transition: -webkit-transform 0.5s ease-in;
    transition: -webkit-transform 0.5s ease-in;
    transition: transform 0.5s ease-in;
    transition: transform 0.5s ease-in, -webkit-transform 0.5s ease-in;
  }
  .nav_links li {
    opacity: 0;
    margin: 2em;
  }
}

.nav_links li {
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.nav_links li:hover {
  color: #28C7FA;
  cursor: pointer;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.active-nav a {
  color: #28C7FA;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 2px;
  background-color: #002651;
  margin: 5px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }
}

.nav-active {
  -webkit-transform: translateX(0%);
          transform: translateX(0%);
}

@-webkit-keyframes navLinkFade {
  from {
    opacity: 0;
    -webkit-transform: translateX(50px);
            transform: translateX(50px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    -webkit-transform: translateX(50px);
            transform: translateX(50px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
}

.toggle .line1 {
  -webkit-transform: rotate(-45deg) translate(-5px, 5px);
          transform: rotate(-45deg) translate(-5px, 5px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  -webkit-transform: rotate(45deg) translate(-5px, -5px);
          transform: rotate(45deg) translate(-5px, -5px);
}

.circle {
  position: absolute;
  border-radius: 50%;
  color: white;
  z-index: -1;
}

.purple-circle {
  position: absolute;
  width: 20vw;
  height: 20vw;
  right: 40vw;
  top: 15vh;
  background-image: linear-gradient(111.1deg, #00182a -4.8%, rgba(247, 97, 120, 0.9) 82.7%);
}

@media (max-width: 425px) {
  .purple-circle {
    width: 40vw;
    height: 40vw;
    right: 35vw;
  }
}

.blue-circle {
  position: absolute;
  width: 25vw;
  height: 25vw;
  right: 2vw;
  top: 45vh;
  background-image: linear-gradient(109.6deg, #30cfd0 11.2%, rgba(51, 8, 103, 0.95) 92.5%);
}

@media (max-width: 425px) {
  .blue-circle {
    top: 47vh;
    right: -5vw;
    width: 40vw;
    height: 40vw;
  }
}

.main-image {
  position: absolute;
  width: 30vw;
  left: 50vw;
  top: 25vh;
  border-radius: 50%;
  z-index: 2;
  -webkit-box-shadow: 22px 40px 50px -21px rgba(0, 14, 124, 0.68);
  box-shadow: 22px 40px 50px -21px rgba(0, 14, 124, 0.68);
}

@media (max-width: 768px) {
  .main-image {
    top: 25vh;
    left: 45vw;
    width: 37vw;
  }
}

@media (max-width: 425px) {
  .main-image {
    width: 65vw;
    top: 23vh;
    left: 35vw;
  }
}

#main-page {
  height: 100vh;
}

#about-me-section {
  z-index: 20;
  width: 100vw;
}

#portfolio {
  margin: 1rem 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

@media (max-width: 750px) {
  #portfolio {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.tile {
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 350ms ease;
  transition: all 350ms ease;
  border-radius: 28px;
  max-width: 30%;
  margin: 2px;
}

@media (max-width: 975px) {
  .tile {
    max-width: 45%;
  }
}

@media (max-width: 750px) {
  .tile {
    max-width: 100%;
  }
}

.tile figure {
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 5px;
  position: relative;
}

.tile figure:hover {
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.tile figure:hover img {
  -webkit-filter: blur(3px);
          filter: blur(3px);
  -webkit-transition: -webkit-filter 0.5s;
  transition: -webkit-filter 0.5s;
  transition: filter 0.5s;
  transition: filter 0.5s, -webkit-filter 0.5s;
  border-radius: 5px;
  margin-bottom: -6px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.tile figure:hover .overlay {
  opacity: 1;
  height: 100% !important;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.tile img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 5px;
  -webkit-transition: -webkit-filter 0.5s;
  transition: -webkit-filter 0.5s;
  transition: filter 0.5s;
  transition: filter 0.5s, -webkit-filter 0.5s;
}

.scale-anm {
  -webkit-transform: scale(1);
          transform: scale(1);
}

.gallery-button {
  background-color: #eaeaeac4 !important;
  color: rgba(128, 128, 128, 0.76) !important;
}

.gallery-button-active {
  background-color: #28C7FA !important;
  color: white !important;
}

.overlay {
  display: block !important;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 95%;
  width: 100%;
  opacity: 0;
  text-align: center;
  background-color: #0000001f;
}

.overlay h1 {
  color: white;
  text-align: center;
  position: absolute;
  top: 20%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.overlay button {
  position: absolute;
  top: 80%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  z-index: 50;
}

* {
  font-family: 'Poppins', sans-serif;
  color: #002651;
}

b {
  font-weight: bold !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  position: 0;
}

footer {
  height: 10vh;
  background: linear-gradient(269.91deg, rgba(51, 8, 103, 0.96) -6.23%, rgba(48, 207, 208, 0.96) 151.15%);
  margin-top: 100px;
}

body {
  margin: 0;
  width: 100vw;
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
}

h2 {
  font-weight: 300;
}

button {
  padding: 13px 25px;
  background-color: #28C7FA;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  font-size: 20px;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

button a {
  text-decoration: none;
  color: white;
}

button:hover {
  background-color: white !important;
  color: #002651 !important;
  opacity: 1;
}

button:hover a {
  color: #002651;
}

button:active {
  outline: none;
  opacity: 0.5;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

button:focus {
  outline: none;
}

.site-section {
  padding: 2.5em 0;
}

@media (min-width: 768px) {
  .site-section {
    padding: 7em 0;
  }
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.side-bar {
  position: -webkit-sticky;
  position: sticky;
  height: 100vh;
  width: 20vw;
  padding: 30px;
  left: 0;
  top: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.side-bar ul {
  list-style: none;
  font-weight: 500;
  font-size: 36px;
}

.side-bar li {
  padding: 30px 0;
  opacity: 0.45;
}

.side-bar a {
  text-decoration: none;
}

@media (max-width: 1200px) {
  .side-bar {
    display: none;
  }
}

.active {
  opacity: 1 !important;
  -webkit-transition: 0.4s all;
  transition: 0.4s all;
}

.section-title {
  font-weight: 500;
  font-size: 50px;
  position: relative;
  padding-bottom: 20px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 8px;
  background: #28C7FA;
  width: 45%;
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media (max-width: 1200px) {
  .row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

@media (max-width: 1200px) {
  .row-revers {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.col {
  -webkit-box-flex: 1.2;
      -ms-flex: 1.2;
          flex: 1.2;
  width: 50%;
  margin-right: 50px;
}

.image {
  border-radius: 28px;
  margin-bottom: 20px;
  -webkit-filter: drop-shadow(6px 4px 12px rgba(0, 0, 0, 0.51));
          filter: drop-shadow(6px 4px 12px rgba(0, 0, 0, 0.51));
}

.p {
  font-weight: 400;
  font-size: 20px;
  line-height: 36px;
}

.oneline-list li {
  display: inline;
  padding: 0 20px;
}

.label {
  background-color: #C4C4C4;
  color: #6D6D6D;
  margin-right: 20px;
  border-radius: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  padding: 10px 20px;
  display: inline-block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 10px;
}

.rss a {
  text-decoration: none;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.rss a:hover {
  color: #28C7FA;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
