@charset "UTF-8";
:root {
    --beige: #fff6e7;
    --red: #eb5c2e;
	--yellow: #ffee55;
	--green: #33922d;
    --gap: 120px;
}

@font-face {
    font-family: 'GT-Maru';
    src: url('../font/GT-Maru-Medium.woff2') format('woff2');
}

body {
    font-family: 'GT-Maru', sans-serif;
    color: var(--red);
    background-color: var(--beige);
    padding: 36px 36px 16px 36px;
    margin: 0px;
    top: 0px;
    left: 0px;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

::selection {
	color: var(--green);
}

h1,
h2,
h3,
p {
    font-size: 24px;
    line-height: 32px;
    margin: 0;
    font-weight: normal;
}

a {
    color: var(--red);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;	
}

header img {
    max-width: 300px;
    width: 50vw;
}

main {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: var(--gap) 0;
}

main span {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

#portrait {
    max-width: 400px;
    width: 100%;
    margin-bottom: var(--gap);
}

#portrait:hover {
	 
}

main p {
    max-width: 950px;
    margin-bottom: 28px;
}

#icons {
    margin-top: var(--gap);
}

footer {
    display: flex;
    vertical-align: baseline;
    justify-content: space-between;
    display: flex;
    vertical-align: baseline;
    gap: 16px;
    flex-direction: row;
    flex-wrap: wrap;
}

@media only screen and (max-width: 600px) {
    :root {
        --gap: 84px;
    }
	
	footer {
		flex-direction: column;
	}
	
	h1,
    h2,
    h3,
    p {
        font-size: 20px;
        line-height: 27px;
    }
	
}

@media only screen and (max-width: 450px) {
     :root {
        --gap: 48px;
    }
	
    body {
        padding: 18px;
    }
   
	h1,
    h2,
    h3,
    p {
        font-size: 16px;
        line-height: 20px;
    }
	
	footer {
		gap: 3px; 
		text-align: center;
	}
	
}