*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
img
{
    width: 100%;
}

@font-face {
    font-family: 'Mulish light';
    src: url(Mulish/static/Mulish-Regular.ttf);
}

@font-face {
    font-family: 'Mulish bold';
    src: url(Mulish/static/Mulish-Bold.ttf);
}
@font-face {
    font-family: 'Carter One';
    src: url(CarterOne/CarterOne-Regular.ttf);
}
.carter-one-regular {
    font-family: "Carter One", system-ui;
    font-weight: 400;
    font-style: normal;
  }
  

header{
    background-color: #000;
    color: rgb(245,245,220);
}


header a.navbar_logo
{
    text-decoration: none;
    color: inherit;
    font-size: 20px;
}

body
{
    background-color: rgb(245,245,220);
}
main.content
{
    font-family: 'Mulish light';
}
main.content
{
    padding: 15px;
}
section{
    min-height: 50vh;
}
@media(min-width:768px)
{
    header a.navbar_logo
    {
        font-size: 1.5rem;
    }
    main.content
    {
        width: 80%;
        margin: auto;
    }
    section{
        min-height: 80vh;
    }
}


section.hero .writeup
{
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}
section.hero .writeup h1
{
    font-size: 25px;
}
section.hero ._form
{
    text-align: center;
}
@media(min-width:768px)
{
    section.hero .writeup h1
    {
        font-size: 2rem;
    }
}


._form
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
    margin: auto;
}

input 
{
    flex: 1;
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #fff;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

._form form input:focus {
    color: #212529;
    background-color: #fff;
    border-color: none;
    outline: 0;
}

._form form input::placeholder {
    color: #6c757d;
    opacity: 1;
}

._form form
{
    display: flex;
    min-width: 300px;
    width: 100%;
    background-color: #fff;
    padding: 5px 7px;
    border-radius: 5px;
}
._form form button
{
    padding: 3px;
    background-color: rgb(96,158,160);
    border: none;
    color: #fff;
    border-radius: 3px;
}
._form small
{
    display: block;
    text-align: left;
    padding: 5px 0;
}

.fast_download h2
{
    text-align: center;
    padding: 25px 0;
    font-size: 17px;
}
.fast_download .grid
{
    display: grid;
    gap: 7px;
    grid-template-columns: 1fr;
}

.fast_download .writeup p
{
    padding: 10px 0;
}
.fast_download .writeup p > small
{
    display: block;
    font-size: 13px;
    margin: 5px 0;
    color: rgb(151, 6, 6);
    word-break: break-all
}

@media(min-width:768px)
{
    .fast_download h2
    {
        font-size: 1.4rem;
    }
    .fast_download .grid
    {   
        grid-template-columns: 1fr 1fr;
    }

    .fast_download .writeup p > small
    {
        font-size: 16px;
    }
}


body > main > section.fast_download > div > div > div:nth-child(2) > img
{
    max-height: 266px;
    object-fit: contain;
    object-position: top;
}


/* download section */
#download
{
    min-height: 30vh;
    margin: 15px 0;
}
#download > div.wrapper > div.row
{
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
}
#download > div.wrapper > div.row img
{
    width: 100%;
    max-height: 350px;
    object-fit: cover;
}
#loading 
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 15px 0px;
}
#loading > div.writeup
{
    font-size: 13.5px;
}
@media(min-width:768px)
{
    #download > div.wrapper > div.row
    {
        grid-template-columns: 1fr 1.5fr;
    }
    #loading > div.writeup
    {
        font-size: 16px;
    }
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 60px;
    aspect-ratio: 4;
    --_g: no-repeat radial-gradient(circle closest-side,#000 90%,#0000);
    background: 
      var(--_g) 0%   50%,
      var(--_g) 50%  50%,
      var(--_g) 100% 50%;
    background-size: calc(100%/3) 100%;
    animation: l7 1s infinite linear;
  }
  @keyframes l7 {
      33%{background-size:calc(100%/3) 0%  ,calc(100%/3) 100%,calc(100%/3) 100%}
      50%{background-size:calc(100%/3) 100%,calc(100%/3) 0%  ,calc(100%/3) 100%}
      66%{background-size:calc(100%/3) 100%,calc(100%/3) 100%,calc(100%/3) 0%  }
  }


  .d-none
  {
    display: none !important;
  }

  a#down_btn
  {
    background-color: #00a129;
    color: #fff;
    cursor: pointer;
    padding: 6px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease-in;
    margin: 15px 0;
  }
  a#down_btn:hover
  {
    filter: brightness(80%);
  }
  #down_btn
  {
    border: 1px solid #00a129;
    overflow: hidden;
    width: fit-content;
    margin: 15px auto;
  }

  #down_btn > span
  {
    display: inline-block;
    background-color: #00a129;
    color: #fff;
    padding: 6px;
  }
  #down_btn > select
  {
    display: inline-block;
    border: none;
    outline: none;
    padding: 6px;
    background-color: inherit;
    cursor: pointer;
  }
  @media(min-width:768px)
  {
    #down_btn,
    a#down_btn
    {
        margin: 15px 0;
    }
    #download > div > div.row > div.write-up
    {
        padding: 15px;
    }
    
  }


  .paste-btn {
    margin:0 2px; 
    padding: 0.5rem; 
    background-color: rgba(0, 0, 0, 0.7);
    color: white; 
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.paste-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}


#err_msg
{
    text-align: center;
}

form button
{
    cursor: pointer;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        justify-content: flex-end;
    }
}


.navbar-expand-lg .navbar-nav .nav-link
{
    position: relative;
    color: rgb(245, 245, 220);
    padding-bottom:5px;
    transition: all 0.3s ease-in;
}

.navbar-expand-lg .navbar-nav .nav-link:hover::after,
.navbar-expand-lg .navbar-nav .nav-link.active::after
{
    content: '';
    position: absolute;
    width: 5%;
    left:0;
    bottom: 0;
    height: 1px;
    background-color: #fff;
}


@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link:hover::after,
    .navbar-expand-lg .navbar-nav .nav-link.active::after
    {
        width: 42%;
        left: 8px;
    }

}

html {
    scroll-behavior: smooth;
  }

  .navbar-toggler ,
  .navbar-toggler  > svg
  {
    color: #fff;
  }