@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    /* padding: auto; */
}

:root {
    --_padding: 1rem 1.5rem;
    --_transition-speed: 200ms;
    --_hover-opacity: 0.4;
    --_pressed-opacity: 0.15;
    --_hover-blurriness: 1px;
    --_pressed-blurriness: 10px;
    --_frostiness: 0.3;
    --_hover-offset: 0.5rem;
    --_pressed-offset: 0.25rem;
    --_motion-factor: 0.1; /* 0 -> 1 */
  }

body {
    /* background-color: rgb(31, 44, 28); */
    /* background-image: linear-gradient(45deg, rgb(71, 121, 61), rgb(85, 158, 121)); */
    /* background-color: rgba(214, 209, 209, 0.925); */
    background-color: rgba(183, 153, 211, 0.425);
    /* color: rgb(236, 233, 229); */
    /* color: rgb(71, 121, 61); */
    color: rgb(126, 38, 241);
    /* height: 100%;
    width: 100%; */
    min-height: 100vh;
    /* border: 3px solid rebeccapurple; */
    /* scrollbar-width: none; */
}
/* nav {
    position: sticky;
    top: 1;
} */

/* main {
    min-height: 100vh;
} */

#nav {
    backdrop-filter: blur(10px) saturate(170%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    background-color: rgba(19, 48, 28, 0.699);
    
    /* background-color: rgb(5, 14, 11); */
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-items: center;
    justify-content: space-between;
    /* gap: 49%; */
    min-height: 4rem;
    /* justify-content: center; */
    align-content: center;
    align-items: center;
    /* color: whitesmoke; */
    color: rgb(228, 240, 225);
    position: sticky;
    top: 0;
    z-index: 2;
}

.nav-wel {
    padding-left: 1rem;
}

.nav-icon-style {
    display: flex;
    gap: 8px;
    /* border: 2px solid rgba(194, 4, 4, 0.973); */
    justify-content: center;
    align-items: center;
}



.icon {
    width: 21px;
    height: 22px;
}

.nav-toggle {
    display: flex;
    gap: 4rem;
    height: 100%;
    padding-right: 1rem;
}

.nav-toggle * {
    text-decoration: none;
    /* color: whitesmoke; */
    color: rgb(242, 250, 241);
    
    transition: scale 100ms ease-in-out;
}

/* .search {
    background-color: aqua;
    margin-right: 20rem;
} */
.nav-toggle > div:hover:not(.search) {
    padding: 0;
    border-bottom: 3px solid rgb(2, 8, 99);
    scale: 1.00968;
    border-radius: 1.5px;
    /* border: outset; */
}

.search-box > * {
    height: 2.222rem;
    border-radius: 1rem;
    background-color: rgba(56, 53, 58, 0.466);

}

.search-input {
    width: 10rem;
    color: rgb(255, 255, 255);
    font-weight: bold;
    /* transition-duration: 300ms; */

}

.search-input:focus, .search-input:hover {

    width: 13rem;
    transition: 300ms ease-out;
    /* scale: 1.02; */
}

.search-button {
    background-color: rgba(44, 53, 82, 0.856);
    color: aliceblue;
    font-weight: bold;
}

.search-button:hover {
    background-color: rgba(55, 60, 80, 0.836);
    transition: scale 100ms ease-out;
    cursor:grab;
}

.index-page {
    /* position: relative; */
    width: 100%;
    /* width: 100vw; */
    /* height: 100vh; */
    display: flex;
    justify-content:center;
    background: linear-gradient(
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.5)
      ), url("/images/user/megan-thomas-xMh_ww8HN_Q-unsplash.jpg");
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
    /* line-height: 1rem; */
    color: rgb(236, 235, 235);
    /* background-attachment:fixed; */
}

.index {
    display: flex;
    flex-direction: column;
    width: 64rem;
    text-align: center;
    align-items: center;
    gap: 1rem;
    /* border: 2px solid red; */
    padding-top: 5rem;

}


  
  .h1-gradient-text:hover{
      animation: rainbow-text-simple-animation 0.5s ease-in forwards;
  }
  
  @keyframes rainbow-text-simple-animation-rev {
      0% {
          background-size: 650%;
      }
      40% {
          background-size: 650%;
      }
      100% {
          background-size: 100%;
      }
  }
  

  @keyframes rainbow-text-simple-animation {
      0% {
          background-size: 100%;
      }
      80% {
          background-size: 650%;
      }
      100% {
          background-size: 650%;
      }
  }

