@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Saira:ital,wght@0,100..900;1,100..900&display=swap');



:root{
    --base-clr: #13111a;
    --line-clr: #d9a361;
    --hover-clr: #404393;
    --text-clr: #b1b1d1;
    --accent-clr: #5e5f8e;
    --secondary-text-clr: #aaaac4;

}

* {
    margin: 0;
    padding: 0;

    font-family: "Saira", sans-serif;
    font-optical-sizing: auto;
    font-weight: 310;
    font-style: normal;
    font-variation-settings:
      "wdth" 115.7;

  }

body {
      background-image: linear-gradient(1800deg, rgb(6, 6, 10), rgb(29, 29, 40));
      background: var(--base-clr);
      object-fit: cover;
      background-attachment: fixed;
      margin-bottom: 15rem;
}

main {
    padding: min(30px, 7%);
    display: grid;
}

  .img {
    position: center;
    height: 400px;
    display: block;
    margin: auto;
    opacity: 0.8;
    border-radius: 10px;
    transition: height 1s, opacity 1s;
    z-index: 0;
    
  }

  .img:hover {
    height: 410px;
    opacity: 1;
    transition: height ease-in-out 1s, opacity ease-in-out 1s,
  }

  .header {
    text-align: center;
    line-height: 100px;
    height: 100px;
    padding: 10px;
    box-sizing: border-box;
    
  font-family: "Saira", sans-serif;

    color:var(--text-clr);
    text-shadow: 0px 0px 4px rgba(14, 9, 28, 0.444);
    font-size: 20px;
    transition: font-size 0.5s;
    z-index: -2;
  }

  .search {
    --padding: 14px;
     display: flex;
    margin: 10px auto;
    max-width: 600px;
    height: flex; 
    text-align: center; 
    position: relative;
    padding: var(--padding);
    border-radius: 10px;

    background: #b5b0cd;
    transition: background.45s, box-shadow 0.25s, 
    max-width 1s, opacity 1s, 0.5s;
  }
  
  .search:hover{
    max-width: 610px;
    opacity: 1;
    transition: height ease-in-out 1s, opacity ease-in-out 1s,
  }

  .search:focus-within {
    border: 1px solid var(--line-clr);
    background: #d8cef1;
    box-shadow: 0 0 2px rgba(3, 3, 4, 0.80);
    max-width: 610px;
    
  }

  .search-input {
    width: 100%;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    color: #333333;
    margin-left: var(--padding);
    outline: none;
    border: none;
    background: transparent;
    flex: auto;
    
  }

  .search-input::placeholder,
  .search-icon {
    color: rgba(6, 3, 20, 0.5);
  }

  input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

#pp a {
  text-decoration: none;
  color:#6a6ecf;
}


/* Nav Bar */

  .nav {
    position: relative;
    height: 4.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary-text-clr);
    z-index: 999;
  }

  .nav__logo{
    font-size: 1.5rem;
    margin: auto 1rem;
  }

  .nav__menu ul {
    margin: 0;
    padding: 0;
    display: flex;
  }

  .nav__menu ul li {
    list-style: none;
  }

  .nav__menu ul li a {
    text-decoration: none;
    color: var(--secondary-text-clr);
    padding: 1rem;
    display: block;
    padding: 15px 25px;
    font-size: 18px;
    z-index: 9;
  }

  .nav__menu li:hover {
    background-color: var(--hover-clr);
    border-radius: 15px;
    transition: background-color ease-in-out 0.2s;
  }

.nav__hamburger {
    width: 1.875rem;
    height: 1.313rem;
    display: none;
    flex-direction: column;
    justify-content: space-around;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 999;
}

.nav__hamburger__line {
    height: 0.140rem;
    width: 100%;
    background-color: var(--secondary-text-clr);
    border-radius: 0.625rem;
    transition: all ease-in-out 0.2s;
}

/* Media Queries */

@media screen and (max-width: 550px) {
    .nav__hamburger{
        display: flex;
    }
    .nav__menu {
        position: absolute;
        display: flex;
        align-items: center;
        background-image: linear-gradient(180deg, rgba(23, 21, 28, 0.8), rgba(55, 55, 55, 0));
        top: -20rem;
        width: 100%;
        transition: all ease-in-out 0.4s;
    }
    .nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav__menu ul {
        flex-direction: column;
        width: 100%;
        padding: 3rem 0 0.6rem;
    }
    .nav__menu ul li {
        text-align: center;
        border-radius: none;
        text-shadow: 0 0 3px #121117;
    }
    .nav__menu ul li:hover {
      border-radius: 0px;
    }

    .nav__menu {
        z-index: -1;
    }
    .nav__menu.active {
        top: 0;
    }
    .nav__hamburger.active :nth-child(1) {
        transform: rotate(45deg) translate(0.45rem, 0.1575rem);
    }
    .nav__hamburger.active :nth-child(2) {
        opacity: 0;
    }
    .nav__hamburger.active :nth-child(3) {
        opacity: 0;
    }
    .nav__hamburger.active :nth-child(4) {
        transform: rotate(-45deg) translate(0.45rem, -0.1575rem);
    }
    .hover-underline {
      flex-direction: center;
        width: 100%;
        padding: 0.2rem 0 0.6rem;
    }
    .header {
      flex-direction: relative;
      line-height: 50px;
        width: 100%;
        padding: 1rem 5 0.6rem;
        font-size: 100%;
        transition: font-size 0.5s;
    }

     .img {
    position: relative;
    height: 15rem;
    display: block;
    margin: auto;
    opacity: 0.8;
    border-radius: 10px;
    transition: height 1s, opacity 1s;
    z-index: 0;
  }
  .img:hover {
height: 16rem;
  }

    .search {
       flex-direction: center;
       transform: scale(0.9);
       transition: 0.5s;
    }
    .paragraph {
    font-size: 95%;
    transition: font-size 0.5s;
    padding-bottom: 2.5rem;
    }

    main{
        padding: 2em 1em 60px 1em;
    }

  }

.paragraph {
    text-align: left;
    padding: 0.3rem;
    padding-bottom: 2.5rem;
    border: border-box;
    line-height: 30px;
    color:var(--secondary-text-clr);
    text-shadow: 0px 0px 4px rgba(14, 9, 28, 0.444);
    font-size: 18px;
    transition: font-size 0.5s;
    z-index: -2;
}

.container {
    border: none;
    border-radius: 1em;
    margin: 0 auto;
    max-width: 38rem;
    display: justify;
}


.hover-underline {
  position: relative;
  display: inline-block;
}

.hover-underline::after,
.hover-underline::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #f18730f3, #7277cdeb);
  bottom: -5px;
  left: 5;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
}

.hover-underline::before {
  top: -2px;
  transform-origin: left;
}

.hover-underline:hover::after,
.hover-underline:hover::before {
  transform: scaleX(1);
}

.footer {
   position: fixed;
   flex-wrap:wrap;
   left: 0;
   bottom: 0;
   width: 100%;
   padding-top: 5px;
   padding-bottom: 5px;
   color: rgb(112, 105, 199);
   background-color: rgba(15, 13, 29, 0.934);
   border-top: 1px solid var(--accent-clr);
   text-align: center;
}

.fcontent a {
  color: rgb(112, 105, 199);
  text-decoration: none;
}
.fcontent a:first-child{
  float: center;
}
.fcontent a:last-child{
  float: right;
  padding-right: 1rem;
  opacity: 40%;
}



