* {
    margin: 5px;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}

body {
    min-height: 200vh;
}

.body--fixed {
    overflow-y: hidden;
}

.btn-open {
    width: 300px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 12px;
    background-color: rgb(2, 245, 95);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: #000000c1;
}

.modal--open {
    display: flex;
}

.modal__window {
    position: relative;
    width: 40vw;
    min-height: 30vh;
    padding: 50px 30px;
    background-color: #ffffff;
    border-radius: 12px;
    animation: slide .3s ease-out;
}

@keyframes slide {
    0% { transform: translateY(-50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.modal__close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    font-size: 20px;
    font-weight: 700;
    background: none;
    border: none;
    cursor: pointer;
}