@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;400&family=Source+Code+Pro:ital,wght@0,200;0,400;0,700;1,500&display=swap');

*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
    all: unset;
    display: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Reapply the pointer cursor for anchor tags */
a, button {
    cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol, ul, menu {
    list-style: none;
}

/* For images to not be able to exceed their container */
img {
    max-width: 100%;
}

/* removes spacing between cells in tables */
table {
    border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input, textarea {
    -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
    white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
    -webkit-appearance: revert;
    appearance: revert;
}

/* reset default text opacity of input placeholder */
::placeholder {
    color: unset;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
    display: none;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly.
   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element*/
:where([contenteditable]:not([contenteditable="false"])) {
    -moz-user-modify: read-write;
    -webkit-user-modify: read-write;
    overflow-wrap: break-word;
    -webkit-line-break: after-white-space;
    -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable="true"]) {
    -webkit-user-drag: element;
}

body {
    font-family: 'Source Code Pro';
    font-weight: 200;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f1f1f1;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: url('../images/bg-2.jpg');
    background-position: no-repeat;
    background-size: cover;
    animation: backgroundAnimation 60s infinite;
}
.profile-card {
    box-shadow: 0 20px 200px -20px rgba(0, 0, 0, 1);
    border-radius: 10px;
    position: relative;
    padding: 3rem 5rem;
    display: flex;
    flex-direction: column;
    gap: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.profile-card__img img {
    background-color: rgba(255,255,255,0.6);
    margin: 0 auto;
    width: 200px;
    height: 200px;
    padding: 15px;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0px 10px 60px -10px rgba(0,0,0,1);
}

.profile-card__description {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px
}
.profile-card__description h1 {
    font-size: 30px;
    font-weight: 400;
    text-transform: uppercase;
}
.profile-card__description h2 {
    font-size: 20px
}

.profile-card__info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.button {
    margin: 30px auto 0;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 400;
    text-transform: uppercase;
    background: linear-gradient(45deg, #1da1f2, #0e71c8);
    cursor: pointer;
    color: #fff;
}

@keyframes backgroundAnimation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}