* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --background: white;
    --primary: #ff1ead;
    --secondary: #1effc3;
    --card-size: 300px;
}
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid #fff;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Canvas Background */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: #000;
}

#contactus {
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem;

    font-family: 'DM Serif Display', serif;
    text-rendering: optimizelegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#detail_contact_list {
    position: relative;
    width: calc(var(--card-size) * 1.586);
    height: var(--card-size);
    margin: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 22px 70px 4px rgba(0, 0, 0, 0.56), 0 0 0 1px rgba(0, 0, 0, 0.3);
    background-image: url(../media/images/card_background.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.4, 0.0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0.0, 0.2, 1);
}

#detail_contact_list:hover {
    transform: scale(1.1);
    box-shadow: 0 32px 80px 14px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(0, 0, 0, 0.3);
}

#social_media_yt_tutorial {
    display: flex;
    flex-direction: column;
    position: absolute;
    align-items: center;
    top: 13rem;
    left: 2.5rem;
    font-size: 1rem;
}

#social_media_yt_gaming {
    display: flex;
    flex-direction: column;
    position: absolute;
    align-items: center;
    top: 13rem;
    left: 7.5rem;
    font-size: 1rem;
}

#social_media_instagram {
    display: flex;
    flex-direction: column;
    position: absolute;
    align-items: center;
    top: 13rem;
    left: 12.5rem;
    font-size: 1rem;
}

#social_media_facebook {
    display: flex;
    flex-direction: column;
    position: absolute;
    align-items: center;
    top: 13rem;
    left: 17.5rem;
    font-size: 1rem;
}

.top-left {
    position: absolute;
    top: 4rem;
    left: 2rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-left p {
    margin: 0;
    /* Remove default margin */
}

.top-right {
    position: absolute;
    top: 6rem;
    left: 2rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-right p {
    margin: 0;
    /* Remove default margin */
}

.center {
    position: absolute;
    height: auto;
    width: 25%;
    top: 50%;
    left: 80%;
    transform: translate(-40%, -40%);
    text-align: center;
}

.center img {
    height: 100%;
    width: 100%;
    margin-bottom: 0rem;
}

.center p {
    font-size: 1rem;
    font-weight: bold;
    visibility: hidden;
}

.bottom-left {
    position: absolute;
    bottom: 8.5rem;
    left: 2rem;
    font-size: 1rem;
    max-width: 70%;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bottom-left p {
    margin: 0;
    /* Remove default margin */
}

.bottom-right {
    position: absolute;
    bottom: 6.5rem;
    left: 2rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bottom-right p {
    margin: 0;
    /* Remove default margin */
}

/* Make it responsive */
@media (max-width: 600px) {



    .top-right {
        right: 18.5rem;

    }

    .bottom-right {
        right: 13.5rem;

    }



}


.popup {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
}

.popup-content {
    background: white;
    padding: 10px;
    border-radius: 5px;
    color: black;
}

button {
    margin-top: 10px;
    padding: 5px 10px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

a {
    color: #6A0DAD;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    transition: color 0.3s ease-in-out;
    color: #1E88E5;
}

.title_sosical_media {
    font-size: smaller;
    cursor: pointer;
}