* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: block;
    background-color: black;
}

#card {
    position: absolute;
    overflow: auto;
    margin: auto;
    padding: 2%;
    color: white;
    top: 10%; 
    left: 50%;
    transform: translateX(-50%);
    max-width: 80%;
}

img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
}

#myimage{
    transition: filter 0.75s ease;
    filter: drop-shadow(16px 16px 20px white) grayscale(100%) sepia(10%);
}

#myimage:hover{
    filter: drop-shadow(16px 16px 20px white) grayscale(0%) sepia(0%);
}

.divimg,
.divbtn {
    text-align: center;
}

.textbutton,
.button {
    text-decoration: none;
    background: black;
    border: solid 1px white;
    color: white;
    padding: 12px 16px;
    font-size: 16px;
    cursor: pointer;
    display: inline-block;
    margin: 5px;
    transition: background-color 2s ease;
}

.button:hover {
    background: white;
    color: black;
    border: solid 1px black;
}

.textbutton:hover{
    background: white;
    color: black;
    border: solid 1px black;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: black;
}

@media screen and (max-width: 768px) {
    #card {
        padding: 1%;
    }
    
    img {
        width: 200px;
        height: 200px;
    }
}
