
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: #000;
}
h1{
    margin: 0;
    font-size: 8vw;
    font-weight: 600;
    text-transform: uppercase;
    opacity: .7;
}
h2{
    font-size: 2rem;
    text-transform: uppercase;
    color: #000;
    opacity: .6;
}
.mail{
    text-decoration: none;
    color: rgb(185, 185, 185);
}
.mail:hover,
.mail:active{
    color: rgb(207, 207, 207);
}
.button{
    padding: 1rem 3rem;
    margin: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    border: .2rem solid rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 0.8);
}
.button:hover,
.button:active{
    border: .2rem solid rgba(255, 255, 255, 0.8);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
}
.btn-box{
    display: flex;
    justify-content: center;
}

.container{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    position: relative;
    z-index: 0;
}
.container::after{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background-image:url(img/background2.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    opacity: .7;
    z-index: -1;
}
.wrapper{
    padding: 2rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.box{
    width: max-content;
    padding: 1.5rem 1rem;
}
.box > .inner{
    color: #000;
    text-align: center;
}
.box > .inner > div{
    text-align: right;
    margin-right: .6rem;
}
.content{
    padding: 2.5rem 1rem 1rem 2.5rem;
    border: .2rem solid rgba(255, 255, 255, 0.4);
    width: 40%;
    font-size: 1.4rem;
    color: rgb(28, 28, 28);
    position: relative;
    z-index: 0;
    margin: 3rem 0;
}
.content::before{
    position:absolute;
    content:'';
    width: 100%;
    height: 100%;
    top: 1rem;
    left: 1rem;
    border: .2rem solid rgba(255, 255, 255, 0.4);
    opacity: .8;
    z-index: -1;
}
.content > p:first-of-type{
    margin-top: 0;
}

@media screen and (max-width: 1200px){
    .box > .inner > h1{
        font-size: 10vw;
    }
    h2{
        font-size: 3vw;
    }
    .content{
        width: 60%;
    }
}
@media screen and (max-width: 768px){
    h2{
        font-size: 5vw;
    }
    .content{
        width: 80%;
    }
}
@media screen and (max-width: 576px){
    .wrapper{
        padding: 2rem 0;
    }
    h2{
        font-size: 7vw;
    }
    .content{
        padding: 2rem;
    }
    .content::before{
        width: calc(100% - 2.4rem);
        height: calc(100% + 2rem);
        top: -1rem;
        left: 1rem;
    }
    .content::after{
        width: calc(100% - 2.4rem);
        height: 100%;
        top: 0;
        left: 1rem;
        border: .2rem solid rgba(0, 0, 0, 0.6);
        border-top: 0;
        border-bottom: 0;
    }
    .button{
        text-align: center;
    }
}