* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background: #222;
    color: white;
}

::selection {
    background: rgb(107, 0, 160);
    color: rgb(0, 183, 255);
    outline: 2px solid red;
}

h1 {
    text-align: center;
    margin: 20px 0;
    width: 100%;
    font-family: sans-serif;
    font-size: 40px;
    text-shadow: 2px 0 rgb(255, 0, 0), 0 1.3px rgb(61, 51, 0),
        0 -1.3px rgb(61, 51, 0), 0 0 10px rgba(0, 0, 0, 0.301);
}

.title {
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 0 4px 4px rgba(0, 0, 0, 0.05);
}

h4 {
    font-size: 20px;
    border: 3px solid;
    border-image: linear-gradient(to right, rgb(0, 112, 156), rgb(107, 0, 160))
        2;
    padding: 10px;
    background: linear-gradient(to right, rgb(0, 183, 255), rgb(170, 0, 255));
    box-shadow: inset 0 0 5px 5px rgba(0, 0, 0, 0.1),
        0 0 3px 3px rgba(0, 0, 0, 0.1);
}
h4 div {
    background: linear-gradient(to left, rgb(137, 0, 0), rgb(4, 0, 127));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.adv-css {
    border: 1px solid rgb(0, 0, 34);
    width: min(95%, 1000px);
    margin: 10px auto;
    background-color: rgb(0, 0, 86);
    border-radius: 10px;
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.1),
        inset 0 0 5px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    padding: 30px 10px;
}

.adv-css .adv-section {
    border: 1px solid rgb(0, 0, 166);
    background-color: rgb(34, 34, 153);
    border-radius: 3px;
    width: 90%;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.267);
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.adv-css .adv-section .container1 {
    width: 500px;
    height: 500px;
    border: 1px solid black;
    border-radius: 5px;
    background: orange;
    clip-path: circle(45% at 0 0);
    transition: clip-path 0.8s, background-color 0.8s;
}
.adv-css .adv-section .container1:hover {
    clip-path: circle(100%);
    background: rgb(255, 185, 55);
}

.adv-css .adv-section .container2 {
    width: 500px;
    height: 500px;
    border: 1px solid black;
    border-radius: 5px;
    background: rgb(183, 0, 255);
    clip-path: polygon(
        16% 13%,
        30% 28%,
        55% 30%,
        70% 13%,
        82% 14%,
        83% 26%,
        87% 42%,
        88% 59%,
        79% 83%,
        65% 64%,
        58% 82%,
        49% 53%,
        25% 82%,
        8% 70%,
        10% 46%,
        25% 44%,
        6% 26%
    );

    transition: clip-path 0.8s, background-color 0.8s;
}
.adv-css .adv-section .container2:hover {
    clip-path: polygon(
        37% 35%,
        24% 12%,
        50% 30%,
        67% 15%,
        82% 30%,
        67% 42%,
        84% 56%,
        93% 84%,
        75% 64%,
        59% 52%,
        70% 84%,
        41% 85%,
        12% 92%,
        41% 72%,
        13% 59%,
        11% 38%,
        36% 45%
    );
    background: rgb(135, 255, 55);
}

.adv-css .adv-section .container3 {
    width: 600px;
    height: 300px;
    border: 1px solid rgba(0, 0, 0, 0.186);
    border-radius: 5px;
    transition: perspective 0.8s, background-color 0.8s;
    perspective: 5000px;
    position: relative;
}
.adv-css .adv-section .container3:hover {
    perspective: 300px;
}

.adv-css .adv-section .container3 .obj-3d-n1 {
    position: absolute;
    top: 10px;
    left: 200px;
    width: 200px;
    height: 200px;
    background: linear-gradient(rgb(152, 169, 0), rgb(169, 0, 0));
    transform: rotateX(45deg);
    z-index: 3;
    border: 2px solid black;
}

.adv-css .adv-section .container3 .obj-3d-n2 {
    position: absolute;
    top: 10px;
    left: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(rgb(152, 169, 0), rgb(169, 0, 0));
    transform: rotateY(45deg);
    z-index: 2;
    border: 2px solid black;
}

.adv-css .adv-section .container3 .obj-3d-n3 {
    position: absolute;
    top: 10px;
    left: 400px;
    width: 200px;
    height: 200px;
    background: linear-gradient(rgb(152, 169, 0), rgb(169, 0, 0));
    transform: rotateY(-45deg);
    z-index: 2;
    border: 2px solid black;
}

.dropdown-wrapper {
    border: 1px solid rgb(24, 0, 205);
    width: 300px;
    padding: 5px;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s;
    background-color: rgb(0, 0, 70);
    border-radius: 4px;
}

.dropdown-wrapper:hover {
    grid-template-rows: 1fr;
}

.dropdown-content {
    overflow: hidden;
    font-size: 16px;
    font-family: sans-serif;
    display: flex;
    flex-flow: column nowrap;
    gap: 5px;
}

.dropdown-content div {
    background-color: rgb(0, 0, 108);
    padding: 3px 0 3px 6px;
    border-radius: 3px;
    transition: background-color 0.15s, transform 0.15s;
    cursor: pointer;
}

.dropdown-content div:hover {
    background-color: rgb(0, 0, 131);
    transform: scale(1.005);
}

.dropdown-section {
    height: 330px;
    justify-content: flex-start !important;
}
