@media (max-width: 768px) {
    body {
        background-image: url('cover/background.JPG')!important;
        ;
    }
}



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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    padding: 20px;
}


body {
    background-image: url('cover/background.JPG'); 
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

.container {
    text-align: center;
    height: auto;
    min-height: 520px;
    width:100%;
    max-width: 400px;
    margin: 85px auto 0;
    margin-top: 55px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.9);
}


.profile-pic {
    margin-top: 80px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 0px;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.3);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}


h1 {
    font-size: 2.8rem;
    margin-bottom: 2.3rem;
    color: #484747;
}

h2{
    font-size: 1.8em;
    margin-bottom: 0.5rem;
    color:grey;
}

h3{
    font-size: 1.8em;
    margin-bottom: 0.3rem;
    color: rgb(255, 255, 255);
}

p{
    font-size: 1em;
    margin-bottom:0rem;
    text-align:inherit;
    color:#444;
}

.interests {
    color: #444;
    margin-bottom: 2rem;
    opacity: 0.9;
}


.contact-title {
    font-weight: 500;
    margin-bottom: 0.8rem;
    color: #333;
}

.contact-section{
    margin-top: 2.5rem;
    margin-left: 5.3rem;
    display: flex;
    justify-content: center;
    width: 150px;
    height: 50px;
    background-color: #669ac1;
    position:center;
    border-radius: 30px;
    padding:0 20px;
}



.enter-box {
    display: inline-flex;         
    justify-content: center;
    align-items: center;
    width: 150px;                
    height: 50px;                
    background-color: #669ac1;  
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;  
    transform-origin: center;  
    margin:0 auto;
    margin-left: 5px;
    position: relative; 
}



.enter-box:active {
    transform: scale(0.95);
    overflow:visible;
}

.enter-box h3{
    display:inline-block;
    transition: transform 0.3s ease;
}

.enter-box:hover h3 {
    transform: scale(1.2);
}

.enter-box:hover h3::after {
    margin-left: 20px;
}
.enter-box.loading::after {
    content: "";
    display: inline-block;
    margin-left: 10px;
    width: 12px;
    height: 12px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.button-wrapper{
    width:100%;
    max-width: 300px;
    display:flex;
    justify-content: center;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}