* {
    margin: 0;
}

body {
    background-color: black;
    color: white;
}

li {
    list-style: none;
}

ul {
    display: flex;
    flex-direction: row;
    gap: 2em;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: white;
}

nav {
    height: 60px;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #2b2c2e;
    justify-content: space-between;
    padding: 0 2em;
}

li:hover {
    color: black;
}

.SoftName {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    gap: 1em;
    cursor: pointer;
}

.SoftName img {
    width: 40px;
    border-radius: 50%;
}

.nav-link:hover {
    color: rgb(141, 122, 122);
}

@media only screen and (max-width: 690px) {
    nav {
        justify-content: space-between;
    }

    .SoftName {
        margin-right: 20px;
    }

    ul {
        display: none;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger div {
        width: 30px;
        height: 3px;
        background-color: white;
        margin: 5px;
    }

    .nav-open ul {
        right: 0;
        top: 60px;
        width: 20vw;
        display: block;
        padding-top: 20px;
        position: absolute;
        text-align: center;
        padding: 0 10px;
        border-bottom-right-radius: 5%;
        border-bottom-left-radius: 5%;
        background-color: #2b2c2e;
    }

    .nav-open li {
        margin-bottom: 20px;
        display: block;
    }

    .nav-open li a {
        color: white;
    }

    .hamburger.is-active {
        opacity: 70%;
    }

    .hamburger.is-active div:first-child {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.is-active div:nth-child(2) {
        opacity: 0;
    }

    .hamburger.is-active div:last-child {
        transform: translateY(-8px) rotate(-45deg);
    }
}

h2 {
    margin: 20px 30%;
}

.DVICont {
    gap: 10px;
    padding: 2%;
    margin: auto;
    display: grid;
    max-width: 450px;
    border-radius: 10px;
    border: 1px solid white;
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(15px, auto);
}

select {
    width: 190px;
    font-size: 1.2rem;
    background-color: transparent;
    color: white;
    border-radius: 5px;
    position: relative;
    padding: 5px;
    background-color: transparent;
    border-radius: 10px;
    color: white;
}

select::after {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 0 0 10px 10px;
    border-color: transparent transparent white transparent;
    pointer-events: none;
}

option {
    background-color: #333;
    color: white;
    padding: 10px;
    border-bottom: 1px solid #444;
}

input {
    display: inline-block;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: transparent;
    color: white;
}

.DVICont>div {
    display: grid;
    grid-template-columns: auto 1fr;
}

.DVICont>div label {
    justify-self: center;
}

.DVICont>div input,
.DVICont>div select {
    justify-self: end;
}

.DVICont>div button {
    justify-self: end;
}

label {
    color: rgb(251, 251, 251);
    font-size: 20px;
    font-weight: 600;
}

button {
    border: none;
    border-radius: 10px;
    margin: 10px auto;
    padding: 6px;
    color: white;
    background-color: rgb(15, 15, 140);
    cursor: pointer;
    font-size: 20px;
}

button:hover {
    background-color: #110f0f;
}

.DLV {
    display: flex;
    gap: 55px;
}

.ForYes label:nth-child(3) {
    margin-left: 20px;
}

@media only screen and (max-width: 407px) {
    .DLV {
        display: flex;
        gap: 20px;
    }
}

#typeOFLock,
#PinIP,
#PassIP,
#PatIP {
    display: none;
    transition: display 0.5s;
}

#typeOFLock.visible,
#PinIP.visible,
#PassIP.visible,
#PatIP.visible {
    display: grid;
}

#message {
    display: none;
    color: black;
    margin: 20px auto;
    text-align: center;
    width: 500px;
    border-radius: 5px;
    border: 1px solid white;
    background-color: green;
    height: 35px;
    font-size: 1.5em;
}

#loading {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader {
    width: 48px;
    height: 48px;
    display: inline-block;
    position: relative;
    border: 3px solid;
    border-color: #de3500 #0000 #fff #0000;
    border-radius: 50%;
    box-sizing: border-box;
    animation: 1s rotate linear infinite;
}

.loader:before,
.loader:after {
    content: '';
    top: 0;
    left: 0;
    position: absolute;
    border: 10px solid transparent;
    border-bottom-color: #fff;
    transform: translate(-10px, 19px) rotate(-35deg);
}

.loader:after {
    border-color: #de3500 #0000 #0000 #0000;
    transform: translate(32px, 3px) rotate(-35deg);
}

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

#content {
    display: none;
}