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


:root {
	--night: rgba(13, 15, 20, 1.0);
	--amber-full: rgba(212, 146, 74, 1.0);
	--amber-mid: rgba(212, 146, 74, 0.4);
	--amber-soft: rgba(212, 146, 74, 0.15);
	--text-primary: #e8e4d9;
    --text-secondary: #8a8fa0;
    --text-muted: #4a5068;
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--night);
    color: var(--text-primary);
    font-family: 'Sora', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    cursor: none;
}

.title_homepage {
    font-family: "Great Vibes", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 5em;
}


.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.cursor {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--amber-full);
	position: fixed;
	pointer-events: none;
	z-index: 9999;
	transition: transform 0.15s ease, opacity 0.15s ease;
	transform: translate(-50%, -50%);
}

.cursor-ring {
	width: 32px;
	height: 32px;
	border: 1px solid rgba(212, 146, 74, 0.4);
	border-radius: 50%;
	position: fixed;
	pointer-events: none;
	z-index: 9998;
	transition: transform 0.35s cubic-bezier(0.25, 1, 0.32, 1), opacity 0.2s;
	transform: translate(-50%, -50%);
}



#rain-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
}




.glow-window {
    position: fixed;
    top: -200px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(ellipse, rgba(212,146,74,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.glow-window-2 {
    position: fixed;
    bottom: 10%;
    left: -150px;
    width: 400px; height: 400px;
    background: radial-gradient(ellipse, rgba(126,184,232,0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}




.div-time {
	margin-top: 5vh;
	margin-right: 12vw;
    text-align: right;
}

.time-display {
    font-family: 'Space Mono', monospace;
    font-size: 48px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}
.time-label {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 8px;
}


.grid-projects {
    display: grid;
    grid-template-columns: auto auto auto;
    padding: 0;
    gap: 2vw;
    margin-left: 6vw;
    margin-right: 6vw;
    margin-top: 10vh;
}

.grid-projects a {
    color: var(--text-primary);
    width: 28vw;
    text-decoration: none;
    overflow: scroll;
    border: 1px hidden var(--amber-mid);
    padding: 15px;
    transition: color 0.4s ease, border 0.4s ease;
}

.grid-projects a:hover {
    color: var(--text-secondary);
    border: 1px solid var(--amber-full);
}

.div-projects {
    
}


.div-projects > p {
    color: var(--text-muted);
    font-size: 0.8em;
    text-align: justify;
}

@media only screen and (max-width: 800px) {

    .grid-projects {
        grid-template-columns: auto;
        margin-left: 10vw;
        margin-right: 10vw;
        margin-top: 7vh;
        gap: 5vh;
    }

    .grid-projects a {
        color: var(--text-primary);
        width: 80vw;
        text-decoration: none;
        overflow: scroll;
        text-align: justify;
    }

    .div-time {
        display: none;
    }

    .instagram_logo_cadre {
        margin-left: 10vw;
    }

}