@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

@font-face {
    font-family: "Tahu";
    src: url(fonts/Tahu.ttf);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    user-select: none;
}

body {
    background: url("img/fond.jpg");
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

@media screen and (orientation: portrait) {
    body {
        height: 100%;
        background-repeat: no-repeat;
        background-size: 400%;
    }

    main {
        margin-top: 6em;
    }
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pdp {
    width: 150px;
    border-radius: 75px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

h1 {
    font-weight: normal;
    font-family: "Tahu", sans-serif;
    font-size: 4em;
    color: #fff;
    margin: 0 0 .4em 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

/* SOCIAL MEDIA */

.sm,
.links {
    display: flex;
    width: 80%;
    justify-content: space-between;
    margin-bottom: 1em;
}

.sm a {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    position: relative;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
    overflow: hidden;
    transition: transform .4s;
}

.sm a .fa-brands {
    color: #fff;
    font-size: 1.2em;
    position: relative;
    z-index: 2;
    transition: .3s;
}

.sm a::after {
    content: '';
    width: 100%;
    height: 100%;
    top: -60px;
    left: -35px;
    background: #fff;
    position: absolute;
    border-radius: 50%;
    transition: .5s;
}

.sm a:hover::after {
    top: -10px;
    left: -5px;
    width: 150%;
    height: 150%;
}

.sm a:active::after {
    background: #ffe0c3;
    ;
}

.sm a:hover .fa-brands {
    color: orange;
}

.sm a:active .fa-brands {
    color: rgb(221, 107, 0);
}

.sm a:hover {
    transform: translateY(-6px);
}

/* LINKS */

.links {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.links a {
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    border-radius: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.25);
    ;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
    width: 100%;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.links a p {
    color: #fff;
    position: relative;
    z-index: 2;
    transition: .4s;
}

.links a::after {
    content: '';
    position: absolute;
    width: 75px;
    height: 75px;
    top: -100px;
    left: -100px;
    background: #fff;
    border-radius: 50%;
    transition: .7s;
}

.links a:hover::after {
    top: -50px;
    left: -50px;
    width: 280px;
    height: 280px;
}

.links a:active::after {
    background: #ffe0c3;
}

.links a:hover p {
    color: orange;
}

.links a:active p {
    color: rgb(221, 107, 0);
}