@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Devanagari:wght@600&display=swap');

body {
    background-color: #222;
    color: #DDD;
    text-shadow: 1px 1px #000;
    font-family: "Merriweather";
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Merriweather", sans-serif;
    font-weight: 900;
    color: #DDD;
}

a {
    background-color: #FDD;
    border-radius: 3px;
    color: black;
    text-decoration: none;
    text-shadow: none;
}

a:visited {
    background-color: #333;
    color: #FEE;
    text-decoration: underline !important;
}

a:hover, a:active {
    background-color: lightblue;
    color: black;
    text-decoration: underline;
}

#a_apiopage {
    background-color: inherit;
}

#apiopage {
  transition: box-shadow 0.2s ease-in;
  border-radius: 20px;
}

#apiopage:hover {
    box-shadow: 0 0 15px #FDD;
    transition: box-shadow 0.5s ease-out;
}

#a_apiopage:visited > #apiopage:hover {
    box-shadow: 0 0 15px lightblue;
}

section {
    background-color: #333;
    box-shadow: 0px 0px 5px #000;
    border-radius: 5px;
    padding: 1px 20px 1px 20px;
    margin: 0px 20px 20px 20px;
    transition: box-shadow 0.2s ease-in;
}

section > :not(.header) {
    margin-left: 20px;
}

section:hover {
    box-shadow: 0px 0px 20px #000;
    transition: box-shadow 0.5s ease-out;
}

#gallerytable {
    margin-left: 0px;
}

#gallerytable td {
    vertical-align: top;
}

.gallery figcaption {
    text-align: center;
}

.gallery img {
    width: 100%;
    max-width: 100%;
    border-radius: 5px;
}

td {
  width: 50%;
}

pre {
    background: linear-gradient(90deg, #151515, #151515, #333);
    border-radius: 5px;
    color: white;
    padding: 10px;
}

:not(pre) > code {
    background-color: #222;
    border-radius: 5px;
    color: white;
    padding: 2px;
}

.nepali {
    font-family: "Noto Serif Devanagari", serif;
    font-weight: 600;
    font-style: normal;
}