/*
=============== 
Fonts
===============
*/
@import url("https://fonts.googleapis.com/css?family=Lato:400,700&display=swap");

/*
=============== 
Variables
===============
*/

:root {
  /* dark shades of primary color*/
  --clr-primary-1: hsl(184, 91%, 17%);
  --clr-primary-2: hsl(185, 84%, 25%);
  --clr-primary-3: hsl(185, 81%, 29%);
  --clr-primary-4: hsl(184, 77%, 34%);
  /* primary/main color */
  --clr-primary-5: hsl(185, 62%, 45%);
  /* lighter shades of primary color */
  --clr-primary-6: hsl(185, 57%, 50%);
  --clr-primary-7: hsl(184, 65%, 59%);
  --clr-primary-8: hsl(184, 80%, 74%);
  --clr-primary-9: hsl(185, 94%, 87%);
  --clr-primary-10: hsl(186, 100%, 94%);
  /* darkest grey - used for headings */
  --clr-grey-1: hsl(209, 61%, 16%);
  --clr-grey-2: hsl(211, 39%, 23%);
  --clr-grey-3: hsl(209, 34%, 30%);
  --clr-grey-4: hsl(209, 28%, 39%);
  /* grey used for paragraphs */
  --clr-grey-5: hsl(210, 22%, 49%);
  --clr-grey-6: hsl(209, 23%, 60%);
  --clr-grey-7: hsl(211, 27%, 70%);
  --clr-grey-8: hsl(210, 31%, 80%);
  --clr-grey-9: hsl(212, 33%, 89%);
  --clr-grey-10: hsl(210, 36%, 96%);
  --clr-white: #fff;
  --ff-primary: "Lato", sans-serif;
  --transition: all 0.3s linear;
  --spacing: 0.25rem;
  --radius: 0.5rem;
  --light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
/*
=============== 
Global Styles
===============
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--ff-primary);
  background: var(--clr-white);
  color: var(--clr-grey-1);
  line-height: 1.5;
  font-size: 0.875rem;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
}
/* img {
  width: 100%;
  display: block;
} */
img:not(.nav-logo) {
  width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  letter-spacing: var(--spacing);
  text-transform: capitalize;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 0.875rem;
}
p {
  margin-bottom: 1.25rem;
  color: var(--clr-grey-5);
}
@media screen and (min-width: 800px) {
  h1 {
    font-size: 4rem;
  }
  h2 {
    font-size: 2.5rem;
  }
  h3 {
    font-size: 1.75rem;
  }
  h4 {
    font-size: 1rem;
  }
  body {
    font-size: 1rem;
  }
  h1,
  h2,
  h3,
  h4 {
    line-height: 1;
  }
}
/*  global classes */

.btn {
  text-transform: uppercase;
  background: var(--clr-primary-5);
  color: var(--clr-white);
  padding: 0.375rem 0.75rem;
  letter-spacing: var(--spacing);
  display: inline-block;
  /* font-weight: 700; */
  transition: var(--transition);
  font-size: 0.875rem;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.btn:hover {
  color: var(--clr-primary-1);
  background: var(--clr-primary-8);
}
.section {
  padding: 5rem 0rem;
}
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}
.section-title h2 {
  text-transform: uppercase;
}
.section-title span {
  color: var(--clr-primary-5);
}
.section-center {
  width: 90vw;
  margin: 0 auto;
  max-width: 1170px;
}
@media screen and (min-width: 992px) {
  .section-center {
    width: 95vw;
  }
}

/*
=============== 
Scroll styles
===============
*/

body::-webkit-scrollbar {
  width: 1em;
}

body::-webkit-scrollbar-track {
  box-shadow: inset var(--dark-shadow);
  background: var(--clr-grey-9);
}

body::-webkit-scrollbar-thumb {
  background-color: var(--clr-primary-5);
  border-radius: var(--radius);
}

/*
=============== 
arrow styles
===============
*/
.arrow-container {
  position: absolute;
  right: 5%;
  bottom: 5%;
  position: fixed;
  z-index: 100;
  width: 60px;
  background: var(--clr-primary-4);
  padding: 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
  transform: scale(0.8);
  cursor: pointer;
  box-shadow: var(--light-shadow);
  animation: arrowanimation 1.5s linear infinite alternate;
  opacity: 0;
}
.arrow-container:hover {
  box-shadow: var(--dark-shadow);
}
@keyframes arrowanimation {
  0% {
    transform: scale(0.5);
  }
  100% {
    transform: scale(0.8);
  }
}

/*
=============== 
down arrow
===============
*/
.bottom-arrow-container {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  transition: var(--transition);
  animation: down-arrow-animation 1.5s linear infinite alternate;
}
@keyframes down-arrow-animation {
  0% {
    transform: translate(-50%, -50%) translateY(10px);
  }
  100% {
    transform: translate(-50%, -50%) translateY(-10px);
  }
}

/*
=============== 
Navbar
===============
*/
.nav-container {
  width: 100%;
  min-height: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  background: transparent;
  position: fixed;
  transition: var(--transition);
}
.nav-container-change {
  background: var(--clr-white);
  box-shadow: var(--dark-shadow);
}
.navbar {
  width: 90%;
  min-height: 10vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  padding-top: 0.7rem;
  transition: var(--transition);
}
.small-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-bars-icon {
  width: 30px;
  cursor: pointer;
  transition: var(--transition);
}
.nav-logo {
  color: var(--clr-white);
  text-shadow: var(--dark-shadow);
}
.nav-links {
  width: 100%;
  overflow: hidden;
  height: 0;
  transition: var(--transition);
}
.nav-links-show {
  margin-bottom: 1rem;
  /* height: auto; */
}
.nav-links li a {
  color: var(--clr-primary-3);
  display: block;
  padding: 0.425rem 0.325rem;
  letter-spacing: var(--spacing);
  font-weight: bold;
  transition: var(--transition);
  text-decoration: underline;
  text-decoration-color: var(--clr-primary-5);
  font-family: var(--ff-primary);
}
.nav-links li a:hover {
  background: var(--clr-primary-5);
  padding-left: 0.845rem;
  color: var(--clr-white);
}
@media screen and (min-width: 768px) {
  .navbar {
    width: 95%;
    max-width: 1170px;
  }
}

/*
=============== 
Hero
===============
*/
.hero-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(rgba(44, 174, 186, 0.7), rgba(0, 0, 0, 0.6)),
    url("../images/hero-img.jpg") center/cover no-repeat fixed;
}
.hero {
  text-align: center;
  color: var(--clr-white);
  padding: 0 3rem;
}
.hero .hero-title {
  text-transform: uppercase;
  text-shadow: var(--dark-shadow);
}
.hero .hero-text {
  max-width: 35rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--clr-white);
  letter-spacing: var(--spacing);
  text-transform: capitalize;
}
.hero .hero-btn {
  padding: 0.9rem 1.4rem;
  font-size: 1.25rem;
  background: var(--clr-white);
  color: var(--clr-primary-5);
}
.hero .hero-btn:hover {
  background: transparent;
  color: white;
  border-color: var(--clr-white);
}
@media screen and (min-width: 768px) {
  .hero {
    padding: 0;
  }
  .hero .hero-text {
    max-width: 45rem;
  }
}