.bg-visiblity {
    background: rgba(0, 0, 0, 0.75);
    color: rgb(221, 200, 240);
}
/* ////////////// fancy button LoL //////////////////// */
.glassy-button {
  
    outline: 0;
    cursor: pointer;
    font: inherit;
    font-weight:bold;
    font-size: large;
    color: var(--button-text);
    background-color: var(--button-1-surface);
    font-weight: 500;
    padding: 0;
    border: 0;
    border-radius: .4rem;
    background-color: transparent;
    margin-bottom: 3px;
    /* position: relative; */
  
}

.span-button {
    color: white;
  display: flex;
  gap: 3px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: var(--_padding);
  border-radius: inherit;
  background-color: hsla(135, 54%, 12%, 0.795);
  backdrop-filter: blur(0px);
  transition: background-color var(--_transition-speed),
    backdrop-filter var(--_transition-speed),
    translate var(--_transition-speed);

}
.span-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: aqua;
  opacity: 0;
  transition: opacity var(--_transition-speed);
}

.span-button::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background-color: var(--_surface);
  transition: scale var(--_transition-speed),
    translate var(--_transition-speed);
  animation: exit forwards var(--_transition-speed);
}

.glassy-button:hover,
.glassy-button:focus-visible {
  .span-button {
    outline: 1px solid hsla(111, 7%, 37%, 0.7);
    background-color: hsla(56, 48%, 12%, 0.815);
    backdrop-filter: blur(var(--_hover-blurriness));
    translate: 0 calc(var(--_hover-offset) * -1);

    .span-button::before {
      opacity: var(--_frostiness);
    }
  }
}
.glassy-button::after {
  scale: 0.95;
  translate: 0 0.125rem;
  /* animation: enter forwards var(--_transition-speed); */
}

.glassy-button:active {
  .span-button {
    backdrop-filter: blur(var(--_pressed-blurriness));
    background-color: hsla(0, 76%, 31%, 0.952);
    translate: 0 calc(var(--_pressed-offset) * -1);
  }
  &::after {
    scale: 0.875;
    translate: 0 0.25rem;
  }
}

#watcher {
    text-decoration: none;
}

.watch-icon {
    height: 30px;
    width: 30px;
    padding: 2px;
    /* background-color: rgba(207, 8, 8, 0.973); */
    /* border-radius: 14px; */
}

.index-spec {
    margin-top: 8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
    margin-bottom: 15rem;
}

.index-head-catoon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.index-catoons {
    width: 68%;
    height: 10rem;
    /* border: 2px solid red; */
    min-width: 30%;
    gap: 1rem;
    margin-top: 2rem;
    display: flex;
    column-gap: 1rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

}

/* .index-catoons > * {
    flex: 1;
} */

.catoon-content {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    /* border: 2px solid green; */

}

.catoon-content:hover {
    /* background-color: red; */
    /* border: 2px solid rgb(255, 255, 0); */
    transition: 278ms ease-in;
}

.index-about {
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    margin-bottom: 7rem;

    background-image: url("/images/Agric-extend/agro.png");
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
}

#index-about-btn-super {
    margin-top: 3rem;
}

#index-about-btn {
    border: 2.5px solid yellow;
    max-width: 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .7rem;
    border-radius: 2rem;
    transition: 300ms ease-in, color .3s ease;
}

#index-about-link {
    color: black;
    text-decoration: none;
}

#index-about-btn:hover {
    background-color: rgba(236, 236, 30, 0.788);
}

#index-about-img {
    display: block;
    width: 22.5rem;
}

#index-about-info {
    width: 23rem;
}

#index-contact-us {
    /* background-color: rgba(20, 19, 19, 0.918); */
    background-color: #333333;
    /* opacity: 0; */
    color: whitesmoke;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    height: auto;
    padding: 100px 0px 124px;
    /* border: 2px solid red; */
}

.contact-us-head {
    width: 49rem;
    margin: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* border: 2px solid red; */
}

#contact-us-form {
    /* width: 55rem; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* border: 2px solid yellow; */
    gap: 2rem;
}

#contact-us-form > * {
    flex: 1;
    /* background-color: red    ; */
    /* width: 100%; */
}

#form-head {
    display: flex;
    gap: 1rem;
    flex: 1;
    min-width: 6rem;
    /* border: 2px solid red; */
}

.input-contact {
    /* background-color: rgba(31, 27, 27, 0.918); */

    /* opacity: 0.4; */
    border-style: none;
    color: yellow;
    font-weight: 500;
    border-bottom: 2px solid rgba(245, 245, 245, 0.479);
    width: 26rem;
}

