@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;700;800&display=swap');

/*--------------------- Set root defaults -----------------------------*/
:root {
  /* colors */
  --clr-accent: rgb(226, 226, 226);
  --clr-white: hsl(0, 0%, 100%);
  --clr-black: hsl(0, 0%, 0%);

  /* font-families */
  --ff-Poppins: "Poppins", sans-serif;

  /* font-weight */
  --fw-light: 200;
  --fw-reg: 400;
  --fw-bold: 700;
  --fw-exbold: 800;


  /* font-sizes */
  --fs-xxl: clamp(3.5rem, 1rem + 12vw, 5rem);
  --fs-xl: clamp(1.8rem,  0.5rem + 3.8vw, 3.5rem);
  --fs-l: clamp(3rem, 5vw, 5rem);
  --fs-spec: clamp(1rem, 1rem + 1vw, 5rem);
  --fs-med: clamp(1rem, 1rem + 1vw, 5rem);
  --fs-small: clamp(1rem, 1rem + 1vw, 1.5rem);
  --fs-exsmall: clamp(0.5rem, 0.5rem + 1vw, 1rem);

  /* font-sizes */
  --fs-937: 9.375rem;
  --fs-625: 6.25rem;
  --fs-350: 3.5rem;
  --fs-200: 2rem;
  --fs-175: 1.75rem; 
  --fs-150: 1.5rem;
  --fs-125: 1.25rem;
  --fs-112: 1.125rem;
  --fs-100: 1rem;
  --fs-087: 0.875rem;

  --box-shadow: 0 0 10rem 0 var(--clr-white);
  --max-width-1920: 120em; /*1920px*/
  --max-width-1440: 90em; /*1440px*/
}

/* Reset*/

/* https://piccalil.li/blog/a-modern-css-reset/ */

/* Box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Reset margins */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* Set html defaults */
html {
  scroll-behavior: smooth;
}
/* Set body defaults */
body {
  background-color: var(--clr-black);
  font-family: var(--ff-Poppins);
  font-weight: var(--fw-reg);
  font-size: var(--fs-100);
}
/* Set h1,h2 defaults */
h1,
h2 {
  text-transform: capitalize;
  font-size: var(--fs-med);
  font-weight: var(--fw-bold);
  color: var(--clr-white);
}
/* Set h3,h4,h5 defaults */
h3,
h4,
h5 {
  text-transform: capitalize;
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: var(--clr-white);
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}
/* make form elements easier to work with */
input,
button,
textarea,
select {
  font: inherit;
}

/* remove animations for people who've turned them off */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/*--------------------- Set root defaults -----------------------------*/

.btn {
  border: none;
  background: transparent;
  text-transform: uppercase;
  text-decoration: none;
  font-size: var(--fs-small);
  font-family: var(--ff-body);
  font-weight: var(--fw-reg);
  padding: 0.75em 3em;
  max-width: 250px;
  cursor: pointer;
  transition: all 200ms ease-in-out;
}

.topBtn {
  display: none;
  position: fixed;
  bottom: 5%;
  right: 2%;
  z-index: 99;
  border: 1px solid var(--clr-white);
  outline: none;
  background-color: var(--clr-white);
  color: var(--clr-black);
  cursor: pointer;
  padding: 0.2em 0.5em;
  border-radius: 4px;
  transition: 500ms ease;
}
.topBtn:hover {
  background-color: var(--clr-white);
  color: var(--clr-white);
  transform: scale(1.2);
}

main {
  max-width: var(--max-width-1440);
  margin: auto;
  box-shadow: var(--box-shadow);
  border-left: 1px solid var(--clr-accent);
  border-right: 1px solid var(--clr-accent);
  position: relative;
}

.hero {
  display: grid;
  min-height: 100vh;   
}
.h1-container{
position: relative;
max-width: fit-content;
}

