@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@700);
@import url(https://necolas.github.io/normalize.css/latest/normalize.css);

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background-color: #020203;
  color: #fff;
  font-size: 1rem;
  font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

a {
  color: #0d6efd;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
}

a:hover {
  color: #0a58ca;
}

img {
  max-width: 100%;
  height: auto;
}

.main-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
}

.mobile-slider .mobile-slider__bg {
  display: none;
  height: 100vh;
  background-size: cover;
  background-position: center;
}

.set-bg.home-bg {
  background-image: url("assets/home.jpg");
}

.set-bg.shortcuts-bg {
  background-image: url('assets/shortcuts.jpg');
}

.set-bg.github-bg {
  background-image: url('assets/github.jpg');
}

.set-bg.flickr-bg {
  background-image: url('assets/flickr.jpg');
}

.set-bg.linkedin-bg {
  background-image: url('assets/linkedin.jpg');
}

.links-list {
  list-style: none;
  margin: 0;
  padding: 1rem;
  z-index: 1;
}

.links-list li {
  font-size: 2.5rem;
  font-family: 'Poppins', 'sans-serif';
  font-weight: 700;
  margin: 0 1rem;
}

.links-list li a {
  color: #fff;
  vertical-align: middle;
  position: relative;
}

.links-list li a::after {
  content: '';
  height: 0.25rem;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  background-color: #fff;
  margin-top: 0.25rem;
  transform: scaleX(0);
  -webkit-transform: scaleX(0);
  transform-origin: bottom right;
  -webkit-transform-origin: bottom right;
  transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
}

.links-list li a:hover::after {
  transform: scaleX(1);
  -webkit-transform: scaleX(1);
  transform-origin: bottom left;
  -webkit-transform-origin: bottom left;
}

.copyright {
  position: absolute;
  opacity: 0.5;
  bottom: 1.5rem;
}

.floatingchat-container-wrap {
  bottom: 30px !important;
  left: 30px !important;
}

@media screen and (min-width: 992px) {
  body:after {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
    content: url(assets/shortcuts.jpg) url(assets/github.jpg)
      url(assets/flickr.jpg) url(assets/linkedin.jpg);
  }
  .set-bg {
    background-image: url(assets/home.jpg);
    background-size: cover;
    transition: background-image 0.5s ease-in-out;
    -webkit-transition: background-image 0.5s ease-in-out;
  }
  .main-bg__overlay {
    width: 100%;
    height: 100vh;
    position: absolute;
    background-color: rgb(0 0 0 / 50%);
  }
  .tns-outer {
    display: none;
  }
}

@media screen and (max-width: 991.98px) {
  body {
    background-image: url(assets/home.jpg);
    background-size: cover;
  }
  .main-bg.set-bg {
    background-image: none;
    background-color: rgb(0 0 0 / 50%);
  }
  .links-list li {
    font-size: 2rem;
    padding: 0.5rem 0;
  }
  .tns-outer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
  }
}

@media screen and (min-width: 576px) {
  .links-list {
    text-align: center;
  }
  .links-list li {
    display: inline-block;
  }
}
