/* Colour Variable */

:root {
    --primary-color: #1efff4;
    --secondary-color: #1eff8f;
}


/* Text Selection Colour */

::selection {
    color: black;
    background: var(--primary-color);
}

/* Firefox */

::-moz-selection {
    color: black;
    background: var(--primary-color);
}


/* Edo Font */

@import url("http://fonts.cdnfonts.com/css/edo");


/* Custom Scroll Bar */

@media (min-width: 200px) and (max-width: 575px) {
  ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #07090f;
  }

  ::-webkit-scrollbar-track {
    border: 5px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 0 2.5px 2 rgba(0, 0, 0, 0.5);
  }

  ::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00ffbb, #2eaae1);
    border-radius: 15px;
  }
}

@media (min-width: 575.1px) and (max-width: 767px) {
  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: #07090f;
  }

  ::-webkit-scrollbar-track {
    border: 5px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 0 2.5px 2 rgba(0, 0, 0, 0.5);
  }

  ::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00ffbb, #2eaae1);
    border-radius: 15px;
  }
}

@media (min-width: 767.1px) and (max-width: 991px) {
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #07090f;
  }

  ::-webkit-scrollbar-track {
    border: 5px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 0 2.5px 2 rgba(0, 0, 0, 0.5);
  }

  ::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00ffbb, #2eaae1);
    border-radius: 15px;
  }
}

@media (min-width: 991.1px) {
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: #07090f;
  }

  ::-webkit-scrollbar-track {
    border: 5px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 0 2.5px 2 rgba(0, 0, 0, 0.5);
  }

  ::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00ffbb, #2eaae1);
    border-radius: 15px;
  }
}


/* Background Image */

.bg-img {
    background-image: url("../img/Background Image.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}


/* Navigation Bar */

.navbar {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 1));
    color: white;
    position: fixed;
    height: 100px;
    z-index: 1;
    top: 0;
    backdrop-filter: blur(10px);
}

/* Nav Label */

.brand-title {
  font-size: 1.5rem;
  margin: 1rem;
}

/* Nav Links */

.navbar-links {
    height: 100%;
    position: relative;
    top: 15px;
}

.navbar-links ul {
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar-links li {
    list-style: none;
}

.navbar-links li a {
    font-size: 15px;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    line-height: 50px;
    position: relative;
    z-index: 1;
    display: inline-block;
    text-align: center;
}

.navbar-links li .animation {
    position: relative;
    height: 10%;
    top: 10;
    bottom: 0;
    z-index: 0;
    background: #1abc9c;
    border-radius: 8px;
    transition: all .5s ease 0s;
}

.navbar-links li a:nth-child(1) {
    width: 100px;
}

.navbar-links li .start-home,
li a:nth-child(1):hover~.animation {
    width: 100px;
    left: 0;
}

.navbar-links li a:nth-child(2) {
    width: 100px;
}

.navbar-links .start-home,
li a:nth-child(2):hover~.animation {
    width: 110px;
    left: 100px;
}

.navbar-links li a:nth-child(3) {
    width: 100px;
}

.navbar-links .start-home,
li a:nth-child(3):hover~.animation {
    width: 100px;
    left: 207px;
}

/* Menu Button */

.toggle-button {
    position: absolute;
    top: .75rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
}


/* Side Links */

.side-links {
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.side-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-bottom: 10px;
    color: white;
    width: 180px;
    padding: 10px 0;
    border-radius: 10px;
}

.side-link-youtube {
    background-color: red;
}

.side-link-twitter {
    background-color: #1DA1F2;
}

.side-link-github {
    background-color: #6e5494;
}

.side-link-text {
    margin-left: 10px;
    font-size: 18px;
}

.side-link-icon {
    color: white;
    font-size: 30px;
}


/* Main Heading */

.title {
    color: #26eab9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10vh auto;
    font-size: 30px;
    font-family: "Edo";
    font-style: italic;
    font-size: 4rem;
    position: relative;
    top: 30px;
}


/* Paragraph */

.paragraph {
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(50px);
    backdrop-filter: blur(50px);
    width: 70%;
    font-size: larger;
    font-weight: lighter;
    color: rgb(244, 244, 244);
    border-radius: 10px;
    padding: 50px;
    margin: 50px;
}


/* Download Button */

.download-btn {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}


/* Download button animation */

.hvr-sweep-to-right {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    padding: 10px 20px;
    box-shadow: 2px 2px 10px black;
}

.hvr-sweep-to-right:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #145620;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.hvr-sweep-to-right:hover,
.hvr-sweep-to-right:focus,
.hvr-sweep-to-right:active {
    color: white;
}

.hvr-sweep-to-right:hover:before,
.hvr-sweep-to-right:focus:before,
.hvr-sweep-to-right:active:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}


/* Mobile View */

@media (max-width: 800px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .toggle-button {
        display: flex;
    }

    .navbar-links {
        display: none;
        width: 100%;
    }

    .navbar-links ul {
        width: 100%;
        flex-direction: column;
    }

    .navbar-links ul li {
        text-align: center;
    }

    .navbar-links ul li a {
        padding: .5rem 1rem;
    }

    .navbar-links.active {
        display: flex;
    }
}

@media only screen and (max-width: 520px) {
    .title {
        font-size: 1.5rem;
    }

    .paragraph {
        margin: 0 auto;
        font-size: 0.8rem;
    }
}


/* Calculator Image */

.cal-img {
    width: 20%;
}


/* Visitors Count */

.Visitor {
    width: min-content !important;
    max-width: 100%;
    margin: auto;
}
