* {
    box-sizing: border-box;
}
/*11111*/
.open-popup {
    display: inline-block;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
}
.popup__bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s all;
    z-index:2;
}
.popup__bg.active {
    opacity: 1;
    pointer-events: all;
    transition: 0.5s all;
}
.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #fff;
    width: 400px;
    padding: 25px;
    transition: 0.5s all;
}
@media only screen and (max-width: 500px) {
    .popup {
        width: 100vw;
        padding: 10px;
    }
}
.popup.active {
    transform: translate(-50%, -50%) scale(1);
    transition: 0.5s all;
}
.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
/*22222*/
.open-popup2 {
    display: inline-block;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
}
.popup__bg2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s all;
    z-index:3;
}
.popup__bg2.active {
    opacity: 1;
    pointer-events: all;
    transition: 0.5s all;
}
.popup2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #fff;
    width: 400px;
    padding: 25px;
    transition: 0.5s all;
}
@media only screen and (max-width: 500px) {
    .popup2 {
        width: 100vw;
        padding: 10px;
    }
}
.popup2.active {
    transform: translate(-50%, -50%) scale(1);
    transition: 0.5s all;
}
.close-popup2 {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
/*33333*/
.open-popup3 {
    display: inline-block;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
}
.popup__bg3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s all;
    z-index:4;
}
.popup__bg3.active {
    opacity: 1;
    pointer-events: all;
    transition: 0.5s all;
}
.popup3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #fff;
    width: 400px;
    padding: 25px;
    transition: 0.5s all;
}
@media only screen and (max-width: 500px) {
    .popup3 {
        width: 100vw;
        padding: 10px;
    }
}
.popup3.active {
    transform: translate(-50%, -50%) scale(1);
    transition: 0.5s all;
}
.close-popup3 {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
/*44444*/
.open-popup4 {
    display: inline-block;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
}
.popup__bg4 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s all;
    z-index:3;
}
.popup__bg4.active {
    opacity: 1;
    pointer-events: all;
    transition: 0.5s all;
}
.popup4 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #fff;
    width: 400px;
    padding: 25px;
    transition: 0.5s all;
}
@media only screen and (max-width: 500px) {
    .popup4 {
        width: 100vw;
        padding: 10px;
    }
}
.popup4.active {
    transform: translate(-50%, -50%) scale(1);
    transition: 0.5s all;
}
.close-popup4 {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
/*55555*/