
  @import url('https://fonts.googleapis.com/css2?family=El+Messiri&family=Great+Vibes&family=Gruppo&family=Orbitron&family=Sacramento&family=Yatra+One&display=swap');

  /* font-family: 'El Messiri', sans-serif;
    font-family: 'Great Vibes', cursive;
    font-family: 'Gruppo', sans-serif;
    font-family: 'Orbitron', sans-serif;
    font-family: 'Sacramento', cursive;
    font-family: 'Yatra One', cursive; */
html, body {
    height: auto; 
    min-height: 100vh;
    margin: 0; 
    padding: 20; 
    /* font-family: 'Great Vibes', cursive; */
    font-family: Georgia, 'Times New Roman', Times, serif

}

body {
    background: #2980B9;
    /* background: -webkit-linear-gradient(to bottom, #FFFFFF, #6DD5FA, #2980B9); */
    /* background: linear-gradient(to bottom, #FFFFFF, #6DD5FA, #2980B9); */
    background: -webkit-linear-gradient(178.6deg, rgb(20, 36, 50) 11.8%, rgb(124, 143, 161) 83.8%);
    background: linear-gradient(178.6deg, rgb(20, 36, 50) 11.8%, rgb(124, 143, 161) 83.8%);

}



.first{
    margin: 60px 0px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 90px;
    opacity: 0.7; /* Start with opacity 0 (invisible) */
    /* opacity: 0.5; Start with opacity 0 (invisible) */
    transition: opacity 1s, transform 1s; /* Apply transitions for opacity and transform */
}
.second{
    font-family: 'Gruppo', cursive ;
    text-align:center ;
    font-size: 30px ;
    opacity: 0.7; /* Start with opacity 0 (invisible) */
    /* opacity: 0.5 ; Start with opacity 0 (invisible) */
    transition: opacity 1s, transform 1s ; /* Apply transitions for opacity and transform */
}
.aboutpage, .projectpage{
  margin: 60px 0px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 50px;
}

.wrapper:hover .first,
.wrapper:hover .second {
    opacity: 1;
    transform: translateY(0);
}


/* css for nav bar */
@import url("https://fonts.googleapis.com/css?family=Open+Sans|Roboto:400,700&display=swap");

:root {
  /* dark shades of primary color*/
  --clr-primary-1: hsl(205, 86%, 17%);
  --clr-primary-2: hsl(205, 77%, 27%);
  --clr-primary-3: hsl(205, 72%, 37%);
  --clr-primary-4: hsl(205, 63%, 48%);
  /* primary/main color */
  --clr-primary-5: hsl(205, 78%, 60%);
  /* lighter shades of primary color */
  --clr-primary-6: hsl(205, 89%, 70%);
  --clr-primary-7: hsl(205, 90%, 76%);
  --clr-primary-8: hsl(205, 86%, 81%);
  --clr-primary-9: hsl(205, 90%, 88%);
  --clr-primary-10: hsl(205, 100%, 96%);
  /* 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, 2%, 24%);
  --clr-white: #fff;
  --clr-red-dark: hsl(360, 67%, 44%);
  --clr-red-light: hsl(360, 71%, 66%);
  --clr-green-dark: hsl(125, 67%, 44%);
  --clr-green-light: hsl(125, 71%, 66%);
  --clr-black: #222;
  --ff-primary: "Roboto", sans-serif;
  --ff-secondary: "Open Sans", sans-serif;
  --transition: all 0.3s linear;
  --spacing: 0.1rem;
  --radius: 0.25rem;
  --light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  --max-width: 1170px;
  --fixed-width: 620px;
}
*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style-type: none;
}
a {
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  letter-spacing: var(--spacing);
  text-transform: capitalize;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

@media screen and (min-width: 800px) {
  h1 {
    font-size: 2rem;
  }
  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 */

/* section */
.homepage{
  display: none;
}

.links {
    height: 0;
    overflow: hidden;
    transition: var(--transition);
  }
  .show-links {
    height: 10rem;
  }
/*
=============== 
Navbar
===============
*/
nav {
  background: hsl(218, 23%, 84%);
  box-shadow: var(--light-shadow);
}
.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
}
.nav-toggle {
  font-size: 1.5rem;
  color: var(--clr-primary-5);
  background: transparent;
  border-color: transparent;
  transition: var(--transition);
  cursor: pointer;
}
.nav-toggle:hover {
  color: var(--clr-primary-1);
  transform: rotate(90deg);
}
.logo {
  height: 40px;
  /* justify-content: flex-start; */
}
.links a {
  color: var(--clr-grey-3);
  font-size: 1rem;
  text-transform: capitalize;
  letter-spacing: var(--spacing);
  display: block;
  padding: 0.5rem 7px;
  transition: var(--transition);
}

