
.div1{
     position: relative;
     background-color: #0056B3;
     width: 100%;
     height: 400px;
     border-radius: 25px;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
}
.div2{
    width: 40%;
    height: 80%;
    display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
}
.div2 h1{
    font-size: 2.40em;
    font-weight: 700;
    color: white;
    margin: 0;

}
.div2 p{
    font-size: 1.6em;
    font-weight: 400;
    color: rgb(199, 192, 192);
    text-align: center;
}

.div2 a{
    font-size: 1.5em;
    font-weight: 500;
    color: rgb(0, 0, 0);
    border: rgb(225, 157, 11) solid 1px;
    width: 100%;
    height: 30%;
    background-color: rgb(246, 181, 42);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 15px;
     transition: transform 0.5s ease;
}

.div2 a:hover{
     transform: translateY(-10px);
}

@media(max-width:1240px){
  .div2{
    width: 90%;
    height: 80%;
    display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     text-align: center;
}

.div2 p{
    margin-bottom: 20px;
}

}