/*
=============== 
red color center
===============
*/
.section-red {
  background: var(--clr-white);
}
.main-color-center {
  text-align: center;
}
.color-container {
  width: 150px;
  height: 250px;
  /* background: red; */
  margin-bottom: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--light-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8) translateY(100px) rotateZ(0deg);
  filter: blur(16px);
  -webkit-filter: blur(16px);
}
.color-container-animation-show {
  opacity: 1;
  transform: scale(1) translateY(0px) rotateZ(0deg);
  filter: blur(0px);
  -webkit-filter: blur(0px);
}
.color-container:hover {
  transform: scale(1.02);
  box-shadow: var(--dark-shadow);
}
.color-code {
  /* opacity: 0; */
  /* user-select: none; */
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  /* top: 90%;
  left: 50%;
  transform: translate(-50%, -50%); */
  font-weight: bold;
  letter-spacing: var(--spacing);
  background: var(--clr-grey-1);
  padding: 0.225rem 0.325rem;
  /* border-radius: var(--radius); */
  color: var(--clr-grey-10);
  cursor: text;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.color-copied {
  position: absolute;
  /* color: var(--clr-primary-5);
  background: var(--clr-grey-10); */
  background: var(--clr-primary-4);
  color: var(--clr-white);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0) rotateZ(360deg);
  padding: 0.325rem 0.525rem;
  border-radius: var(--radius);
  letter-spacing: var(--spacing);
  margin: 0;
  text-transform: capitalize;
  font-weight: bold;
  transition: var(--transition);
  /* border: 3px solid var(--clr-primary-8); */
  user-select: none;
  box-shadow: var(--dark-shadow);
  opacity: 0;
}
.color-copied-show {
  transform: translate(-50%, -50%) scale(1.2) rotateZ(0deg);
  opacity: 1;
}
@media screen and (min-width: 250px) {
  .main-color-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .color-container {
    flex: 1 1 calc(100% - 3rem);
    align-self: center;
    margin: 1rem 0.5rem;
  }
}
@media screen and (min-width: 400px) {
  .main-color-center {
    justify-content: space-between;
  }
  .color-container {
    flex: 1 1 calc(50% - 1rem);
    align-self: center;
    margin: 1rem 0.5rem;
  }
}

