/* -text: #f5ebeb;
-background: #1f1f1f;
-primary: #d48fff;
-secondary: #592e87;
-accent: #ca97cb; */

html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: #1f1f1f;
    color: #f5ebeb;
    font-family: 'Atkinson Hyperlegible', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Alignment */
.item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    overflow-x: hidden;
}

.item.full{
    min-height: 100vh;
}

.item.horizontal {
    flex-direction: row;
}

.split {
    display: grid;
    grid-template-columns: repeat(var(--columns), 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 10px;
}

/* Text */
.bold {
    font-weight: 700;	
}

.italic {
    font-style: italic;
}

.underline {
    text-decoration: underline;	
}

.mark {
    background-color: #ca97cb;
    color: #1f1f1f;
}

.inline {
    background-color: #211f21;
    border: solid 1px #464646;
    padding: 2px 5px;
    border-radius: 4px;
}

.text {
    width: 80%;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 1000px;
}

.size {
    font-size: var(--size);
}

/* Effects */
.blur {
    position: absolute;
    filter: blur(var(--blur));
    opacity: var(--opacity);
    z-index: -1;
}

@keyframes upDown {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
}

.up-down {
    animation: upDown var(--speed) ease-in-out infinite;
}

/* Media Queries */
@media (max-width: 1100px) {
    .split {
        grid-template-columns: 1fr;
        grid-column-gap: 0px;
    }
	
	.profile-pic {
		width: 320px !important;
		height: auto !important;
	}

    .text {
        width: 90%;
    }

    .size {
        font-size: calc(var(--size) * 0.8) !important;
    }

    #Title-Subtitle-Item-Div {
        text-align: center !important;
    }

    #Title-Text {
        margin-left: -22px !important;
    }

    .input-box {
        width: 90% !important;
    }
}

/* Projects */
#mywork-div {
    text-align: left;
    align-items: flex-start;
    margin-top: 100px;
    margin-left: 30%;
}

.project-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    padding: 16px;
}

.project-list::-webkit-scrollbar {
    height: 8px;
}

.project-list::-webkit-scrollbar-thumb {
    background: #323232; 
    border-radius: 4px;
}

.project-pic {
    flex: 0 0 auto;
    width: 300px;
    height: 300px;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: scale 0.2s ease-in-out, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    cursor: pointer;
}
.project-pic:hover {
    scale: 1.02;
}

/* Responsive for mobile */
@media (max-width: 700px) {
    #mywork-div {
        margin-left: 20%;
    }
    #project-list {
        gap: 12px;
    }
    .project-pic {
        width: 250px;
        height: 250px;
    }
}
/* One Use */
.profile-pic {
	width: 420px;
	height: auto;
}

#Title-Subtitle-Item-Div {
    text-align: left;
}

/* Contact */
.input-box {
    color: #f5ebeb;
    font-family: 'Atkinson Hyperlegible', sans-serif;
    background-color: #2d2d2d;
    width: 80%;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 1000px;
    resize: none;
    margin: 10px;
    border: 1px solid #999999;
    border-radius: 6px;
}
.input-box:focus {
    background-color: #393939;
}

.message-box {
    height: 150px;
}

.button {
    color: #f5ebeb;
    font-family: 'Atkinson Hyperlegible', sans-serif;
    background-color: #2d2d2d;
    font-size: 1.4rem;
    padding: 10px;
    resize: none;
    margin: 5px;
    border: 1px solid #999999;
    border-radius: 6px;
    transition: scale 0.2s ease-in-out, box-shadow 0.2s;
    cursor: pointer;
}
.button:hover {
    border-color: #ffffff;
    background-color: #393939;
    scale: 1.02;
}

/* footer */
footer {
    overflow-x: hidden;
}

.footer {
    margin-top: 350px;
    padding: 10px;
    width: 100%;
    background-color: #141414;
    text-align: center;
}