/* I know how to do the toggle in the same page, I did multiple pages for SEO.  */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
	font-family: InterVariable, sans-serif;
    font-feature-settings:'liga 1', 'calt 1';
	letter-spacing: 0.1px;
}

@supports {
	font-variation-settings: normal;
}

body {
    background-color: white;
    line-height: 1.6;
    font-size: 16px;
	font-weight: 400;
	font-size: 1rem;
	
}

/* Typography */
h1{
    color: #161616;
	font-size: 1rem;
}

/* Corner social links */
.local-time {
    color: #161616;
	text-align: left;
}

.night {
    color: #161616;
	text-align: right;
}

/* Main content */
.main-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem;
	margin-top: 2.5rem;
	margin-bottom: 4rem;
}

.name{
	margin-top: 10rem;
	margin-bottom: 10rem;
}

.about,
.content{
	margin-bottom: 10rem;
}


.name-text {
    line-height: 1.3;
	color: #161616;
	margin-bottom: 0.2rem;
	font-weight: 500;
}

.head-text {
    line-height: 1.3;
	color: #161616;
	margin-bottom: 1.5rem;
	font-weight: 500;
}

.sub-text {
    line-height: 1.3;
	color: #575757;
	font-weight: 500;
	margin-bottom: 3rem;
}


.body-text {
    line-height: 1.5;
	color: #575757;
	margin-bottom: 1rem;
}

.link-text {
    line-height: 1.3;
	color: #575757;
	margin-bottom: 1.4rem;
}

.links {
	margin-top: 2.5rem;
}

.stuff-text {
    line-height: 1.5;
	font-size: 0.95rem;
	color: #575757;
	margin-bottom: 0.2rem;
}

.body-text:last-child,
.link-text:last-child,
.stuff-text:last-child {
	margin-bottom: 0;	
}

.icon-image{
	margin-bottom: 0.6rem;
}

/* Links */
.inline-link {
    text-decoration: underline;
	color: #575757;
    transition: opacity 0.2s ease;
}

.inline-link:hover{
    opacity: 0.5;
}

.topbar{
 display: flex;
 align-items: center;
 justify-content: space-between;
}

/* Footer */
/* Responsive goes here */
/* Responsive goes here */
/* Responsive goes here */
/* Responsive goes here */


@media (max-width: 768px) {
	
    .main-content {
        padding: 0 2rem;
    }
	
}	

@media (max-width: 380px) {
    .main-content {
        padding: 0 1.5rem;
    }
	
	
	body {
	font-size: 0.95rem;
    }
    
	.stuff-text {
	font-size: 0.85rem;
    }
}
    

/* iOS Safari optimizations */
/* iOS Safari optimizations */
/* iOS Safari optimizations */
/* iOS Safari optimizations */

body {
    -webkit-text-size-adjust: 100%; /* Prevents text scaling on orientation change */
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
}

/* Fix iOS Safari viewport issues */
html {
    -webkit-text-size-adjust: 100%;
}

/* Improve tap targets for iOS */
a, button {
    -webkit-tap-highlight-color: rgba(0,0,0,0.1); /* Custom tap highlight */
    touch-action: manipulation; /* zoom double-tap disable i think */
}

/* Smooth scrolling for iOS */
html {
    -webkit-overflow-scrolling: touch;
}

/* Better image rendering on iOS */
img {
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);

}

