@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@500&display=swap');

html {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    text-align: center;
}
body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(imgs/background.png);
    background-repeat: no-repeat;
    background-size: cover;
}

main {
    background-color: rgb(255, 255, 255);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 10px 10px #6cada670;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

main:hover {
    transform: translate(10px, 10px);
    box-shadow: 0px 0px #6cada670;
}

main div {
    margin-bottom: 2rem;
    width: 30vw;
}

main .profile img {
    width: 40%;
    border-radius: 50%;
    box-shadow: 10px 6px #6cada670;
    transition: all 0.5s ease;
}

main .profile img:hover {
    cursor: pointer;
    transform: translate(10px, 10px);
    box-shadow: 0px 0px #6cada670;
}

main .profile h1 {
    font-size: 2rem;
    font-weight: bolder;
}

a {
    text-decoration: none;
}

a .link {
    background-color: #ffc2c7;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 10px 10px #ffeda1;
    text-align: center;
    vertical-align: center;
}

a .link:hover {
    background-color: #ffeda1;
    box-shadow: 10px 10px #ffc2c7;
}

a .link:hover p {
    color: black;
}

a div img {
    width: 2rem;
}

a div p {
    display: inline;
    color: white;
    text-align: center;
    position: relative;
    top: -0.5rem;
}

a div:active {
    transform: translate(10px, 10px);
    box-shadow: 0px 0px #ffc2c7;
}

@media (max-width: 900px) {
    main {
        width: 80%;
        padding: 1.5rem;
        box-shadow: none;
    }

    main:hover {
        transform: none;
        box-shadow: none;
    }

    main .profile h1 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    main .profile img {
        width: 60%;
    }

    main .profile img:hover {
        transform: none;
        box-shadow: 10px 6px #6cada670;
    }

    main div {
        width: 70vw;
    }
}

@media (max-width: 400px) {
    main a div p span {
        display: none;
    }
}
