* {
    padding: 0;
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
}

main{
    display: grid;
    grid-template-columns: 50% 50%;
    max-height: 100vh;
}

div{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
    justify-content: center;
}
img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h2{
    font-weight: 500;
    font-style: italic;
    padding-bottom: 10px;
}

p{
    width: 75%;
    color: gray;
    line-height: 1.3;
    padding: 10px;
}

.btn-wrapper{
    display: flex;
    justify-content: center;
    gap: 30%;
    overflow: hidden;
}

button{
    background-color: #272727;
    color: white;
    border-radius: 10%;
}

a{
    background-color: #272727;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    width: auto;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    text-align: center;
}

a::before{
    content: " ";
    background: linear-gradient(#d600ba,#6842ff,#007e94);
    position: absolute;
    top: -1px;
    left: -1px;
    z-index: -1;
    background-size: 600%;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    filter: blur(4px);
    border-radius: 25px;
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

a:hover::before{
    opacity: 1;
}

span{
    font-weight: 500;
}

@media (max-width: 1100px){
    main{
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 1fr 1fr;
        min-height: 100vh;
    }
    div{
        padding-top: 10px;
        order: 1;
    }
    .btn-wrapper{
        flex-direction: column;
        gap: 50%;
    }
    a{
        width: 40%;
        margin: 5px;
        align-self: center;
    }
}

@media (min-width: 1100px){
    main{
        display: grid;
        grid-template-columns: 50% 50%;
        min-height: 100vh;
    }
}