#video-filter {
    /* border: 2px solid red; */
    width: 100%;
    padding: .6rem;
    display: flex;
    justify-content: center;
    gap: 3rem;

    border-bottom: 1px solid rgba(0, 0, 0, 0.534);
    border-radius: 2px;
}

#audio-component {
    display: flex;
    gap: .5rem;
    align-items: center;
}

select {
    background-color: rgba(169, 196, 172, 0.692);
    padding: .2rem;
    outline: none;
    border-radius: 3rem;
}

select > * {
    border-radius: 2rem;
}

.input-contact:focus {
    outline: none;
}

.input-contact::placeholder {
    color: whitesmoke;
    font-size:small;
}

input[placeholder="Name"] {
    background-color: inherit;
    padding-bottom: .4rem;
}

input[placeholder="Email"] {
    background-color: inherit;
    padding-bottom: .4rem;
}

textarea[placeholder="Comment"] {
    background-color: inherit;
    padding-bottom: 5rem;
}


#index-contact-btn {
    margin-top: 4rem;
    width: 91.6%;
    margin-left: 2.2rem;
    background-color: inherit;
    padding: 1rem;
    font-weight: 700;
    color: aliceblue;
    border-radius: 2rem;
    /* border-style: none; */
    border-color: yellow;
    transition: background-color 300ms ease-in, color 0.3s ease;
}

#index-contact-btn:hover {
    background-color: rgba(236, 236, 30, 0.884);
    color: black;
}

#form-comment > textarea{
    width: 53rem;
    background-color: inherit;
    font-size: small;
    resize: vertical;
}

footer {
    background-color: rgba(117, 129, 111, 0.397);
    color: black;
    padding: 0 4rem;
    display: grid;
}

#footer {
    padding-top: 2rem;
    display: flex;
    justify-content: space-around;
    /* border: 2px solid red; */
}

.footer-div {
    display: flex;
    /* justify-content: center;
    align-items: center; */
    gap: 10rem;
    padding-bottom: 1rem;
}

.footer-header {
    font-size: medium;
    font-weight: 700;
    color: #333333;
}

#unstyled-footer-list {
    list-style-type: none;
    /* border: 3px solid green; */
    padding: 0;
    transition: text-decoration 300ms ease-in, color 0.8s ease;

}

#unstyled-footer-list > li:hover {
    text-decoration: solid underline rgb(49, 94, 53) 2px;
    cursor: pointer;
    /* transition: 300ms ease-in; */
}

#footer-foot {
    padding: .725rem 0 2rem;
    border-top: 2px solid #3333336c;
}
/* /////////////////////////////////////////////////////////////////////////////////////////////// */

.main {
    display: flex;
    /* flex-direction: column; */
    flex-wrap: wrap;
    /* display: grid; */
    /* grid-template-columns: 20rem 1fr; */
    gap: 1rem;
    position: relative;
    /* min-height: 100vh; */
    /* border-collapse: separate; */


    /* if article is not use then use this */
    /* justify-content: center; */
    align-items: center;
    align-self: center;
    /* border: 3px solid red;
    margin-bottom: 6.5rem;
}

article {
    position: relative;
    /* top: 0; */
    max-height: 100vh;
}

.search-filter {
    position: fixed;
    background-color: rgba(98, 146, 98, 0.171);
    height: 100%;
}

.main-container {
    max-height: 100vh;
    /* position: relative; */


}


.vid-container {
    /* min-height: 100vh; */
    /* display: grid;
    grid-template-columns: repeat(4, 1fr); */
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center; */
    /* align-items: center; */
    /* align-self: center; */
    /* gap: 1rem; */
    column-gap: 14px;
    row-gap: 2rem;
    /* margin-top: 1rem; */
    padding-top: .6rem;
    padding-bottom: 7rem;
    padding-left: 4rem;
    padding-right: 3rem;
    /* border: 2px solid red; */
}