@media screen and (min-width: 550px) {
  .color-container {
    flex: 1 1 calc(33.333% - 1rem);
    align-self: center;
    margin: 1rem 0.5rem;
  }
}
@media screen and (min-width: 700px) {
  .color-container {
    flex: 1 1 calc(25% - 1rem);
    align-self: center;
    margin: 1rem 0.5rem;
  }
}
@media screen and (min-width: 900px) {
  .color-container {
    flex: 1 1 calc(20% - 1rem);
    align-self: center;
    margin: 1rem 0.5rem;
  }
}
@media screen and (min-width: 1050px) {
  .color-container {
    flex: 1 1 calc(16.6666% - 1rem);
    align-self: center;
    margin: 1rem 0.5rem;
  }
}

/*
=============== 
blue color center
===============
*/
.section-blue {
  background: var(--clr-grey-10);
}

/*
=============== 
green color center
===============
*/
.section-green {
  background: var(--clr-white);
}

/*
=============== 
yeloow color center
===============
*/
.section-yellow {
  background: var(--clr-grey-10);
}

/*
=============== 
orange color center
===============
*/
.section-orange {
  background: var(--clr-white);
}

/*
=============== 
black color center
===============
*/
.section-black {
  background: var(--clr-grey-10);
}

/*
=============== 
purple color center
===============
*/
.section-purple {
  background: var(--clr-white);
}

/*
=============== 
Footer Styles
===============
*/
.fotter-bottom {
  background: var(--clr-grey-1);
}
.footer-nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav-links li a {
  display: block;
  margin: 0rem 1rem 1rem 0rem;
  letter-spacing: var(--spacing);
  color: var(--clr-white);
  transition: var(--transition);
}
.footer-nav-links li a:hover {
  color: var(--clr-primary-7);
}
.footer-social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem auto;
}
.icon-container {
  margin-right: 2rem;
  transition: var(--transition);
}
.icon-container:hover {
  transform: translateY(-5px);
}
.icon-container img {
  width: 30px;
  cursor: pointer;
}
.icon-container .youtube-icon {
  width: 40px;
}
.footer-copy-right {
  color: var(--clr-white);
  text-align: center;
  margin-top: 2rem;
  letter-spacing: var(--spacing);
}
