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

html {
    font-size: 62.5%;
}

body {
    background: linear-gradient(to right, rgba(255, 234, 140, 0.7), rgba(196, 228, 255, 0.7));
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 3rem;
    padding: 1rem;
    width: 100%;
}

body.blur::after {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.6);
}

header h1 {
    font-size: 4rem;
}

@media screen and (max-width: 700px) {
    header h1 {
        font-size: 3rem;
    }
}

@media screen and (max-width: 550px) {
    header h1 {
        font-size: 1.6rem;
    }
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    font-size: 1.6rem;
}

nav ul li {
    color: rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 219, 165, 0.6);
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: all 0.5s;
}

nav ul li::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    bottom: 0;
    left: 100%;
    z-index: -1;
    background-color: rgba(255, 219, 165, 1);
    border-radius: 1rem;
    transition: all 0.5s;
}

nav ul li:hover {
    color: rgba(0, 0, 0, 0.6);
}

nav ul li:hover::after {
    top: 0;
    right: 0;
    left: 0;
}

.input {
     background-color: #fff;
     padding: 0.7rem 2rem;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 2rem;
     border-radius: 2rem;
}

.input i {
    font-size: 1.6rem;
    color: rgba(0, 0, 0, 0.3);
}

.input input {
    border: none;
    outline: none;
    width: 90%;
}

@media screen and (max-width: 770px) {
    ul {
        display: none;
    }

    .input {
        width: 100%;
    }
}

.dynamic-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    flex-wrap: wrap;
    padding: 2rem 5%;
}

.dynamic-container span {
    width: 5rem;
    font-size: 5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.dynamic-container span:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 1rem rgba(0, 0, 0, 0.7));
}

.copied-div {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    min-width: 20rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    background-color: rgb(215, 236, 255);
    border-radius: 5rem;
    z-index: 3;
    padding: 2rem;
}

.emoji {
    font-size: 5rem;
}

.emoji-info {
    font-size: 1.6rem;
}

.close-btn {
    cursor: pointer;
    font-size: 2rem;
    position: absolute;
    top: 10%;
    right: 6%;
    width: 6%;
    border: none;
    outline: none;
    background-color: transparent;
    color: rgba(0, 0, 0, 0.5);
    border-radius: 0.6rem;
    transition: all 1s;
}

.close-btn:hover {
    background-color: rgb(248, 52, 52);
    color: #fff;
}