body {min-height:100%; min-width:100%;}
body, html {margin:0; padding:0; font-family:Arial, sans-serif; height:fit-content; background:#343434; color:#fff; overflow-x:hidden; height:100%; width:100%; font-family:sans-serif; display:flex; justify-content:center; align-items:center; min-height:fit-content; height:auto; width:100%; margin:0; background-image:url(../img/pattern-tile.png); background-repeat:repeat; background-size:3px; background:-webkit-linear-gradient(45deg,#1a1a1a 0,#2d2d2d 25%,#1a1a1a 50%,#404040 75%,#1a1a1a 100%); background:linear-gradient(45deg,#1a1a1a 0,#2d2d2d 25%,#1a1a1a 50%,#404040 75%,#1a1a1a 100%); display:block; height:100%;}
div.highlight {margin-top:1.25rem; display:block; max-width:329px;}
div.highlight.logo, #largertext {font-size:1rem; line-height:1;}
div.logo {font-weight:700; color:rgba(255,255,255,.8);}
div.logo, header, #love {padding:.2rem;}
h2 {font-size:1.8rem; margin:auto;}
h2.c3 {word-spacing:1px; letter-spacing:1px;}
header {display:flex; align-items:center; justify-content:center; padding:0.25rem; background-color:rgba(0,0,0,.7); font-size:1.5em; font-weight:700; color:#fff; max-width:fit-content; margin:0 auto; margin-top:1px;}
html {position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); height:unset; width:99vw;}
section.c2 {display:block;}
span.c1 {text-decoration:none; word-spacing:-.11px;}
span.c2 {color:red; word-spacing:normal; letter-spacing:normal;}
#dog {color:rgba(255,255,255,.9); text-shadow:0 2px 5px rgba(0, 0, 0, .7); text-decoration:none;}
#ftc1 {margin:0 auto; text-align:center; background-color:#000;}
#ftc2 {color:rgba(255,255,255,.75); text-decoration:none; color:#fff;}
#largertext {color:gold; font-size:inherit; font-size:.9rem;}
#lnk {text-decoration:none; color:red;}
#love {text-align:center;}
#texted {max-width:fit-content; margin:auto; padding:1px .1rem; font-weight:400; font-family:'Helvetica Neue', sans-serif; font-size:1.8rem; font-weight:300;}
#xboarder {border:gold 4px solid;}
.button-grid {display:grid; grid-template-columns:repeat(4,1fr); grid-template-rows:repeat(2, auto); gap:10px;}
.button-grid a {display:flex; justify-content:center; align-items:center; min-width:5em;}
.buttons {margin-top:2em; display:flex; flex-wrap:wrap; justify-content:center; display:block; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; max-width:400px; width:90%; height:fit-content; width:fit-content;}
.buttons a {background-color:#daab75; color:#fff; font-size:1em; font-weight:700; text-decoration:none; padding:.8em 1.5em; margin:.5em; border-radius:5px; transition:background-color .3s; display:inline-block; padding:1em 0; text-align:center; display:block; margin:unset;}
.buttons a:hover {background-color:#b48960;}
.center-container {display:flex; justify-content:center; align-items:center; width:100%;}
.container {display:flex; flex-direction:column; align-items:center; text-align:center; padding:2em;}
.content-wrapper {width:100%; max-width:1200px; margin:0 auto; padding:20px; box-sizing:border-box;}
.glass {color:rgba(128,0,32,1); background-color:rgba(218, 171, 117, .9);}
.hero img {max-width:600px; width:100%; border-radius:10px; box-shadow:0 4px 8px rgba(0,0,0,.5); transition:transform .3s ease-in-out; display:block;}
.hero img:hover {transform:scale(1.05);}
.highlight {-webkit-text-stroke-color:#fff; -webkit-text-stroke:.3px; background-color:#000; font-size:14px; font-weight:700; margin:-.75rem auto; max-width:22.9em; padding:.75rem .25rem;}
.logo {font-weight:700; color:rgba(255,255,255,.8); color:#fff;}
.overlay-text {margin-top:1em; font-size:1.8em; font-weight:700; color:rgba(255,255,255,.9); text-shadow:0 2px 5px rgba(0, 0, 0, .7); padding:.5em 1em; background:rgba(0, 0, 0, .6); border-radius:8px;}
.padded-box {padding:.25em; text-wrap:auto;}
.underline-image {border-radius:12px; border:2px solid #1e90ff; display:block; overflow:hidden; transition:border-color .3s ease, box-shadow .3s ease;}
.underline-image:hover {border-color:#00bfff; box-shadow:0 0 12px #1e90ff;}

@media (max-height:699px) and (max-width:500px) {
body {padding-top:1px;}
footer {display:none;}
html {position:relative; top:unset; left:unset; transform:unset;}
}

@media (max-height:850px) and (max-width:400px) and (orientation:portrait) {
footer {padding:1em; font-size:.9em;}
.content-wrapper {padding-top:1px;}
.hero img {max-width:200px; max-width:fit-content;}
}

@media (max-height:1345px) and (max-width:320px) and (orientation:portrait) {
html {left:unset; overflow:visible; position:relative; top:1px; transform:none; zoom:.8;}
}

@media (max-width:468px) {
.buttons {justify-content:center; justify-items:center; grid-template-columns:repeat(2,1fr);}
}

@media (max-width:480px) {
header {font-size:1.2em;}
.buttons {flex-direction:column; flex-direction:unset; width:10em;}
.buttons a {width:90%; text-align:center;}
.highlight {font-size:.88em;}
.logo {max-width:14.8em;}
.overlay-text {font-size:1em;}
}

@media (max-width:768px) {
body {display:block;}
h2 {font-size:1rem; margin:auto;}
.buttons {display:flex; width:15em;}
.buttons a {padding:.6em 1.2em; font-size:.9em;}
.hero img {max-width:90%;}
.overlay-text {font-size:1.2em;}
}

@media (max-width:999px) and (min-width:100px) and (min-height:100px) and (orientation:portrait) {
body {overflow-y:visible;}
div.highlight.logo.padded-box {zoom:1.05;}
footer {bottom:1px; position:absolute; padding:1em 0; width:100%;}
nav.buttons.button-grid.noted {font-size:.95rem;}
section.hero {zoom:1.2;}
.content-wrapper {padding:1px;}
}

@media (max-width:999px) and (min-width:376px) and (min-height:741px) and (orientation:portrait) {
body {padding-top:0;}
footer {bottom:1px; position:absolute; min-width:100%; padding:1em 0;}
.content-wrapper {padding:0;}
}

@media (max-width:999px) and (orientation:landscape) {
.center-container {align-items:flex-start; padding-top:20px;}
}

@media (max-width:999px) and (orientation:portrait) {
.center-container {align-items:center; justify-content:center;}
.content-wrapper {width:100%; max-width:1200px; padding:15px;}
}

@media (max-width:1000px) {
nav.noteded {display:none;}
}

@media (min-height:1px) {
body {display:block;}
}

@media (min-height:667px) {
body {display:flex; -ms-flex-align:center; align-items:center; -ms-flex-pack:center; justify-content:center; margin-bottom:0; flex-direction:column; margin:1rem auto 1rem auto;}
html {overflow:hidden;}
}

@media (min-height:694px) and (orientation:portrait) and (max-height:806px) and (min-width:320px) {
body {padding-top:5vh;}
html {font-size:18px; font-size:16px;}
nav.buttons.button-grid.noted {font-size:.75rem;}
#ftc1 {display:none;}
}

@media (min-height:807px) and (orientation:portrait) and (max-height:1023px) {
body {padding-top:12.5vh; padding-top:5vh;}
html {font-size:21px; font-size:16px;}
nav.buttons.button-grid.noted {font-size:.83rem;}
}

@media (min-height:1000px) {
html {zoom:1.2; zoom:1.7; zoom:1.25;}
}

@media (min-height:1300px) {
html {zoom:1.3;}
}

@media (min-width:2px) and (max-width:375px) and (max-height:740px) and (orientation:portrait) {
body {padding-top:0;}
footer {bottom:1px; position:absolute; min-width:100%; padding:1em 0;}
.content-wrapper {padding:0;}
}

@media (min-width:2px) and (max-width:999px) and (min-height:100px) and (max-height:768px) and (orientation:landscape) {
body, html {overflow:visible; min-height:100%; zoom:1; background:gray; min-height:max-content; background:#4682b4;}
}

@media (min-width:768px) {
h2 {font-size:.8em;}
}

@media (min-width:999px) {
body, html {background:url(../img/iart2.webp), linear-gradient(45deg,#1a1a1a 0,#2d2d2d 25%,#1a1a1a 50%,#404040 75%,#1a1a1a 100%); background-repeat:no-repeat, repeat; background-position:center; background-size:50%, auto; background-origin:padding-box; background-position-x:50%; background-position-y:30%;}
}

@media (min-width:1000px) {
a.glass2 {margin:1rem; width:20em;}
a.glass3 {float:right; height:10em; margin:1rem;}
a.glass4 {float:right; height:10em; margin:1rem;}
a.glass6 {float:left; height:10em; margin:1rem;}
a.glass7 {float:left; height:10em; margin:1rem;}
footer {max-width:fit-content;}
main.container {padding-top:1px;}
nav.btt {display:grid; margin:0 auto;}
nav.btt2 {display:block; float:right; margin-top:-.5rem;}
nav.btt4 {display:block; float:left; margin-top:-.5rem;}
nav.noted {display:none;}
.button-grid {display:flex;}
.center-container {align-items:center; justify-content:center;}
.content-wrapper {max-width:1000px;}
.navigation-wrapper {padding:1px; margin-bottom:1px; width:100%; max-width:100%; flex-direction:column; align-items:center; gap:.5rem;}
}

@media (min-width:1000px) and (min-height:595px) and (max-height:2000px) {
#rrr {display:none;}
}

@media (min-width:1000px) and (min-height:700px) and (max-height:1000px) and (orientation:landscape) {
html {left:unset; margin:auto; position:relative; top:unset; transform-origin:unset; transform:none; translate:unset; zoom:1.25;}
#rrr {display:none;}
}

@media (min-width:1000px) and (min-height:1079px) and (orientation:landscape) {
html {left:unset; margin:auto; position:relative; top:unset; transform-origin:unset; transform:none; translate:unset; zoom:1.75;}
#rrr {display:none;}
}

@media (min-width:1000px) and (orientation:landscape) {
body {background-position-x:50%; background-position-y:50%; min-height:fit-content; background-size:45%, auto; background-size:520px;}
nav.btt2, nav.btt4 {margin-top:-2.2rem;}
.center-container {height:100%;}
.navigation-wrapper {margin-top:1rem;}
}

@media (min-width:1900px) and (orientation:landscape) {
body {min-height:75vh; min-width:99vw;}
html {zoom:1; overflow:hidden; height:auto; width:fit-content; max-height:100vh;}
}

@media (min-width:2400px) and (min-height:1100px) and (orientation:landscape) {
html {zoom:2.1;}
}

@media (max-width:768px) {.hero img {max-width: 100%;}}
@media (min-width: 1900px) and (orientation: landscape) {body {min-width: 57vw;width: 99%;}}

.buttons {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    flex-direction: column;
    gap: 0.5rem 1.5rem;
    font-size: 0.8em;
}

@media (max-width: 768px) {
.buttons a {
    padding: 0.6em 1em;
    font-size: .8rem;
    min-width: 2rem;
}}

.button-grid a {
    display: flex;}

    @media (min-width: 1000px) and (orientation: landscape) {
nav.btt2, nav.btt4 {
    margin-top: -9px;
}}

@media (min-width: 1900px) and (orientation: landscape) {
body {
min-width: 100vh;
min-height: 100vh;
max-width: 100%;
max-height: 100%;
} html {width: 100%;}}

/* === Specificity-boosted overrides for rules that previously used !important === */
@media (max-height:1345px) and (max-width:320px) and (orientation:portrait){
html:root {left:unset; overflow:visible; position:relative; top:1px; transform:none; zoom:.8;}
}

@media (max-width:768px){
html body {display:block;}
}

@media (max-width:999px) and (min-width:100px) and (min-height:100px) and (orientation:portrait){
html body {overflow-y:visible;}
}

@media (max-width:999px) and (min-width:100px) and (min-height:100px) and (orientation:portrait){
footer[data-x] {bottom:1px; position:absolute; padding:1em 0; width:100%;}
}

@media (max-width:999px) and (min-width:100px) and (min-height:100px) and (orientation:portrait){
nav.buttons.button-grid.noted.noted {font-size:.95rem;}
}

@media (max-width:999px) and (min-width:100px) and (min-height:100px) and (orientation:portrait){
.content-wrapper.content-wrapper {padding:1px;}
}

@media (min-height:1px){
html body {display:block;}
}

@media (min-height:694px) and (orientation:portrait) and (max-height:806px) and (min-width:320px){
html:root {font-size:18px; font-size:16px;}
}

@media (min-height:807px) and (orientation:portrait) and (max-height:1023px){
html:root {font-size:21px; font-size:16px;}
}

@media (min-height:1000px){
html:root {zoom:1.2; zoom:1.7; zoom:1.25;}
}

@media (min-width:2px) and (max-width:999px) and (min-height:100px) and (max-height:768px) and (orientation:landscape){
html body, html:root {overflow:visible; min-height:100%; zoom:1; background:gray; min-height:max-content; background:#4682b4;}
}

@media (min-width:999px){
html body, html:root {background:url(../img/iart2.webp), linear-gradient(45deg,#1a1a1a 0,#2d2d2d 25%,#1a1a1a 50%,#404040 75%,#1a1a1a 100%); background-repeat:no-repeat, repeat; background-position:center; background-size:50%, auto; background-origin:padding-box; background-position-x:50%; background-position-y:30%;}
}

@media (min-width:1000px){
nav.btt.btt {display:grid; margin:0 auto;}
}

@media (min-width:1000px) and (min-height:700px) and (max-height:1000px) and (orientation:landscape){
html:root {left:unset; margin:auto; position:relative; top:unset; transform-origin:unset; transform:none; translate:unset; zoom:1.25;}
}

@media (min-width:1000px) and (min-height:1079px) and (orientation:landscape){
html:root {left:unset; margin:auto; position:relative; top:unset; transform-origin:unset; transform:none; translate:unset; zoom:1.75;}
}

@media (min-width:1000px) and (orientation:landscape){
html body {background-position-x:50%; background-position-y:50%; min-height:fit-content; background-size:45%, auto; background-size:520px;}
}

@media (min-width:1900px) and (orientation:landscape){
html:root {zoom:1; overflow:hidden; height:auto; width:fit-content; max-height:100vh;}
}

@media (min-width:2400px) and (min-height:1100px) and (orientation:landscape){
html:root {zoom:2.1;}
}

/*@media (min-width: 1900px) and (orientation: landscape){
html body {min-width: 100vh;
min-height: 100vh;
max-width: 100%;
max-height: 100%;}
}*/

@media (min-width: 1900px) and (orientation: landscape){
html:root {width: 100%;}
}

body, html:root {margin:0; padding:0; font-family:Arial, sans-serif; height:fit-content; background:#343434; color:#fff; overflow-x:hidden; height:100%; width:100%; font-family:sans-serif; display:flex; justify-content:center; align-items:center; min-height:fit-content; height:auto; width:100%; margin:0; background-image:url(../img/pattern-tile.png); background-repeat:repeat; background-size:3px; background:-webkit-linear-gradient(45deg,#1a1a1a 0,#2d2d2d 25%,#1a1a1a 50%,#404040 75%,#1a1a1a 100%); background:linear-gradient(45deg,#1a1a1a 0,#2d2d2d 25%,#1a1a1a 50%,#404040 75%,#1a1a1a 100%); display:block; height:100%;}

div.logo.logo, header[data-x], #love {padding:.2rem;}

#texted {max-width:fit-content; margin:auto; padding:1px .1rem; font-weight:400; font-family:'Helvetica Neue', sans-serif; font-size:1.8rem; font-weight:300;}

.glass.glass {color:rgba(128,0,32,1); background-color:rgba(218, 171, 117, .9);}

.logo.logo {font-weight:700; color:rgba(255,255,255,.8); color:#fff;}

.padded-box.padded-box {padding:.25em; text-wrap:auto;}

.buttons.buttons {/*display: grid;*/
    grid-template-columns: repeat(4,1fr);
    flex-direction: column;
    gap: 0.5rem 1.5rem;
    font-size: 0.8em;}

.button-grid a[href].button-grid {display: flex;}

@media (min-width: 1000px) and (orientation: landscape) {html:root {zoom: 1.25;}}