.modalbox{
    display: block;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}
.modal-content {
    background-color: #459bef;
    position: absolute;
    top: 100px;
    left: 25%;
    width: 50%;
    height:400px;
    z-index: 100;
}
/*.modal_div{
    width: 100%;
    height:50px;
    padding-top: 30px;
    background-color: #459bef;
}*/
.close_btn{
    cursor: pointer;
    position: absolute;
    top: -10px;
    right: 0px;
    height: 30px;
    width: 30px;
    text-align: center;
    background-color: #eee;
    color: #000;
    border-radius: 50%;
    /*border: 2px solid #454545;*/
    z-index: 100;
}
.webhead{
    position: relative;
    top: 10px;
    left: 30%;
    font-size: 35px;
    font-weight: bold;
    color: white;
}
.webcontent{
    color: white;
    text-align: center;
    font-size: 20px;
    font-weight: lighter;
}
.register-button{
    position: relative;
    top: 10px;
    left: 35%;    
}
@media screen and (max-width: 800px){
    .modal-content{
        position: absolute;
        top: 120px;
        left: 0%;
        width: 100%;
        height: 300px;
    }
    .modal-content img {
        width: 100%;
        /*height: 30%;*/
    }
    .webhead{
        position: relative;
        top: 10px;
        left: 5%;
        font-size: 20px;
    }
    .webcontent{
        text-align: center;
        font-size: 15px;
    }
    .register-button{
            position: relative;
            top: 20px;
            left: 15%;
    }
    .close_btn{
        right: 20px;
    }
}
@-webkit-keyframes swinging{
    0%{-webkit-transform: rotate(10deg);}
    50%{-webkit-transform: rotate(-5deg)}
    100%{-webkit-transform: rotate(0deg);}
}
 
@keyframes swinging{
    0%{transform: rotate(10deg);}
    50%{transform: rotate(-5deg)}
    100%{transform: rotate(0deg);}
}
 
.swingimage{
    -webkit-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-animation: swinging 2s ease-in-out forwards;
    animation: swinging 2s ease-in-out forwards;
}