/* start global style */
*,
*::after,
*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #272B30;
}

a {
    text-decoration: none;
    color: inherit !important;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Nerko One", cursive;
    color: red !important;
}

a,
p,
span {
    color: red !important;
}

ul {
    list-style-position: inside;
}

.nav-item .nav-link.active,
.nav-item .nav-link:hover {
    color: #09c !important;
    transition: color 0.5s;
}

::-webkit-scrollbar {
    width: 0.625rem;
}



::-webkit-scrollbar-thumb {
    border-radius: 50px;
    box-shadow: 0 0 5px rgb(0 0 0 / 0.5) inset;
}

/* end global style */

/* start main section */

.background-top img {
    height: 30vh;
    object-fit: cover;
    border-bottom: black 2px solid;
}

.my-nav {
    background-color: #3A497B;
    position: absolute;
    left: 12.5%;
    top: 25%;
    padding: 7px 0px;
}

small img {
    width: 40px;
}

.my-nav .navbar-nav {
    font-size: 13px;
}

.my-nav .navbar-nav a {
    color: white;
}

.my-nav .navbar-nav .active {
    color: #0099CC;
}

.my-nav .navbar-nav a:hover {
    color: #0099CC !important;
}

/* start Home style */

.home .card {
    filter: grayscale(0.7);
    transition: transform 0.5s, filter 0.5s 0.1s;
}

header img {
    max-height: 30vh;
    object-fit: cover;
}

.home .card:hover {
    transform: scale(1.05);
    filter: grayscale(0);
}

nav {
    background-color: rgb(58, 73, 123) !important;
    margin-inline: auto;
    margin-top: -30px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgb(0 0 0 / 0.7);
}

/*start Details style */

.details {
    background-color: #272729be;
    backdrop-filter: blur(4px);
    min-height: 100vh;
}

/*start Loader style*/

.loading {
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: #272b30e3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: inline-block;
    border-top: 4px solid #fff;
    border-right: 4px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    position: relative;
}

.loader::after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border-left: 4px solid #ff3d00;
    border-bottom: 4px solid transparent;
    animation: rotation 0.5s linear infinite reverse;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}