.h1-container div{
  color: #fff;
  position: absolute;
  top: 0px;
  right: 70px;
  font-size: 4rem;
  opacity: 0;
  -moz-animation: sleep 1s infinite linear;
  -webkit-animation: sleep 1s infinite linear;
  animation: sleep 1s infinite linear;
}
.h1-container div:nth-child(2n) {
  -moz-animation-delay: 3s;
  -webkit-animation-delay: 3s;
  animation-delay: 3s;
}
.h1-container div:nth-child(3n) {
  -moz-animation-delay: 6s;
  -webkit-animation-delay: 6s;
  animation-delay: 6s;
}
h1 span{
  font-size: var(--fs-175);
  
}
@-webkit-keyframes sleep {
  0% {
    -moz-transform: translate(0, 0) scale(1);
    -ms-transform: translate(0, 0) scale(1);
    -webkit-transform: translate(0, 0) scale(1);
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  1% {
    opacity: 0;
  }
  3% {
    opacity: 1;
  }
  50% {
    -moz-transform: translate(90%, -50%) scale(0.65);
    -ms-transform: translate(90%, -50%) scale(0.65);
    -webkit-transform: translate(90%, -50%) scale(0.65);
     transform: translate(90%, -50%) scale(0.65);
  }
  75% {
    opacity: 1;
  }
  100% {
    -moz-transform: translate(180%, -100%) scale(0.3);
    -ms-transform: translate(180%, -100%) scale(0.3);
    -webkit-transform: translate(180%, -100%) scale(0.3);
    transform: translate(180%, -100%) scale(0.3);
    opacity: 0;
  }
}

@-moz-keyframes sleep {
  0% {
    -moz-transform: translate(0, 0) scale(0.3);
    -ms-transform: translate(0, 0) scale(0.3);
    -webkit-transform: translate(0, 0) scale(0.3);
    transform: translate(0, 0) scale(0.3);
    opacity: 0;
  }
  1% {
    opacity: 0;
  }
  3% {
    opacity: 1;
  }
  50% {
    -moz-transform: translate(90%, -50%) scale(0.65);
    -ms-transform: translate(90%, -50%) scale(0.65);
    -webkit-transform: translate(90%, -50%) scale(0.65);
    transform: translate(90%, -50%) scale(0.65);
  }
  75% {
    opacity: 1;
  }
  100% {
    -moz-transform: translate(180%, -100%) scale(1);
    -ms-transform: translate(180%, -100%) scale(1);
    -webkit-transform: translate(180%, -100%) scale(1);
    transform: translate(180%, -100%) scale(1);
    opacity: 0;
  }
}
@-ms-keyframes sleep {
  0% {
    -moz-transform: translate(0, 0) scale(1);
    -ms-transform: translate(0, 0) scale(1);
    -webkit-transform: translate(0, 0) scale(1);
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  1% {
    opacity: 0;
  }
  3% {
    opacity: 1;
  }
  50% {
    -moz-transform: translate(90%, -50%) scale(0.65);
    -ms-transform: translate(90%, -50%) scale(0.65);
    -webkit-transform: translate(90%, -50%) scale(0.65);
    transform: translate(90%, -50%) scale(0.65);
  }
  75% {
    opacity: 1;
  }
  100% {
    -moz-transform: translate(180%, -100%) scale(0.3);
    -ms-transform: translate(180%, -100%) scale(0.3);
    -webkit-transform: translate(180%, -100%) scale(0.3);
    transform: translate(180%, -100%) scale(0.3);
    opacity: 0;
  }
}
@keyframes sleep {
  0% {
    -moz-transform: translate(-30%,20%) scale(1);
    -ms-transform: translate(-30%,20%) scale(1);
    -webkit-transform: translate(-30%,20%) scale(1);
    transform: translate(-30%,20%) scale(1);
    opacity: 0;
  }
  1% {
    opacity: 0;
  }
  3% {
    opacity: 1;
  }
  50% {
    -moz-transform: translate(90%, -50%) scale(0.65);
    -ms-transform: translate(90%, -50%) scale(0.65);
    -webkit-transform: translate(90%, -50%) scale(0.65);
    transform: translate(90%, -50%) scale(0.65);
  }
  75% {
    opacity: 1;
  }
  100% {
    -moz-transform: translate(180%, -100%) scale(0.3);
    -ms-transform: translate(180%, -100%) scale(0.3);
    -webkit-transform: translate(180%, -100%) scale(0.3);
    transform: translate(180%, -100%) scale(0.3);
    opacity: 0;
  }
}


.hero-text {
  margin: 2rem;
 }

.title-text{
  display:block;
  text-transform: uppercase;
  font-weight: var(--fw-reg);
  color: var(--clr-accent);
  font-size: var(--fs-087);
  padding-top: 0.5rem;
}

.hero-text h1 {
  font-size: var(--fs-xxl);
  font-weight: var(--fw-exbold);
  color: var(--clr-white);
  line-height: 1;
}


.youtube-link{
  color: hsl(0, 100%, 50%);
  cursor: pointer;
  text-decoration: none;
  
}

.hero-btn {
  min-width: 10em;
  text-align: center;
  text-decoration: none;
  border-radius: 4rem;
  border: 1px solid var(--clr-accent);
  color: var(--clr-white);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  transition: all 0.35s;
  padding:0.8em 2em;
}


.hero-btn:hover {
  color: var(--clr-black);
  background-color: var(--clr-white);
  transform: scale(1.2);
}

.hero-text .small-text{
  padding: 1.5em 0 3em;
  color: var(--clr-accent);
  font-weight: var(--fw-light);
  max-width: 60ch;
  line-height: 1.8;
}

.hero-img{
  grid-column: 2/3;
  grid-row: 1/2;
}

.btn-flex{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.ads{
  margin:0 auto;
}

.youtubethumb {
  overflow: hidden;
}
.youtubethumb  img {
  margin: -10% 0;
  width: 100%;
}

.title-div{
  margin: 3rem auto;
}
/*-------------- Latest-videos -----------------------------*/

.Latest-videos{
  margin-left: 2rem;
  margin-bottom: 3rem;
}
.Latest-videos p{
  color: var(--clr-accent);
  font-size: var(--fs-125);
  font-weight: var(--fw-light);
  padding-top: 0.4rem;
  max-width: 95%;
  margin-bottom: 1rem;
}
.flex-videos{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 95%;
  color: var(--clr-accent);
}

.section-title{
  margin-bottom:0.5rem;
}

.video-images p a{
  color: var(--clr-accent);
  cursor: pointer;
  text-decoration: none;
}

/*-------------- Page Headers -----------------------------*/


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2em;
  margin: 0 auto;
  z-index: 2;
  max-width: 95%;
  height: 10vh;
  border-bottom: 1px solid var(--clr-white);
}

.nav {
  display: none;
}
.burger {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  background: var(--clr-purple-main);
  width: 35px;
  padding: 0.3em;
  height: 30px;
  border-radius: 5px;
  right: 1.5em;
  top: 35px;
  cursor: pointer;
  z-index: 50;
}

.line {
  width: 90%;
  height: 3px;
  background-color: var(--clr-white);
  margin: 0 auto;
  transition: all 0.3s ease;
}

.toggle .line-1,
.toggle .line-4 {
  transform: translate(100px);
  opacity: 0%;
}

.toggle .line-2 {
  transform: rotate(45deg) translate(0px, 2px);
  background-color: var(--clr-white);
}
.toggle .line-3 {
  transform: rotate(-45deg) translate(2px, -3px);
  background-color: var(--clr-white);
}

#sideNav {
  width: 250px;
  height: 100vh;
  position: fixed;
  right: -250px;
  top: 0;
  background-color: var(--clr-white) / 0;
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
  z-index: 12;
  transition: 0.5s;
  opacity: 25%;
  border-left: 2px solid var(--clr-accent);
}

.sidenav_list {
  list-style: none;
  font-size: var(--fs-med);
  font-family: var(--ff-body);
  font-weight: var(--fw-reg);
  text-transform: capitalize;
  letter-spacing: 0.02em;
  margin: 4em 1em 2em;
}

.sidenav_list > * {
  margin-top: 1em;
}
.sidenav_link {
  position: relative;
  text-decoration: none;
  color: var(--clr-white);
  transition: all 200ms ease-in-out;
}
.sidenav_link:hover,
.sidenav_link:focus {
  color: var(--clr-purple-main);
}

/* Fade in */
.sidenav_link::after {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 0;
  width: 100%;
  height: 0.1em;
  background-color: var(--clr-purple-main);
  opacity: 0;
  transition: opacity 300ms, transform 300ms;
}

.sidenav_link:hover::after,
.sidenav_link:focus::after {
  opacity: 1;
  transform: translate3d(0, 0.1em, 0);
}
.mainsocial{
  display: none;
}
.sidesocial {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-left: 2rem;
  transition: all 100ms ease-in-out;
}
.sidesocial  svg:hover {
  transform: scale(1.3);
}
.sideionicon {
  width: 2em;
  fill: var(--clr-white);
  margin-right: 0.625em;
}
.sideionicon:hover,
.sideionicon:focus {
  fill: var(--clr-purple-main);
}


/*-------------- Page Headers -----------------------------*/

/*-------------- display-videos -----------------------------*/

.display-videos{
  padding: 2rem;
  max-width: 95%;
  color: var(--clr-accent);
}
.display-videos h1{
  margin-bottom: 2rem;
}

.video-display{
  display: flex;
  gap: 1rem;
  flex-direction: column;
}
.container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.video-display p{
  font-size: var(--fs-150);
  margin-top: 2rem;
}

/*-------------- display-videos -----------------------------*/


/*-------------- form -----------------------------*/

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=submit] {
  background-color: #aa0404;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #45a049;
}

