@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@200;300;400;500;600;700&display=swap');

body {
    margin: 0;
    padding: 0;
    overflow: hidden;

}

main {
    position: relative;
    margin: 0;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../medias/background.jpeg');
    background-attachment: fixed;
    background-position: center calc(20% - 10px);
    background-repeat: no-repeat;
    background-size: calc(100vw * 1.05) calc(100vh * 1.3);
    filter: brightness(0.8);
    z-index: -1;
}

h1 {
    font-size: 26px;
    width: 300px;
    font-weight: 600;
    color: white;
    font-family: 'Mitr';
    margin: 0;
    margin-left: 30px;
    padding: 0;
    padding-top: 20px;
    line-height: 30px;

}

#circle {
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: white;
    border-radius: 50%;
    filter: blur(5px);
    mix-blend-mode: difference;
    border: 2px solid white;
    box-shadow: 0 0 50px white;
}

#profile-text {
    margin: 0;
    margin-left: 30px;
    font-size: 16px;
    padding: 0;
    color: white;
    font-family: 'Mitr';
    font-weight: 200;
    align-self: self-start;
    width: 300px;
    line-height: 20px;
}

a {
    position: absolute;
    left: 43%;
    margin-top: 20%;
    display: inline-block;
    padding: 18px 34px;
    border-radius: 25px;
    color: #fff;
    text-transform: c;
    letter-spacing: 4px;
    text-decoration: none;
    font-size: 32px;
    font-family: 'Mitr';
    font-weight: 600;
    overflow: hidden;
    text-transform: uppercase;
    transition: 0.2s;
    background-color: transparent;
    box-shadow: 0 0 50px rgba(0, 0, 0, 1);
}



a:hover {
    color: #fff;
    background: rgb(225, 34, 232, 1);
    box-shadow: 0 0 10px rgba(225, 34, 232, 1),
        0 0 40px rgba(225, 34, 232, 1),
        0 0 80px rgba(225, 34, 232, 1);
    transition-delay: 1s;
    font-size: 34px;
    font-weight: bolder;

}


a span {
    position: absolute;
    display: block;
    border-radius: 10px;
}


a span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, #fff);
}


a:hover span:nth-child(1) {
    left: 100%;
    transition: 1s;
}

a span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #fff);
}

a:hover span:nth-child(2) {
    top: 100%;
    transition: 1s;
    transition-delay: 0.25s;
}

a span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 5px;
    background: linear-gradient(270deg, transparent, #fff);
}

a:hover span:nth-child(3) {
    right: 100%;
    transition: 1s;
    transition-delay: 0.5s;
}


a span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #fff);
}

a:hover span:nth-child(4) {
    bottom: 100%;
    transition: 1s;
    transition-delay: 0.75s;
}


@media only screen and (max-width: 1250px) {

    main {
        width: 100vw;
        height: 100vh;
    }

    .background-image {
        background-position: center calc(20% - 10px);
        background-size: calc(100vw * 1.5) calc(100vh * 1.3);
        filter: brightness(.6);
    }


    h1 {
        font-size: 12pt;
        margin: auto;
        padding-top: 15vh;
        line-height: 30px;
        text-align: center;
    }

    #circle {
        width: 80px;
        height: 80px;
    }

    #profile-text {
        margin: auto;
        font-size: 10pt;
        text-align: center;
        width: 75%;
    }

    a {
        position: absolute;
        left: 50vw;
        margin-top: 40vh;
        display: inline-block;
        padding: 18px 34px;
        border-radius: 25px;
        color: #fff;
        text-transform: c;
        letter-spacing: 4px;
        text-decoration: none;
        font-size: 14pt;

    }
    a:hover {
        font-size: 15pt;
    }

}


@media only screen and (max-width: 850px) {

    main {
        width: 100vw;
        height: 100vh;
    }

    .background-image {
        background-position: center calc(20% - 10px);
        background-size: calc(100vw * 1.5) calc(100vh * 1.3);
        filter: brightness(.6);
    }


    h1 {
        font-size: 12pt;
        margin: auto;
        padding-top: 15vh;
        line-height: 30px;
        text-align: center;
    }

    #circle {
        width: 80px;
        height: 80px;
    }

    #profile-text {
        margin: auto;
        font-size: 10pt;
        text-align: center;
        width: 75%;
    }

    a {
        position: absolute;
        left: 50vw;
        margin-top: 40vh;
        display: inline-block;
        padding: 18px 34px;
        border-radius: 25px;
        color: #fff;
        text-transform: c;
        letter-spacing: 4px;
        text-decoration: none;
        font-size: 14pt;

    }
    a:hover {
        font-size: 15pt;
    }


}



@media only screen and (max-width: 450px){

    main {
        width: 100vw;
        height: 100vh;
    }

    .background-image {
        background-position: center calc(20% - 10px);
        background-size: calc(100vw * 1.5) calc(100vh * 1.3);
        filter: brightness(.6);
    }


    h1 {
        font-size: 12pt;
        margin: auto;
        padding-top: 15vh;
        line-height: 30px;
        text-align: center;
    }

    #circle {
        width: 80px;
        height: 80px;
    }

    #profile-text {
        margin: auto;
        font-size: 10pt;
        text-align: center;
        width: 75%;
    }

    a {
        position: absolute;
        left: 20vw;
        margin-top: 50vh;
        display: inline-block;
        padding: 18px 34px;
        border-radius: 25px;
        color: #fff;
        text-transform: c;
        letter-spacing: 4px;
        text-decoration: none;
        font-size: 14pt;

    }
    a:hover {
        font-size: 15pt;
    }


}

@media only screen and (max-width: 360px) {

    main {
        width: 100vw;
        height: 100vh;
    }

    .background-image {
        background-position: center calc(20% - 10px);
        background-size: calc(100vw * 1.5) calc(100vh * 1.3);
        filter: brightness(.6);
    }


    h1 {
        font-size: 12pt;
        margin: auto;
        padding-top: 15vh;
        line-height: 30px;
        text-align: center;
    }

    #circle {
        width: 80px;
        height: 80px;
    }

    #profile-text {
        margin: auto;
        font-size: 10pt;
        text-align: center;
        width: 75%;
    }

    a {
        position: absolute;
        left: 20vw;
        margin-top: 40vh;
        display: inline-block;
        padding: 18px 34px;
        border-radius: 25px;
        color: #fff;
        text-transform: c;
        letter-spacing: 4px;
        text-decoration: none;
        font-size: 14pt;

    }
    a:hover {
        font-size: 15pt;
    }


}