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

html {
    scroll-snap-type: y;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(95deg, #6C3BAA 40%, #022ba6 100%);
    flex-direction: column;
    overflow-y: scroll;
    /*overflow: hidden;*/
    padding: 0;
    display: flex;
}

body::-webkit-scrollbar {
    display: none;
}

section {
    min-height: 100vh;
    scroll-snap-align: start;
}

#home-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-bottom: 5vh;
}

.container {
    max-width: 70vw;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
    gap: 1vw;
}

.card {
    background: white;
    border-radius: 1vh;
    min-height: 25vh;
    max-height: 40vh;
    width: 100%;
    padding: 2.5vh;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.card h2 {
    color: #333;
    margin-bottom: 1vh;
    font-size: 1.5vw;
    background: linear-gradient(95deg, #6C3BAA 40%, #022ba6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card p {
    color: #666;
    line-height: 1.6;
    font-size: 1vw;
}

#title_h {
    top: 0; /* Breaks the entire site without this */
    position: absolute;
    padding: 4vh;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 5vw;
    font-family: monospace;
}

#title {
    position: relative;
    padding: 4vh;
    text-align: center;
    color: white;
    font-size: 5vw;
    font-family: monospace;
}

.cursor {
    color: white;
    font-weight: 1;
    animation: blink 1s step-start infinite;
}

.cursor.typing {
    animation: none;
    opacity: 1;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.quote-box {
    position: absolute;
    bottom: 2vh;
    left: 50%;
    transform: translateX(-50%);
    width: 25vw;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 1vh;
    padding: 1.5vh 2vw;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.quote {
    font-size: 0.7vw;
    color: #fff;
}

.quote-box:hover {
    cursor: not-allowed;
}

.welcome {
    font-size: 1vw;
    position: absolute;
    top: 20vh;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 1vh;
    padding: 2vh 3vw;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    font-family: monospace;
    color: #fff;
}

#projects, #skills, #contact {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-info {
    font-family: verdana;
    font-size: 2vw;
    color: #fff;
    margin-top: 0;
    text-align: center;
    padding: 3vh 0;
}

.no-worry {
    font-family: verdana;
    font-size: 1vw;
    color: #fff;
    text-align: center;
    margin-top: -2vh;
}

.skills-info {
    font-family: verdana;
    font-size: 1vw;
    color: #fff;
    text-align: left;
    margin-bottom: 4vh; 
}

.skills-list {
    list-style-type: disc;
    text-align: left;
    font-family: verdana;
    font-size: 1vw;
    color: #fff;
    margin-bottom: 4vh;
    padding-left: 1.5em;
}
.skills-readability {
    width: 60%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 1vh;
    padding: 1.5vh 2vw;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cliff-hanger {
    font-family: verdana;
    font-size: 0.7vw;
    color: #333;
    text-align: center;
    margin-top: -2vh;
}

.back-to-top {
    text-decoration: none;
    color: #333;
    margin-top: auto;
    margin-bottom: 3vh;
    min-width: 20vw;
}

.btt-box {
    background: #fff;
    border-radius: 1vh;
    padding: 1vh 2vw;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.back-to-top:hover .btt-box {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}