* {
    font-family: 'Poppins', sans-serif;

    ::-webkit-scrollbar {
        display: none;
    }

}

a{
    color: blueviolet;
}

:root {
    --bs-dark: #212529;
    --bs-light: #ffffff;
    --text-dark: #000000;
    --text-light: #ffffff;
}

body {
    color: var(--text-dark);
    background-color: var(--bs-dark);
    transition: 0.5s;
}

body.light-mode {
    color: var(--text-dark);
    background-color: var(--bs-light);
}

body.dark-mode {
    color: var(--text-light);
}

/* Header file */
header {
    display: block;
    position: sticky;
    top: 0px;
    min-height: 68px;
}

nav {
    display: flex;
    justify-items: center;
    justify-content: space-between;

}

.header-logo-section {
    display: flex;
}

.main-logo {
    display: inline-block;
    position: fixed;
    left: 10px;
    top: 18px;
    margin-right: 30px;
    z-index: +3;
}

.main-logo a img {
    height: 38px;
}

.header-menu-section {
    display: block;
    margin-left: 70px;
    margin-right: -80px;
}

.menu-items-desktop {
    display: block;
    margin: auto;
}

.menu-items-desktop ul {
    display: flex;

}

.menu-items-desktop ul li {
    list-style: none;
    margin-right: 20px;
    font-weight: 600;

}

.menu-items-desktop ul li a {
    text-decoration: none;

}

.menu-items-desktop ul li a:hover {
    text-decoration: underline;
    text-underline-offset: 0.3rem;
}


.menu-items-desktop a {
    color: white;
}

.menu-items-desktop>ul .active a {
    color: rgb(190, 183, 183);
}

.menu-items-desktop>ul .active a:hover {
    color: rgb(255, 245, 245);
}

.menu-items-desktop> ul .dropdown-menu a{
    color: #000000;
}

nav>hr {
    color: rgb(181, 185, 188);
}

.header-button-themes-section {
    display: block;
}

.buttons-themes {
    display: flex;
}

.header-mobile-menu {
    display: none;
}

.mobile-menu-contact {
    display: none;
}

.nav-item {
    width: max-content;
}

.mobile-menu-section {
    display: none;
}

.mobile-logo-contact {
    display: none;
}

.overflow-menu {
    z-index: +3;
    overflow: visible;
}

.navbar-nav {
    width: max-content;
    text-align: left;
    margin-top: 60px;
    overflow: visible;
    width: 52vw;
    margin-left: -50%;
}




/* Pop up form */

form input,
label,
textarea {
    display: flex;
    flex-direction: column;
    margin: 10px;
}

form label {
    margin-bottom: 5px;
}



form input,
textarea {
    width: 95%;
    height: 40px;
    background-color: none;
    padding-left: 20px;
    text-align: left;
    border-radius: 10px;
    margin-top: 0px;
    background-color: #00000033;
    color: black;
    border: 2px solid black;
}

input[type=file] {
    /* width: 350px; */
    max-width: 95%;
    color: #444;
    padding: 5px;
    background: #fff;
    border-radius: 10px;
    border: none;
}

input[type=file]::file-selector-button {

    transition: background .2s ease-in-out;
    background: blue;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
}

input[type=file]::file-selector-button:hover {
    background: #0d45a5;
}

textarea {
    height: auto;
}

input::placeholder,
textarea::placeholder {
    opacity: 1;
    color: rgb(0, 0, 0);
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: rgb(0, 0, 0);
}

#my-form-status {
    margin: 10px;
    color: red;
    font-size: medium;
}

.theme-switch-button {
    display: block;
}

/* Dark Mode CSS  */
/* Dark & light mode */
.theme-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    background: var(--bs-dark);
}

.theme-container:hover {
    opacity: 0.8;
}

.shadow-dark {
    background: linear-gradient(145deg, #23282c, #1e2125);
    box-shadow: 17px 17px 23px #1a1d20,
        -17px -17px 23px #282d32, inset 5px 5px 4px #1e2226,
        inset -5px -5px 4px #24282c;

    body {
        color: #ffffff;
    }
}

.shadow-light {
    box-shadow: 7px 7px 15px -10px #bbcfda, -4px -4px 13px #ffffff,
        inset 7px 7px 3px rgba(209, 217, 230, 0.35),
        inset -11px -11px 3px rgba(255, 255, 255, 0.3)
}

@keyframes change {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.4);
    }
}

.change {
    animation-name: change;
    animation-duration: 1s;
    animation-direction: alternate;

}

/* End of Header Template*/


table {
    margin: auto;
    width: 100%;
    height: auto !important;
    min-height: 35vh !important;
    max-width: 98vw;
    overflow-x: auto;
    border:none;
    margin-top: 20px;
    padding: 20px;
    border-radius: 5px;
}

tr {
    text-align: center;
}

td input[type="text"] {
    width: 99%;
    height: 40px;
    outline: none;
    background-color: rgba(168, 98, 233, 0.247);
    border-radius: 5px;
    border: 0.5px solid black;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    margin: 5px;
    text-align: right;
    padding: 5px;
    font-size: larger;
}

td {
    text-align: center;
}

td input::placeholder {
    text-align: right;
    padding: 5px;
    font-size: large;
    color: rgba(0, 0, 0, 0.541);
}

td input[type="text"]:focus {
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    background-color: rgba(190, 164, 214, 0.116);
    text-align: right;
    padding: 5px;
}

td input[type="button"] {
    padding: 5px;
    margin: 5px;
    height: 40px;
    text-align: center;
    font-size: larger;
    border-radius: 5px;
    border: none;
    background-color: blueviolet;
    color: white;
    cursor: pointer;
    width: 95%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

td input[type="button"]:focus {
    transition: .5s ease;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    color: rgb(253, 244, 209);
    background-color: rgb(140, 73, 202);
}




/* Start of footer Template */
/* footer */

.top-scroll-icon {
    bottom: 40px;
    left: 20px;
    position: fixed;
    opacity: 0.5;
}

footer {
    display: flex;
    margin: auto;
    justify-content: space-between;
    margin-top: 30px;
}

.copyright-text {
    margin-left: 13px;
}

.footer-social-icon {
    display: inline-block;
    margin-right: 13px;
}

.footer-social-media {
    display: flex;
    list-style-type: none;
}

.footer-social-media li {
    margin: 5px;
}

@media (max-width: 900px) {


    .header-menu-section {
        display: none;
    }

    .header-pc-contact-button {
        display: none;
    }

    .mobile-menu-section {
        display: block;
        overflow: visible;
    }

    .mobile-logo-contact {
        display: block;
        top: 18px;
        position: relative;
        left: 200px;
        overflow: visible;
        z-index: +2;

    }

    .dropdown-menu-contact {
        display: none;
    }

    .header-mobile-menu {
        display: flex;
    }

    
.theme-container {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
  }


    footer {
        width: 100%;
        display: block;
        text-align: center;
    }

    .footer-social-icon {
        margin-top: 5px;
    }

    .footer-social-icon ul {
        width: 100%;
        justify-content: center;
    }

    .footer-social-icon ul li {
        text-align: center;
    }

    .copyright-text {
        display: flex;
        text-align: center;
        justify-content: center;
    }

    .visitor-count {
        width: 100%;
        margin-top: 10px;
        display: block;
    }
}

@media (max-width : 500px) {

    .mobile-logo-contact {
        display: none;
    }

    .copyright-text {
        display: block;
    }

    .mobile-menu-contact {
        display: block;
    }

    .mobile-header-contact-button {
        display: none;
    }

    .dropdown-menu-contact {
        display: block;
    }

}