.form_container {
   padding: 20px;
}
/*-------------- form -----------------------------*/


/*---------------Footer-----------------------------*/

footer {
 text-align: center;
 color: var(--clr-accent);
 margin-top: 5rem;
}
footer a{
  color: var(--clr-accent);
  cursor: pointer;
  text-decoration: none;
 }
/*---------------Footer-----------------------------*/

.visible {
  opacity: 1;
  transform: translateZ(0);
}


.social {
  margin: 3.5em 0em;
  transition: all 100ms ease-in-out;
}
.social a,.social_footer a{
  color: var(--clr-accent);
  cursor: pointer;
  text-decoration: none;
}
.social svg:hover {
  fill: var(--clr-white);
  transform: scale(1.3);
}

.social_footer svg:hover {
  fill: var(--clr-white);
  transform: scale(1.3);
}

.foot_ionicon {
  width: 2em;
  fill: var(--clr-white);
  margin-right: 0.625em;
}
.foot_ionicon:hover,
.foot_ionicon:focus {
  fill: var(--clr-white);
}

/*----------------Media---------------------------------------------------------------------------------------------------------------*/


@media (min-width: 48.125em) {
  /*768px*/
 
.hero{
  background:url(/images/background.png);
  background-repeat: no-repeat;
  background-position: top left;
}
  .hero-text h1 {
    line-height: 1.3;
  }
  .hero-text .small-text{
    font-size: var(--fs-125);
    }
    
  .hero-text {
    margin: 6em 0 0 5em;
    }

  .h1-container div {
    color: #fff;
    position: absolute;
    top: -30px;
    right: -10px;
    font-size: 4rem;
    opacity: 0;
    -moz-animation: sleep 5s infinite linear;
    -webkit-animation: sleep 4s infinite linear;
    animation: sleep 5s infinite linear;
  }
  .h1-container div:nth-child(2n) {
    -moz-animation-delay: 3s;
    -webkit-animation-delay: 3s;
    animation-delay: 3s;
  }
  .h1-container div:nth-child(3n) {
    -moz-animation-delay: 6s;
    -webkit-animation-delay: 6s;
    animation-delay: 6s;
  }
  .title-text{
    padding-top: 0rem;
  }
  
.Latest-videos{
  margin-left: 5rem;
}
.flex-videos{
  flex-direction: row; 
  flex-wrap: wrap;
}
.video-images{
  flex: 1 1 26em;
}

.video-images p{
  padding-bottom: 1rem;
  min-height: 4rem;
  font-size: var(--fs-100);
}

.video-images-shorts{
  flex: 1 1 5rem;
}

.video-images-shorts P{
  padding: 0.2rem 1.5rem 0.2rem 1.5rem;
}


.img-holder {
  display: inline-block;
  width: 100%;
  overflow: hidden;
}
.img-holder img {
  display: inline-block;
  width: 100%;
  height: 75%;
  margin: -10% 0;
}


/*-------------- display-videos -----------------------------*/
.header{
  display: flex;
  justify-content: space-between;
  margin: 0 2.5rem;
  padding: 2rem 0;
  height: 10vh;
  border-bottom: 1px solid var(--clr-accent);
}
.mainsocial{
  display: block;
transition: all 100ms ease-in-out;
}
.mainsocial svg:hover {
transform: scale(1.3);
}






.burger,
  #sideNav {
    display: none;
  }
  .nav {
    display: block;
   }

  .nav_list {
    display: flex;
    gap: 3em;
    list-style: none;
    padding: 0;
    margin: 1em 0;
  }

  .nav_link {
    text-decoration: none;
    color: var(--clr-accent);
    text-transform: capitalize;
    font-weight: var(--ff-reg);
    font-family: var(--ff-body);
    font-size: var(--fs-small);
    transition: all 200ms ease-in-out;
    position: relative;
  }

  .nav_list-item svg:hover {
    transform: scale(1.3);
  }
  .nav_link:hover {
    color: var(--clr-white);
    text-decoration: underline;
   text-underline-offset: 1rem;
  }

  /* Fade in */
  .nav_link::after {
    content: "";
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 0.1em;
    background-color: var(--clr-purple-main);
    opacity: 0;
    transition: opacity 300ms, transform 300ms;
  }

  .nav_link:hover::after,
  .nav_link:focus::after {
    opacity: 1;
    transform: translate3d(0, 0.2em, 0);
  }

