.top{
    background-color: #000;
    background-image: url(../img/exm.webp);
    background-size: 100vw 150vh;
    background-repeat: no-repeat;
    background-position: left -20vh;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
}

.top .overlay{
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 100px 20px 150px rgba(0, 0, 0, 0.9);
}

.top .title{
    color: #fff;
    font-size: 1.3rem;
    text-align: center;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
    position: relative;
    z-index: 1;
    padding: 0px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
}

.top img{
    width: 350px;
    height: auto;
}

.top .title a{
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border: 1px solid #aaa;
    width: fit-content;
    text-transform: capitalize;
    font-size: 1rem;
}.top .title a:hover{
    background-color: #fff;
    color: #000;
}

.top .top-content{
    align-self: center;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
    padding: 0px 0px;
    width: 80%;
}

.top .top-content h1{
    font-size: 5em;
    margin: 20px;
    text-shadow: 0px 0px 5px rgba(254, 152, 0, 0.8);
}

.top .top-content p{
    font-size: 1.5em;
    margin: 0px;
    /* background-color: rgba(0, 0, 0, 0.2); */
    border-top:2px solid #fff;
    text-shadow: 0px 0px 5px rgba(254, 152, 0, 0.8);
    padding: 20px 40px;
}

@media screen and (max-width: 1023px){
    .top .top-content h1{
        font-size: 1.8em;
    }
    
    .top .top-content p {
        font-size: 0.8em;
        padding: 20px 20px;
    }
}