/*
Theme Name: Inis Fish Island
Author: James Sui
Author URI: https://jamessui.com/
*/

@font-face {
font-family:'Spezia';
src: url('fonts/SpeziaWeb-Regular.woff2') format('woff2'),
   url('fonts/SpeziaWeb-Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
}

/* resets
--------------------------------------------------------------------------
*/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; line-height: 1; overflow-y: scroll; box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

article, aside, details, div, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { position: relative; display: block; }
audio, canvas, progress, video { display: inline-block; vertical-align: baseline; }
audio:not([controls]) { display: none; height: 0; }
progress { vertical-align: baseline; }
[hidden], template { display: none; }

svg:not(:root) { overflow: hidden; }

img, iframe { border: 0; vertical-align: middle; }

strong { font-weight: bolder; }
em { font-style: italic; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

button, input, optgroup, select, textarea { margin: 0; font: inherit; font-size: 100%; line-height: 1; vertical-align: baseline; color: inherit; outline: 0; border-radius: 0; }
button, input, textarea { padding: 0; }
button, input { overflow: visible; }
button, select { text-transform: none; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; }
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
label, button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; }
button, input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; }
button[disabled], input[disabled] { cursor: default; }
button { width: auto; }
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border: 0; padding: 0; }
input[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
input[type="search"]::-ms-clear,
input[type="search"]::-ms-reveal { display: none; width: 0; height: 0; }
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }

table { border-collapse: collapse; border-spacing: 0; }
th, td { vertical-align: top; }
th { font-weight: normal; text-align: left; }

h1, h2, h3, h4, h5, h6 { font-weight: normal; }

ul, ol { list-style: none; }
li { display: list-item; }

hr { box-sizing: content-box; height: 0; overflow: visible; }