.empty-video {
    width: 100vw;
    height: 60vh;
    font-weight:900;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-div {
    width: 355px;
    height: auto;
    /* position: relative; */
    /* border: 2px solid rgb(112, 107, 63) !important; */
    background-color: rgba(194, 187, 187, 0.356);
    display: flex;
    flex-direction: column;
    /* align-self: center;
    align-items: center; */
    padding: 4px;
    border-radius: 6px;
    border-style: none;
    /* border: 2px solid limegreen; */
    
    /* justify-content: space-around; */
    
    
    box-shadow:
    inset 0 -3em 3em rgba(149, 165, 149, 0.418),
    0 0 0 2px rgba(255, 255, 255, 0.623),
    0.2em 0.2em .6em rgba(39, 39, 39, 0.911);
}




video {

    width: 100%;
    /* background-color: blue; */
    object-fit: cover;
}

video[poster] {
    object-fit: cover;
}

/* .thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
} */


/*
.thumbnail:hover {
    display: hidden;
    opacity: 0;
    transition: opacity 200;
} */

#flex-icon-image {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(112, 107, 107, 0.575);
    padding: 6px;
}

 .back-icon {
    width: 3rem;
    height: 3rem;
    /* background-color: black; */
    color: black;
    border: 2px solid black;
    border-radius: 1.5rem;
    margin-left: 2rem;
    margin-top: 1rem;
    padding: 2px;

 }

 #admin-img {
    width: 5rem;
    height: 5rem;
    border-radius: 2.5rem;
    border: 2px solid black;
    margin-right: 2rem;
    background-color: #333333ce;
 }


 .vid-title {
    text-decoration: none;
    font-weight: 400;
    color: rgb(14, 11, 11);
    font-weight: 500;
    font-size: 17px;
    line-height: 22px;
 }


 #video-footer-meta {
    display: flex;
    justify-content:space-between;
 }

 #vid-footer-user {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.788);
 }

 #vid-footer-time {
    /* display: flex;
    gap: 4px; */
    font-size: 12.6px;
    font-weight:560;
    color: rgba(46, 41, 41, 0.705);
    padding-right: 7px;
 }

#single-vid-page{
    /* border: 2px solid green; */
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.single-video-div {
    width: 62%;
    /* margin-left: 3rem; */
    /* border: 2px solid red; */
}

#single-video {
    /* border: 2px solid red; */
    width: 97%;
    /* height: 100%; */
}

#single-vid-style {
    border-radius: .5rem;
    height: 100%;
}

#single-vid-info {
    padding-left: 1rem;
}

#single-vid-title {
    font-weight: 800;
    /* list-style:decimal-leading-zero; */
    line-height: 1.6rem;
}

#single-vid-type {
    display: flex;
    justify-content: space-between;
}

#single-vid-desc {
    max-width: 80%;
    /* width: fit-content; */
    text-wrap: wrap;
    background-color: #33333336;
    border-radius: .5rem;
    margin-left: .8rem;
    padding: .6rem;
}

#download-time {
    display: flex;
    gap: .6rem;
    justify-content: center;
    align-items: center;
    margin-right: 4rem;
}

.download {
    /* width: 25px;
    height: 25px; */
    color: rgb(31, 30, 30);
}


#download-link {
    display: flex;
    /* background-color: red; */
    background-color: #3333334d;
    color: rgb(31, 30, 30);
    font-size:13px;
    font-weight: 500;
    padding: 3px;
    padding-right: 4px;
    border-radius: 2rem;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

/* .download:hover {
    background-color: rgba(0, 0, 0, 0.349);
    padding: 2px;
} */

#download-link:hover {
    background-color: rgba(0, 0, 0, 0.349);
    cursor: pointer;
}

#single-time-created {
    font-size: small;
    font-weight: 500;
    color: #333333;
}

#desc-head {
    font-size: medium;
    font-weight: 500;
    padding-block: 4px;
    color: rgb(27, 26, 26);
}

#desc-section {
    margin-bottom: 2rem;
}

.paginate {
    margin-top: 4rem;
    position: fixed;
    width: 100vw;
    bottom: 0;
    backdrop-filter: blur(10px) saturate(170%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    background-color: rgba(19, 48, 28, 0.144);
    
    color: whitesmoke;
    padding: 1rem;
    /* align-self: end; */
    /* border-collapse: collapse; */
}

.paginate > nav > *{
    padding-left: 4rem;
    padding-right: 4rem;
    display: flex;
    justify-content: space-between;
}

.paginate > nav > * {
    list-style: none;

}

.page-active {
    background-color: rgb(35, 35, 163);
    text-align: center;
    font-size: bold;
    /* padding: 1rem; */
    border-radius: 5px;
    color: antiquewhite;
    width: fit-content;
}

.page-active:hover {
    background-color: blue;
}

.page-disabled {
    background-color: rgba(75, 72, 72, 0.801);
    text-align: center;
    font-size: bold;
    padding: 1rem;
    border-radius: 5px;
    color: antiquewhite;
}
.page-link {
    text-decoration: none;
    color: white;
    max-width: min-content;

}