@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300..600;1,14..32,100..900&display=swap');

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

button {
    cursor: pointer;
    text-decoration: none;
    border: none;
}

body {
    font-family: Inter;
    background: #c7e5e6;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn {
    background-color: #363d4e;
    padding: 16px 32px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: background-color 0.3s ;
}

.btn:hover {
   background-color:  #14171d 
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.5);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 300ms linear 300ms;
}

.popup.open {
    opacity: 1;
    visibility: visible;
}

.popup__content {
    background: #fff;
    padding: 70px 100px;
    width: 500px;
    position: relative;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.popup__title {
    font-weight: 600;
    color: #86847c;
    font-size: 30px;
    margin-bottom: 16px;
}

.popup__text {
    color: #474544;
    font-weight: 300;
    max-width: 310px;
}

.popup__close {
    position: absolute;
    top: -27px;
    right: -26px;
    background: #363d4e;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1ab8db;
    font-size: 35px;
    cursor: pointer;
    transition: transform 600ms;
}

.popup__close span, span::before, span::after {
    background: #fff;
    content: '';
    cursor: pointer;
    display: block;
    height: 2px;
    position: absolute;
    width: 20px;
}

.popup__close span:first-child {
    background: none;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
    position: absolute;
}

.popup__close span::before {
    transform: rotate(45deg);
}

.popup__close span::after {
    transform: rotate(-45deg) translateY(-2px);
    top: 2px;
}