@media screen and (min-width: 800px) {
  .nav-center {
    margin: 0  20px 0px 25px; /*top right bottom left*/
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
  }
  .nav-header {
    padding: 0;
  }
  .nav-toggle {
    display: none;
  }
  .links {
    height: auto;
    display: flex;
  }
  .links a {
    padding: 0;
    margin: 0 0.5rem;
  }
  .links a:hover {
    padding: 0;
    background: transparent;
  }
  .social-icons {
    display: flex;
  }
  .social-icons a {
    margin: 0 0.5rem;
    color: var(--clr-primary-5);
    transition: var(--transition);
  }
  .social-icons a:hover {
    color: var(--clr-primary-7);
  }

}

#hpage, #apage, #ppage{
  font-weight: 60;
    /* font-family: 'Great Vibes', cursive; */
    font-family: 'Times New Roman', Times, serif;
    border: none;
    background-color:hsl(218, 23%, 84%);;
    border-radius: 10rem;
    cursor: pointer;
    color: var(--clr-grey-3);
    font-size: 1.5rem;
    text-transform: capitalize;
    letter-spacing: var(--spacing);
    display: block;
    transition: var(--transition);
    margin: 2px 5px ;
    padding: 0 10px;
}
#hpage:hover, #apage:hover, #ppage:hover {
  color: var(--clr-primary-5);
}
/* style for modal*/

.show-modal {
    font-weight: 60;
    /* font-family: 'Great Vibes', cursive; */
    font-family: 'Times New Roman', Times, serif;
    border: none;
    background-color:hsl(218, 23%, 84%);;
    border-radius: 10rem;
    cursor: pointer;
    color: var(--clr-grey-3);
    font-size: 1.5rem;
    text-transform: capitalize;
    letter-spacing: var(--spacing);
    display: block;
    transition: var(--transition);
    margin: 2px 5px;
    padding: 0 10px;
}
.show-modal:hover{
        color: var(--clr-primary-5);
}
  
  .close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 5rem;
    color: #333;
    cursor: pointer;
    border: none;
    background: none;
    margin-left: 10px;
  }
  .hidden {
    display: none;
  }
  
  
  .modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    font-family: 'Courier New', Courier, monospace;
    font-size: 5 rem;
    background-color: rgb(177, 173, 173);
    padding: 3rem;
    border-radius: 9px;
    box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.3);
    z-index: 1100;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 5;
  }
  @media (max-width: 768px) { 
    .modal {
      width: 90%; 
      font-size: 1rem; 
      padding: 3rem; 
      border-radius: 6px;
      z-index: 1100;
    }
      html,body {
        /* background: #2980B9; */
        background-repeat: no-repeat;
        background-size: cover;
        height: auto;
        min-height: 100vh!important;
    }
    }
  /* hover line  */
  .hover-element {
    position: relative;
    display: inline-block;
    padding: 5px 0px;
    cursor: pointer;
  }
  .hover-line {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 4px;
      border-radius: 10px;
      background-color: #2980B9;
      transition: width 0.3s ease-in-out;
  }
  .hover-elementa {
    position: relative;
    display: inline-block;
    padding: 1px 0px;
    cursor: pointer;
}
.hover-element a{
  text-decoration: none;
   color: black;
}

.hover-linea {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    border-radius: 10px;
    background-color: var(--clr-primary-5);
    transition: width 0.3s ease-in-out;
}

.hover-element:hover .hover-line  {
    width: 100%;
}
.hover-elementa:hover .hover-linea{
  width: 90%;
}
/* about page css */
.aboutpage ul{
  list-style-type: disc;
  padding-left: 2em;
}
.aboutpage li {
  margin-bottom: 0.5em; 
  text-align: left;
  font-family: 'Gruppo', cursive ; 
  color: #fff;
}