a { color: #FFFFFF; background: transparent; text-decoration: none; cursor: pointer; text-decoration-skip: ink; }
a:focus { outline: thin dotted; }
a:active, a:hover { outline: 0; }
a:hover,
button:hover,
input[type="submit"]:hover { opacity: 0.5; }

.hide { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap; }

a, span, button, input[type="submit"] { transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, opacity 0.4s ease, text-decoration-color 0.4s ease; }

/* global
--------------------------------------------------------------------------
*/

body { font: 62.5%/1 Spezia, 'Helvetica Neue', Arial, Helvetica, sans-serif; color: #FFFFFF; background: #000000; }

body > header { width: 100%; background: #000000; position: fixed; top: 0; left: 0; display: flex; justify-content: space-between; align-items: center; z-index: 100; }
body > header h1 a { height: 100%; padding: 15px; display: inline-flex; }
body > header h1 img { width: auto; height: 12px; }
body > header > ul li button { padding: 15px; font-family: monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; background: none; border: 0; position: relative; -webkit-appearance: none; appearance: none; }
body > header > ul li button span { transition: opacity 0.4s ease; display: inline-flex; }
body > header > ul li button span + span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0; }
html.menu body > header > ul li button span { opacity: 0; }
html.menu body > header > ul li button span + span { opacity: 1; }
body > header nav { display: none; }

@media only screen and (min-width: 920px) {
	body > header { background: #FFFFFF; }
	body > header h1 a { background: #000000; }
	body > header > ul { display: none; }
	body > header nav { display: block; }
	body > header nav ul { display: flex; gap: 40px; }
	body > header nav ul li a { padding: 15px; font-family: monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #000000; display: inline-flex; }
}

html.menu { overflow: hidden; }
body > .menu { width: 100%; height: 100%; padding: 57px 15px 15px; font-family: monospace; font-size: 12px; line-height: 2; letter-spacing: 0.1em; text-transform: uppercase; background: #000000; overflow: auto; position: fixed; top: 0; left: 0; display: flex; flex-direction: column; justify-content: space-between; transform: translateY(-100%); transition: transform 0.4s ease; z-index: 99; }
html.menu body > .menu { transform: translateY(0); }
body > .menu .details { padding: 60px 0 0; }
body > .menu .details table,
body > .menu .details p { margin: 0 0 2em; }
body > .menu .details table td { padding: 0 2em 0 0; }
body > .menu .details ul:last-child { opacity: 0.5; }
body > .menu .details .gform_wrapper { padding: 0 0 20px; }
body > .menu .details .gfield--type-email { padding: 10px 0; }
body > .menu .details .gfield--type-email > label { display: none; }
body > .menu .details .gfield--type-email .ginput_container input { width: 100%; padding: 1em; letter-spacing: 0.1em; text-transform: uppercase; color: #FFFFFF; background: #000000; border: 1px solid #FFFFFF; }
body > .menu .details .gform_footer input[type="submit"] { letter-spacing: 0.1em; text-transform: uppercase; color: #FFFFFF; background: #000000; border: 0; }

main .overview { padding: 57px 15px 15px; }
main .overview .text p { margin: 1.5em 0 0; font-size: 14px; line-height: 1.5; }
main .overview .text p:first-child { margin: 0; }
main .overview ul { padding: 15px 0 0; display: flex; justify-content: flex-end; }
main .overview ul li button { width: 20px; height: 20px; background: none; border: 0; position: relative; display: inline-flex; -webkit-appearance: none; appearance: none; }
main .overview ul li button::before,
main .overview ul li button::after { width: 100%; height: 1px; background: #FFFFFF; position: absolute; top: 50%; left: 0; transform: rotate(45deg); transition: transform 0.4s ease; content: " "; display: block; }
main .overview ul li button::after { transform: rotate(-45deg); }
main .overview.open ul li button::before { transform: rotate(90deg); }
main .overview.open ul li button::after { transform: rotate(0deg); }

main .image-grid { padding: 0 15px 72px; }
main .image-grid figure img { width: 100%; height: auto; }
main .image-grid figure:nth-child(1) { padding: 0; }
main .image-grid figure:nth-child(2) { padding: 6vw 0 0 30%; }
main .image-grid figure:nth-child(3) { padding: 6vw 30% 0 0; }
main .image-grid figure:nth-child(4) { padding: 6vw 0 0; }
main .image-grid figure:nth-child(5) { padding: 6vw 0 0 30%; }
main .image-grid figure:nth-child(6) { padding: 6vw 0 0; }

@media only screen and (min-width: 920px) {
	main .image-grid figure:nth-child(1) { padding: 0 0 0 50%; }
	main .image-grid figure:nth-child(2) { padding: 6vw 55% 0 10%; }
	main .image-grid figure:nth-child(3) { margin: -12vw 0 0; padding: 0 10% 0 55%; }
	main .image-grid figure:nth-child(4) { padding: 6vw 30% 0 15%; }
	main .image-grid figure:nth-child(5) { padding: 6vw 25% 0 35%; }
	main .image-grid figure:nth-child(6) { padding: 6vw 50% 0 0; }
}

main .menus { min-height: 100vh; color: #000000; background: #e4e4e4; }
main .menus nav { background: #FFFFFF; padding: 57px 15px 15px; }
main .menus nav ul { font-family: monospace; font-size: 12px; line-height: 1.8; letter-spacing: 0.1em; text-transform: uppercase; }
main .menus nav ul li a { color: #000000; }
main .menus .menu { padding: 15px 15px 57px; }
main .menus .menu + .menu { display: none; }
main .menus .menu p { margin: 1.5em 0 0; font-size: 14px; line-height: 1.5; }
main .menus .menu p:first-child { margin: 0; }

@media only screen and (min-width: 920px) {
	main .menus { display: grid; grid-template-columns: 1fr 1fr; }
	main .menus nav,
	main .menus .menu { padding: 57px 15px; }
}

main .contact { min-height: 100vh; color: #000000; background: #e4e4e4; }
main .contact a { color: #000000; }
main .contact .left { padding: 57px 15px 0; }
main .contact .right { padding: 0 15px; }
main .contact .text h1,
main .contact .text h2,
main .contact .text p,
main .contact .text table { font-family: monospace; font-size: 12px; line-height: 1.8; letter-spacing: 0.1em; text-transform: uppercase; }
main .contact .text h2 { padding: 1.8em 0 0; }
main .contact .text p,
main .contact .text table { margin: 1.8em 0 0; }
main .contact .text table td { padding: 0 1.8em 0 0; }
main .contact figure { padding: 22px 15px 57px; }
main .contact figure img { width: 100%; height: auto; }

@media only screen and (min-width: 920px) {
	main .contact { display: flex; flex-wrap: wrap; justify-content: space-between; }
	main .contact .left { padding: 57px 15px 0; }
	main .contact .right { padding: 57px 115px 0 15px; }
	main .contact figure { width: 100%; padding: 6vw 24% 57px; }
}

main .shop { padding: 42px 15px; }
main .shop .item { padding: 15px 0; border-top: 1px solid #FFFFFF; }
main .shop .item:first-child { border-top: 0; }
main .shop .item figure img { width: 100%; height: auto; }
main .shop .item h2 { margin: 1.8em 0 0; font-family: monospace; font-size: 12px; line-height: 1.8; letter-spacing: 0.1em; text-transform: uppercase; }
main .shop .item p { margin: 1.5em 0 0; font-size: 14px; line-height: 1.5; }
main .shop .item ul { padding: 20px 0 0; }
main .shop .item ul li a { width: 100%; padding: 1em; font-family: monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; color: #FFFFFF; background: #000000; border: 1px solid #FFFFFF; display: block; }
main .shop .item ul li a:hover { color: #000000; background: #FFFFFF; opacity: 1; }

@media only screen and (min-width: 920px) {
	main .shop .item { display: grid; grid-template-columns: 1fr 50%; gap: 6vw; }
	main .shop .item figure { grid-column: 2; grid-row: 1; }
	main .shop .item .text { grid-column: 1; grid-row: 1; }
	main .shop .item ul li a { max-width: 20em; }
}

body > footer { padding: 15px 15px 0; display: none; }
body > footer .col { padding: 0 0 15px; }
body > footer .col h2 { font-family: monospace; font-size: 12px; line-height: 1.8; letter-spacing: 0.1em; text-transform: uppercase; }
body > footer .col table,
body > footer .col ul,
body > footer .col p { margin: 1.8em 0 0; font-family: monospace; font-size: 12px; line-height: 1.8; letter-spacing: 0.1em; text-transform: uppercase; }
body > footer .col table:first-child,
body > footer .col ul:first-child,
body > footer .col p:first-child { margin: 0; }
body > footer .col:first-child ul:last-child { opacity: 0.5; }
body > footer .col table td { padding: 0 1.8em 0 0; }
body > footer .col .gfield--type-email { padding: 10px 0; }
body > footer .col .gfield--type-email > label { display: none; }
body > footer .col .gfield--type-email .ginput_container input { width: 100%; padding: 1em; font-family: monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #FFFFFF; background: #000000; border: 1px solid #FFFFFF; }
body > footer .col .gform_footer input[type="submit"] { font-family: monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #FFFFFF; background: #000000; border: 0; }

@media only screen and (min-width: 920px) {
	body > footer { display: grid; grid-template-columns: 50% 50%; }
}

@media only screen and (min-width: 1200px) {
	body > footer { display: grid; grid-template-columns: minmax(300px, 20%) minmax(300px, 20%) minmax(300px, 20%) 1fr; }
}

body > ul { width: 100%; position: fixed; bottom: 0; left: 0; z-index: 100; }
body > ul li a { padding: 15px; font-family: monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #000000; background: #00ff00; text-align: center; display: block; }
body > ul li a:hover { opacity: 1; }

@media only screen and (min-width: 920px) {
	body > ul { display: none; }
}