/* ------------------------------- CSS Reset ------------------------------- */

:root
{
	--gradient: 
        #7319fa 0%,
		#ff33b4 50%,
		#ff7e29 100%;
}

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

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

html
{
    scroll-behavior: smooth;

	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	
	--8px: 0.5rem;
	--10px: 0.625rem;
	--12px: 0.75rem;
	--14px: 0.875rem;
	--16px: 1rem;
	--18px: 1.125rem;
	--20px: 1.25rem;
	--22px: 1.375rem;
	--23px: 1.437rem;
	--24px: 1.5rem;
	--26px: 1.625rem;
	--28px: 1.75rem;
	--32px: 2rem;
}

body
{
	width:100%;
	scroll-behavior: smooth;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	/*font-family: Verdana;*/
	font-family: system-ui, sans-serif;
	background-color: #d5d5e6;
}


img, picture, video, canvas, svg
{
	display: block;
	max-width: 100%;
}

input, button, textarea, select
{
	font: inherit;
}

textarea
{
	width: 100%;
	min-height: 12vw;
	border-radius: 6px;
	background-color: #fff;
	border: 1px solid #00000029;
	outline: none;
	resize: vertical;
	padding: 5px;
	margin-bottom: 15px;
}

p, h1, h2, h3
{
	overflow-wrap: break-word;
    /*color: #464654;*/
    color: #c3c3c3;
}

h1, h2, h3
{
	flex-wrap: balance;
}

h1
{
	font-size: var(--28px);
	padding: 10px;
	font-weight: 500;
    color: #4c4c4c;
}
h2
{
	font-size: var(--24px);
	padding: 10px;
	font-weight: 500;
}
h3
{
	font-size: var(--22px);
	padding: 10px;
	font-weight: 500;
}
p
{
    font-size: var(--20px);
	padding: 10px;
}

/* ------------------------------- Other Styles ------------------------------- */

/* -------- General -------- */
.bold
{
    font-weight: bold;
}
.link
{
    text-decoration: none;
    color: #3da4ff;

    background-image: linear-gradient(#3da4ff, #3da4ff);
    background-size: 0% 2px;
    background-position: left bottom;
    background-repeat: no-repeat;

    transition: background-size 0.3s ease;
}
.link:hover
{
    background-size: 100% 2px;
}


.bg-gradient-dark-to-top
{
    /*background: linear-gradient(to top, #d5d5e6, #c2c2d5);*/
    background: linear-gradient(to top, #000, #171717);
}
.bg-gradient-light-to-bottom
{
    /*background: linear-gradient(to bottom,#d5d5e6,#f1f1f6);*/
    background: linear-gradient(to bottom, #000, #171717);
}


/* -------- Header -------- */
header
{
    display: flex;
    justify-content: space-between;
    padding: 20px;
}
.logo
{
    font-weight: bold;
    font-size: 18px;
    color: #f0f8ff;
}
.header-items
{
    display:flex;
    gap:60px;
    align-items: center;
}

a.header-link
{
    font-size: var(--20px);
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;

    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
a.header-link:hover,
.gradient-text
{
    background: linear-gradient(90deg, var(--gradient));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


/* -------- Main -------- */
section
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #f0f8ff;
    padding: 20px 100px;
}

.project-container
{
    max-width: 48%;
    width: 100%;
    margin: 20px 0px;
    display: flex;
    flex-direction: column;
    border: 1px solid #c6c1c1;
    border-radius: 12px;

    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.project-container:hover
{
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.project-image
{
    width: 100%;
    /*aspect-ratio: 16 / 9;*/
}
.project-image img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0px 0px;
}
.project-content
{
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-links
{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px;
    font-size: var(--18px);
}

.wrap
{
    border: 1px solid #c6c1c1;
    border-radius: 12px;
    padding: 10px;
}

.container-3d
{
    transform-origin: center;
    transform:scale(.8);
    height: 600px;
}

.main-text
{
    font-size: 15rem;
    color: #4c4c4c;
    line-height: 1;
}

.container-1-3d
{
    width: 32%
}
.container-2-3d
{
    width: 68%;
}

.rowdesktop-columnmobile
{
    display: flex;
    flex-direction: row;
}

@media (max-width: 767px)
{
    a.header-link
    {
        font-size: var(--16px);
    }
    .header-items
    {
        display: flex;
        gap: 20px;
    }
    .main-text
    {
        font-size: 4rem;
    }
    section
    {
        padding: 10px 15px;
    }

    .rowdesktop-columnmobile
    {
        display: flex;
        flex-direction: column;
    }

    .project-container
    {
        max-width: unset;
    }

    .container-1-3d
    {
        width: 0%
    }
    .container-2-3d
    {
        width: 100%;
    }
}