.aboutpage strong {
  font-weight: bold;
}
.aboutpage {
  font-family: monospace;
  font-size: 25px;
  padding: 25px;
  opacity: 0; /* Initially set opacity to 0 for the fade-in effect */
  animation: fade-in 1s ease-in-out forwards; /* Apply the fade-in animation */
}

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(20px); /* Optional: Add a slight vertical transition */
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.aboutpage p{
  text-align: left;
  font-family: 'Gruppo', cursive ; 
  font-size: 1.15em;
  font-weight: 599;
  color: #fff;
}
.aboutpage h2{
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: rgb(201, 187, 187);
}

/* project page */
.projectpage {
  font-family: monospace;
  color:#fff;
  font-size: 25px;
  padding: 25px;
  opacity: 0; /* Initially set opacity to 0 for the fade-in effect */
  animation: fade-in 1s ease-in-out forwards; /* Apply the fade-in animation */
}

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(20px); /* Optional: Add a slight vertical transition */
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



/* scroll bar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #7DF9FF; 
}

::-webkit-scrollbar-thumb {
  background: #5593bc;
  border-radius: 6px; 
}

::-webkit-scrollbar-thumb:hover {
  background: #FF69B4 ;
}
/*animtion for homepage  */
.container {
  width: 100%;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background:  linear-gradient(178.6deg, rgb(20, 36, 50) 11.8%, rgb(124, 143, 161) 83.8%);
}

.content{
  width: 100%;
  min-height: 100vh;
  position: absolute;
  top:10;
  left:0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: Georgia, 'Times New Roman', Times, serif}

.content h1{
  font-size: 45px;
  color: #fff;
  font-weight: 300;
  margin-bottom: 20px;
}

.content p{
  font-size: 16px;
  color: #fff;
}

/* === removing default button style ===*/
.button {
margin: 0;
height: auto;
background: transparent;
padding: 0;
border: none;
}

/* button styling */
.button {
--border-right: 2px;
--text-stroke-color: rgba(255,255,255,0.6);
--animation-color:rgb(20, 36, 50);
letter-spacing: 1px;
text-decoration: none;
font-size: 1px;
font-family: "Arial";
position: relative;
text-transform: uppercase;
color: transparent;
-webkit-text-stroke: 1.2px var(--text-stroke-color);
}
.btnsize{
  font-size: 50px;
}
/* this is the text, when you hover on button */
.hover-text {
position: absolute;
box-sizing: border-box;
content: attr(data-text);
color: var(--animation-color);
width: 0%;
inset: 0;
border-right: var(--border-right) solid var(--animation-color);
overflow: hidden;
transition: 0.5s;
-webkit-text-stroke: 1.5px var(--animation-color);
}
/* hover */
.button:hover .hover-text {
width: 100%;
filter: drop-shadow(1px 1px 1px var(--animation-color))
}



/* animated lines part */

.square {
position: relative;
margin: 0 10px;
width: 350px; height: 350px;
display: flex;
justify-content: center;
align-items: center;
}

.square .one {
position: absolute;
width: 100%;
height: 100%;
border: 2px solid black;
border-radius: 32% 58% 69% 43% / 48% 32% 59% 55%;
transition: 0.5s;
animation: animate 6s linear infinite;

}

.twitch:hover .one {
border: none;
background:rgb(20, 36, 50);;
}

.square .two {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 2px solid black;
border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
transition: 0.5s;
animation: animate 6s linear infinite;
}

.twitch:hover .two {
border: none;
background: rgb(20, 36, 50);;

}
.square .three {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 2px solid black;
border-radius: 31% 45% 74% 35% / 38% 56% 51% 37%;
transition: 0.5s;
animation: animate2 10s linear infinite;
}
.twitch:hover .three {
border: none;
background:rgb(20, 36, 50);;
}

.circle {
position: relative;
padding: 40px 60px;
text-align: center;
transition: 0.5s;
z-index: 1000;
}

.square:hover{
color: white;
}

.content:hover {

color: #ffffff;
}

@keyframes animate {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

@keyframes animate2 {
  0% {
      transform: rotate(360deg);
  }
  100% {
      transform: rotate(0deg);
  }

}

.DrugRadar{
  font-size: 50px;
}
