* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Russo One', sans-serif;
    background-image: url('media/starrybg.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: white;
    min-height: 100vh;
    text-align: center;
}

.hello {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    text-align: center;
    margin-top: 20px;
}

.profile-pic {
    display: block;
    margin: 20px auto;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid white;
}

p {
    font-size: medium;
    margin: 20px auto;
}

.email-link {
    color: rgb(40, 129, 255);
    text-decoration: none;
    font-weight: bold;
}

.poof {
    display: none;
}

.magic {
    color: rgb(27, 88, 255);
}

.gamer {
    color: rgb(149, 0, 255);
}

.portfoliopage,
.skillspage,
.projectspage {
    background-image: url('/media/starrybg.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: white;
    min-height: 100vh;
    padding: 20px;
    font-family: 'Russo One', sans-serif;
    text-align: center;
}

.servers,
.skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px;
}

.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px;
    align-items: flex-start;
}

.server-card {
    background-color: rgb(47, 47, 47);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 7px;
    color: #ffffff;
    width: 300px;
    height: 250px;
    border: #0091ff 2px solid;
}

.skill-card {
    background-color: rgb(47, 47, 47);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    width: 300px;
    min-height: 250px;
    border: #ffffff 5px solid;
    padding: 10px;
}

.project-card {
    background-color: rgb(47, 47, 47);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    color: #ffffff;
    width: 300px;
    height: auto;
    border: #0091ff 5px solid;
}

#tickets {
    background-image: url("/media/ticketsbg.png");
}

#ticketsprojectlink {
    color: #ff0066;
    -webkit-text-stroke: 0.1px rgb(255, 255, 255);
}


#linkr {
    width: 400px;
    background-image: url("/media/linkrbg.jpg");
    background-position: center;
}

#cybershield {
    width: 400px;
    background-image: url("/media/cybershieldbg.png");
}

#dscinv {
    width: 350px;
    background-image: url("/media/dscinvbg.png");
}

#restorio {
    background-image: url("/media/restoriobg.jpeg");
    background-position: 15%;
}

#thesingularity {
    background-image: url("/media/tsbg.jpg");
    background-size: cover;
    background-position: center;
}

#nebuladocs {
    background-image: url("/media/nebulabg.png");
    background-size: cover;
    background-position: center;
}

.server-card img {
    width: 100px;
    height: 100px;
    border-radius: 25px;
    object-fit: cover;
    margin: auto;
}

.skill-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    margin: 10px auto 0;
}

.project-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    align-self: center;
    border-radius: 20px;
}

.server-card h3 {
    font-size: 24px;
    font-family: 'Anta', sans-serif;
    margin: 0;
}

.skill-card p {
    margin: 5px 0;
}

.project-card h3 {
    margin: 15px 0 5px 0;
}

.project-card p {
    margin: 0;
}

.servers a {
    color: #ffffff;
    text-decoration: none;
}

.project-link {
    margin-top: 15px;
    color: #bbe6ff;
    text-decoration: none;
    font-weight: bold;
}

hr {
    border: 1px solid #ffffffb6;
    margin: 20px 0;
}

.portfoliopage h1,
.projectspage h1 {
    font-size: 70px;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

#intro {
    font-size: 20px;
    margin-bottom: 30px;
}

.mastery {
    font-weight: bold;
    color: #ffd700;
    text-decoration: #ffffff wavy underline;
}

.learning {
    font-size: 40px;
    margin-top: 30px;
    margin-bottom: 30px;
    color: #87ceeb;
    font-weight: bold;
    font-family: 'Jockey One', sans-serif;
}

.back-button {
    margin: 20px;
}

.back-button a {
    color: rgb(141, 18, 255) !important;
    text-decoration: none;
    font-size: inherit;
    margin: 0;
    font-weight: bold;
}

#htmlcard {
    background-image: url("/media/bg1.jpeg");
}

#csscard {
    background-image: url("/media/bg2.jpeg");
}

#bgcard {
    background-image: url("/media/bg3.jpeg");
}

#apicard {
    background-image: url("/media/bg4.jpeg");
}

#pythoncard {
    background-image: url("/media/bg5.jpeg");
}

#projectsback {
    font-size: 25px !important;
}

.lily {
    font-size: 12px;
    color: #ff69b4;
    font-weight: bold;
    margin-top: 30px;
    font-family: Verdana, Geneva, Tahoma, sans-serif
}