.display-videos{
  padding: 5rem 3rem;
  margin: 0 auto;
}
.display-videos h1 {
  font-size: 1.5rem;
}
video {
  width: 100%;
  height: auto;
}
/*-------------- display-videos -----------------------------*/

}
 /* Mobile-first styling (default for mobile devices) */
 .grid-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 2 columns on small screens */
  grid-gap: 5px;
  margin: 10px;
  justify-content: center;
}
.grid-item img {
  width: 60px;  /* Default image size for mobile */
  height: 60px;
}

/* Media query for medium-sized devices (e.g., tablets) */
@media only screen and (min-width: 600px){
  .grid-container {
      grid-template-columns: repeat(5, 1fr); /* 3 columns on medium devices */
      grid-gap: 10px; /* Larger gap for medium devices */
  }
  .grid-item img {
      width: 100px;  /* Slightly larger images on medium screens */
      height: 100px;
  }
}

/* Media query for larger devices (e.g., desktops) */
@media only screen and (min-width: 1200px) {
  .grid-container {
      grid-template-columns: repeat(11, 1fr); /* 5 columns on larger devices */
      grid-gap: 15px; /* Larger gap for bigger screens */
  }
  .grid-item img {
      width: 120px;  /* Even larger images on bigger screens */
      height: 120px;
  }
}



.odd-btn {
  min-width: 10em;
  text-align: center;
  text-decoration: none;
  border-radius: 4rem;
  border: 1px solid var(--clr-accent);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  transition: all 0.35s;
  padding:0.8em 2em;
}


.odd-btn:hover {
  color: var(--clr-black);
  background-color: var(--clr-white);
  transform: scale(1.2);
}


.youtube-thumbnail {
  width: 255px; /* Set the fixed width */
  height: 452px; /* Set the fixed height */
  overflow: hidden; /* Hide the overflow of the image */
  margin: 0 auto;
  display: block;
}

.youtube-thumbnail img {
  width: 100%; /* Ensure the image fills the container's width */
  height: 100%; /* Ensure the image fills the container's height */
  object-fit: cover; /* Cover the container with the image, cropping the sides */
  object-position: center; /* Center the image so the sides are evenly cropped */
  transition: transform 0.3s ease; /* Optional: Add a hover effect */
}

.youtube-thumbnail img:hover {
  transform: scale(1.05); /* Optional: Slightly enlarge on hover */
}