*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    font-family: "poppins";
    color: #222222;
}

.box-button{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-button a{
    text-decoration: none;
    background: #1c1c1c;
    color: #fff;
    border: none;
    padding:8px 16px;
    font-weight: 600;
    font-size: 1.5rem;
    border-radius: 5px;
    cursor: pointer;

}

.modal{
    visibility: hidden;
    display: block;
    opacity: 0;
    position: fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 77, 77, .7);
    transition: all .4s;
}

.modal.active{
    visibility: visible;
    opacity: 1;
}

.modal.contentt{
    padding: 20px;
    position: relative;
    width: 500px !important;
    height: auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 5px rgb(0 0 0 / .15);
}

.modal-content h2{
    margin-top: 20px;
}

.modal-content p{
    margin: 20px 0;
}

.modal-img{
    width: 500px;
}

@media only screen and (max-width:767px) {
    .modal-img{
    width: 100%;
}
.modal-img img{
    width: 90% !important;
    height: 90% !important;
     margin-left:20px !important;
    object-fit: contain;
    border-radius: 10px;
    
}
}

.modal-img img{
    width:70%;
    height: 100%;
    margin-left:50px;
    object-fit: contain;
    border-radius: 10px;
    z-index:2;
    position:relative;
}

.close-btn{
    position: absolute;
    top: 146px;
    right: 452px;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    background: rgba(0 0 0 / .1);
    display: flex;
    justify-content: center;
    align-items: center;
}

@media only screen and (max-width:767px) {
    .close-btn{
            top: 168px;
        right: 32px;
}
.close-btn a{
        margin-right: 19px;
}
}
.close-btn a{
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
    
}

.close-btn a:hover{
    color: orangered;
}

.modal:target{
    visibility: visible;
    opacity: 1;
}
