/* reset code */
html {
    scroll-behavior: smooth;
}

body,
html {
    margin: 0;
    padding: 0;
    color: #585858;
}

* {
    box-sizing: border-box;
    font-family: 'Hind Siliguri', sans-serif;

}

/*  wrapper */
.wrapper {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .wrapper {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .wrapper {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .wrapper {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .wrapper {
        max-width: 1140px;
    }
}

/*  /wrapper */

.d-grid {
    display: grid;
}

button,
input,
select {
    -webkit-appearance: none;
    outline: none;
}

button,
.btn,
select {
    cursor: pointer;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
    margin: 0;
    padding: 0;
}

body {
    background: #f1f1f1;
    margin: 0;
    padding: 0;
}

form,
fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

body a:hover {
    text-decoration: none;
}

.clearfix {
    clear: both;
}

/* content */

/*
  Responsive form elements
  Flexbox layout
*/

/*/////////////// GLOBAL STYLES ////////////////////*/

body {
    font-family: 'Hind Siliguri', sans-serif;
}

/* error page */
/*--/Error-Page--*/
.w3l-errorhny-main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #3f81b3 url(../images/404bg.jpg) no-repeat center;
    background-size: cover;
    overflow: hidden;
    z-index: 0;
    position: relative;
}

.w3l-errorhny-main::before {
    content: "";
    background: rgb(1 12 21 / 40%);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

.w3l-errorhny-main .errorhnyhny-info {
    text-align: center;
    max-width: 500px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 2em auto 0;
    z-index: 99;
}

.w3l-errorhny-main h1 {
    position: relative;
    font-size: calc(10px + 13vw);
    font-weight: 700;
    color: #f5f5f5;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    perspective: 500px;
}

.w3l-errorhny-main h2 {
    color: #fff;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 10px;
    line-height: 38px;
}

.w3l-errorhny-main p {
    color: #fff;
    opacity: 0.8;
}

.w3l-errorhny-main h1::before,
.w3l-errorhny-main h1::after {
    content: attr(aria-label);
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    text-shadow: 0.01em 0.01em 0.01em rgba(0, 0, 0, 0.3);
}

.w3l-errorhny-main h1::before {
    animation: floatAbove 3.5s ease-in-out infinite;
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 0% 50%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 0% 50%);
}

.w3l-errorhny-main h1::after {
    opacity: 0.65;
    filter: blur(0.02em);
    transform: translate(-50%, -50%) rotateX(21deg);
    animation: floatBelow 3.5s ease-in-out infinite;
    -webkit-clip-path: polygon(0% 50%, 100% 50%, 100% 100%, 0% 100%);
    clip-path: polygon(0% 50%, 100% 50%, 100% 100%, 0% 100%);
}

@keyframes floatAbove {
    50% {
        transform: translate(-50%, -60%);
        -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 60%, 0% 60%);
        clip-path: polygon(0% 0%, 100% 0%, 100% 60%, 0% 60%);
    }
}

@keyframes floatBelow {
    50% {
        transform: translate(-50%, -60%) rotateX(10deg);
        -webkit-clip-path: polygon(0% 60%, 100% 60%, 100% 100%, 0% 100%);
        clip-path: polygon(0% 60%, 100% 60%, 100% 100%, 0% 100%);
    }
}
a.btn.btn-style{
    padding: 10px 30px;
    font-size: 16px;
    line-height: 30px;
    font-weight: 600;
    transition: 0.3s ease-in;
    border-radius:4px;
    border:1px solid #fff;
    margin-top:2em;
    display:inline-block;
    color:#fff;
}
a.btn.btn-style:hover {
    color:#457b9d;
    background-color: #fff;
    border:1px soliod #fff;
}
/*--//Error-Page--*/
.w3layouts-copyright {
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40px;
    margin: 0 auto;
}

.w3layouts-copyright p,
.w3layouts-copyright p a {
    font-weight: 400;
    color: #fff;
    font-size: 1em;
    line-height: 26px;
    letter-spacing: 1px;
    transition: 0.3s;
}
.w3layouts-copyright p a:hover{
    text-decoration:underline;
}
@media (max-width:1050px) {
    .w3layouts-copyright p{
        padding:0 10px;
    }
}
@media (max-width:600px) {
    .w3l-errorhny-main h1 {
        position: relative;
        font-size: calc(10px + 25vw);
    }
}

@media (max-width: 480px) {

}

@media (max-width: 440px) {

}

@media (max-width:300px) {
    .w3l-errorhny-main h1 {
        position: relative;
        font-size: calc(10px + 20vw);
    }
}

/* //error page */
