nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 70px;
    background: rgb(41, 50, 60);
    background: linear-gradient(135deg,
            rgba(41, 50, 60, 1) 0%,
            rgba(60, 72, 85, 1) 50%,
            rgba(85, 98, 112, 1) 100%);
    color: #f1c40f;
    size: 50px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

nav ul {
    display: flex;
    justify-content: center;
}

nav ul li {
    list-style: none;
    margin: 0 23px;
}

.left {
    font-family: "Satisfy", "Oswald", sans-serif;
    font-size: 2.5rem;
}

nav ul li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

nav ul li a:hover {
    text-decoration: none;
    color: rgb(14, 11, 11);
    font-size: 1.01rem;
}

.contain-link{
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.links{
    display: flex;
    flex-direction: row;
    gap: 10px;
    
}

.links .logo-item:hover{
    transform: scale(1.2);
}

.theme-switch {
    position: relative;
    display: flex;
    justify-content: center;
    direction: rtl;
}

#theme-checkbox {
    display: none;
}

#theme-checkbox+label {
    font-size: 1.5rem;
    height: 1em;
    width: 2.5em;
    border-radius: 0.25em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    background-color: #cecece;
    position: relative;
}

#theme-checkbox:checked+label {
    background-color: #3a3a3a;
}

#theme-checkbox+label:active {
    transform: scale(0.85);
    transition: transform 0.2s;
}

#theme-checkbox+label div {
    width: 0.8em;
    height: 0.8em;
    border-radius: inherit;
    position: absolute;
    top: 0.1em;
    left: 0.1em;
    z-index: 10;
    transition: 0.5s cubic-bezier(1, 0.33, 0.11, 1.34);
    background-color: #f2f2f2;
}

#theme-checkbox:checked+label div {
    left: 1.6em;
    background-color: #212121;
}

#theme-checkbox+label span {
    display: flex;
}

#theme-checkbox+label svg {
    display: inline-block;
    height: 1em;
    width: 1em;
    padding: 0.15em;
    box-sizing: border-box;
}

#theme-checkbox+label span:first-of-type {
    color: #3a3a3a;
}

#theme-checkbox+label span:last-of-type {
    color: #cecece;
}


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


input[type="checkbox"] {
    display: none;
}


label {
    cursor: pointer;
    display: flex;
    align-items: center;
}

label span {
    margin-left: 10px;
}

input[type="checkbox"]:checked~label~body,
input[type="checkbox"]:checked~label~body * {
    background: linear-gradient(to right, black, #8f00ff);
    color: white;
}