/* fonts */

@font-face {
  font-family: 'Diatype';
  src: url('../fonts/abcdiatype-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'CourierLT';
  src: url('../fonts/courierlt-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Arial Narrow';
    src: url('../fonts/ArialNarrow-Bold.woff2') format('woff2'),
        url('../fonts/ArialNarrow-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arial Narrow';
    src: url('../fonts/ArialNarrow.woff2') format('woff2'),
        url('../fonts/ArialNarrow.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



/* stylesheet colors */

:root {
    --blue: #323294;
    --red: #993a2d;
    --grey: #dfe4eb;

    --cornerradius: 33px;
}


body {
    background-color: var(--grey);
    /* background: linear-gradient(180deg, var(--grey) 33%, #FFF 100%); */
    border: 1px solid var(--blue);
}

html {
    scroll-behavior: smooth;
}

body, html {
    overflow-x: hidden;
    height:100%;
    width: 100%;
}

/* links */

svg {
	position: absolute;
}

.filterlarge {
    filter: url(#distortlarge);
}

.filtersmall {
    filter: url(#distortsmall);
}

/* a.navlink:hover::before {
    content: "•";
    position: fixed;
    left: 10px;
} */

a {
    font-family: "CourierLT";
}

.header {
    width: 100vw;
    position: fixed;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* .logo {
    margin: 0 auto;
    padding: 10px 0;
} */

.logo img {
    height: 38px;
    margin: 10 auto;
}

@media screen and (max-width: 576px) {
    .logo img {
        height: 32px;
    }
}

.navbar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-color: white;
    z-index: 999;
    padding-left: 22px;
    padding-right: 22px;
    border-left: 1px solid var(--blue);
    border-right: 1px solid var(--blue);
    max-width: 90%;
    margin: 0 auto;
}

.navlink {
    display: flex;
    align-items: center;
    margin: 0 11px;
}

@media screen and (max-width: 960px) {
    .navlink {
        margin: 3px 9px;
    }
}

a.navlink {
    font-family: "Arial Narrow";
    font-weight: bold;
    font-size: 12pt;
    letter-spacing: -1px;
    color: var(--blue);
    text-decoration: none;
    text-align: center;

    padding: 6px 22px;
    
    border-left: 1px solid var(--blue);
    border-right: 1px solid var(--blue);
    transition: 0.1s ease;
    max-height: 104%;
}

@media screen and (max-width: 576px) {
    a.navlink {
        font-size: 9pt;
    }
}

a.navlink:hover {
    /* box-shadow: -3px 3px 8px var(--blue); */
    border-left: 1px dotted var(--blue);
    border-right: 1px dotted var(--blue);
    text-decoration: underline;

}

a.navlink.selected {
    text-decoration: underline;
    border: 1px solid var(--blue);
    border-radius: 50%;
}

.a {
    grid-area: index;
    transform: rotate(2deg);
}

.b {
    grid-area: about;
    transform: rotate(-1deg);
}

.c {
    grid-area: calendar;
    transform: rotate(3deg);
}

.d {
    grid-area: wrestling;
    transform: rotate(1deg);
}

.e {
    grid-area: archive;
    transform: rotate(2deg);
}

.f {
    grid-area: resources;
    transform: rotate(-1deg);
}

.g {
    grid-area: store;
    transform: rotate(2deg);
}

.footer {
    position: fixed;
    bottom: 13px;
    width: 44%;
    margin-left: 18px;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    letter-spacing: -1px;
    z-index: 1001;
}

@media screen and (max-width: 960px) {
    .footer {
        width: calc(100vw - 26px);
        margin-left: 20px;
    }
}

.footer-left {
    margin-right: 3em;
}


.footer-right a {
    margin-left: 3em;
}

.footer a, p {
    font-family: CourierLT;
    font-weight: bold;
    font-size: 10pt;
    color: var(--blue);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.stars1, .stars2, .stars3, .stars4, .stars5 {
    z-index: 1002;
    position: fixed;
    width: 30%;
    pointer-events: none;
}

.stars1 {
    left: 0;
    top: -10%;
}

.stars2 {
    right: -20%;
    top: 0px;
}

.stars3 {
    right: -10%;
    bottom: 48px;
}

.stars4 {
    left: 10px;
    bottom: 0;
}

.stars5 {
    right: 0;
    bottom: -20%;
}

@media screen and (max-width: 576px) {
    .stars1, .stars2, .stars3, .stars4, .stars5 {
        display: none;
    }
}


.homecontent, .aboutcontent {
    position: fixed;
    z-index: 1001;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;

    pointer-events: none;
    /* height: 100%;
    width: 100%; */

    height: calc(100% - 72px - 44px);
    width: calc(100vw - 26px);
    margin-left: 13px;
    margin-top: 72px;
}

.homecontent::-webkit-scrollbar, .aboutcontent::-webkit-scrollbar {
    display: none;
}

.contentwrapper {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    overflow-x: hidden;

    animation: all 1s ease;
    position: sticky;
    top: 0;
}

.contentwrapper::-webkit-scrollbar {
    display: none;
}

.aboutcontent {
    
    display: grid;
    grid-template-areas:
        "as1 as1 as1 as1"
        "a1 a3 a3 a3"
        "as2 as3 as4 as5"
        "a4 a4 a4 a4"
        "as6 as7 as8 as9"
        "a5 a6 a6 a6"
        "as10 as11 as12 as13"
        "a7 a7 a7 a7";
}

.about1, .about2, .about3, .about4, .about5, .about6, .about7 {
    border-right: 1px solid var(--blue);
    border-top: 1px solid var(--blue);
    background-color: white;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

img.biopic {
    border-radius: var(--cornerradius);
    border: 1px solid var(--blue);
    transform: rotate(1deg);
    width: 90%;
}

img.grouppic {
    border-radius: var(--cornerradius);
    border: 1px solid var(--blue);
    transform: rotate(-0.3deg);
    width: 60%;
}

p.imagedesc {
    font-family: CourierLT;
    font-weight: bold;
    font-size: 11pt;
    margin-top: 7px;
    width: 44%;
    text-align-last:justify;
    text-justify: inter-word;
    transform: rotate(1deg);
}

.aboutspace1, .aboutspace2, .aboutspace3, .aboutspace4, .aboutspace5, .aboutspace6, .aboutspace7, .aboutspace8, .aboutspace9, .aboutspace10, .aboutspace11, .aboutspace12, .aboutspace12, .aboutspace13 {
    height: 32px;
    border-right: 1px solid var(--blue);
    width: 100%;
}

.aboutspace2, .aboutspace3, .aboutspace4, .aboutspace5, .aboutspace6, .aboutspace7, .aboutspace8, .aboutspace9, .aboutspace10,  .aboutspace11, .aboutspace12, .aboutspace12, .aboutspace13 {
    border-top: 1px solid var(--blue);
}

.aboutspace1 {
    grid-area: as1;
    border-left: 1px solid var(--blue);
}

.aboutspace2 {
    grid-area: as2;
    border-left: 1px solid var(--blue);
}

.aboutspace3 {
    grid-area: as3;
}

.aboutspace4 {
    grid-area: as4;
}

.aboutspace5 {
    grid-area: as5;
}

.aboutspace6 {
    grid-area: as6;
    border-left: 1px solid var(--blue);
}

.aboutspace7 {
    grid-area: as7;
}

.aboutspace8 {
    grid-area: as8;
}

.aboutspace9 {
    grid-area: as9;
}

.aboutspace10 {
    grid-area: as10;
    border-left: 1px solid var(--blue);
}

.aboutspace11 {
    grid-area: as11;
}

.aboutspace12 {
    grid-area: as12;
}

.aboutspace13 {
    grid-area: as13;
}

.about1 {
    grid-area: a1;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--blue);
}

.about2 {
    grid-area: a2;
}

.about3 {
    grid-area: a3;
}

.about4 {
    grid-area: a4;
    border-left: 1px solid var(--blue);
    display: flex;
    flex-direction: column;
}

.about5 {
    grid-area: a5;
    border-left: 1px solid var(--blue);
}

.about6 {
    grid-area: a6;
}

.about6 a {
    font-size: 24pt;
    text-decoration: none;
}

.about6 a:hover {
    text-decoration: underline;
}

.about7 {
    grid-area: a7;
    border-bottom: 1px solid var(--blue);
    border-left: 1px solid var(--blue);
    margin-bottom: 32px;
    padding: 48px 48px 48px 48px;
}

.circled {
    width: 100%;
    padding: 8px 0 22px 0;
    border: 1px solid var(--blue);
    border-radius: 50%;
}


h1, h2, h3, .about6 a, a.circled, a.homescroll {
    font-weight: bold;
    line-height: 90%;
    color: var(--blue);
    text-align: center;
}

h1, h2, h3, .about6 a, a.circled {
    font-family: Diatype;
    -webkit-text-stroke: 2px var(--blue);
}

h1 {
    background-color: white;
    font-size: 8vw;
    padding: 0 6px;

    border: 1px solid var(--blue);

    letter-spacing: -0.09em;
}

@media screen and (max-width: 576px) {
    h1 {
     font-size: 12vw;
    }
}

h2 {
    background-color: white;
    font-size: 72pt;

    letter-spacing: -0.06em;
}

h3 {
    font-size: 32pt;
    letter-spacing: -7%;
    margin: 22px 0;
}

a.circled {
    font-size: 72pt;
    text-decoration: none;
    letter-spacing: -0.06em;
}


a.homescroll {
    position: relative;
    bottom: 0;

    font-family: "CourierLT";
    text-decoration: none;

    background-color: white;
    padding: 2px 6px;
    border: 1px solid var(--blue);

    letter-spacing: 0;
    /* box-shadow: 0 0 20px var(--blue); */
}

a.circled:hover {
    background-color: var(--blue);
    color: white;
    -webkit-text-stroke: 2px white;
}



sup {
    font-size: 0.5em;
    line-height: 90%;
}

.geos, .dropdown-content {
    text-decoration: none;
    color: var(--blue);
    cursor: pointer;
}

.geos {
    position: relative;
    background: linear-gradient(180deg, #e1e1e1 33%, #d5d5d5);
    border: 1px solid grey;
    top: -2em;
    border-radius: 50%;
    padding: 4px 8px 8px 8px;
    font-size: 0.2em;
}

.geos:hover, .dropdown-content {
    background: linear-gradient(180deg, #d5d5d5 33%, #b7b7b7);
    border: 1px solid #7b7b7b;
}

.dropdown-content {
    display: none;
    flex-direction: column;
    position: absolute;
    z-index: 1001;
    top: -4px;
    left: 100%;
    white-space: nowrap;
    padding: 5px 15px 5px 11px;
    border-radius: 8px;
}

.geos:hover .dropdown-content {
    display: flex;
    flex-direction: column;
}

.dropdown-content a {
    text-decoration: none;
    font-size: 14pt;
    color: var(--blue);
    letter-spacing: -1px;
    line-height: 110%;
    -webkit-text-stroke: 1px;
    text-align: left;
}

.dropdown-content a:hover {
    text-decoration: underline;
}

.underbuttons {
    display: flex;
    flex-direction: row;
}




.rotate1 {
    transform: scaleX(0.7) rotate(1deg);
}

.rotate2 {
    transform: scaleX(0.6) rotate(-1deg);
}

.rotate3 {
    transform: scaleX(0.8) rotate(-1.5deg);
}

.rotate4 {
    transform: scaleX(0.8) rotate(0.5deg);
}

.rotate5 {
    transform: scaleX(0.6) rotate(1deg);
}

.rotate6 {
    transform: scaleX(0.8) rotate(1deg);
}

.imagecarousel, .calendar {
    position: fixed;
    top: 50%;
    display: flex;
    flex-direction: row;
    
    overflow-x: scroll;
    border: 1px solid var(--blue);
    background-color: var(--blue);

    /* carousel styling - oval */
    /* border-radius: 50%; 
    height: 90vh;
    width: 99vw; */

    /* carousel styling - square rounded */
    margin-top: 16px;
    border-radius: var(--cornerradius); 
    height: calc(100vh - 116px - 20px);
    width: calc(100vw - 26px - 22px);
}

.imagecarousel {
    transform: translateY(-50%) rotate(-0.2deg);
}

.calendar {
    transform: translateY(-50%) rotate(0.3deg);
}

img.imagecarouselinner {
    border-right: 1px dotted var(--blue);
    animation: scroll 33s linear infinite;
    height: 100%;
    min-width: 60vw;
    object-fit: cover;
}

.imagecarousel::-webkit-scrollbar {
    display: none;
}

@keyframes scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(-60vw * 7))}
}

.background1 {
    position: fixed;
    overflow-x: hidden;
    display: grid;
    z-index: -999;
    height: 100%;
    width: 100vw;
    grid-auto-columns: 13px auto 13px;
    grid-auto-rows: 72px auto 44px;
    grid-template-areas:
        "verticalspace1 horizontalspace1 verticalspace2"
        "verticalspace1 imagefill verticalspace2"
        "verticalspace1 horizontalspace2 verticalspace2";
}

.horizontalspacer1 {
    position: absolute;
    width: 100vw;
    left: -13px;
    bottom: 0;
    grid-area: horizontalspace1;
    border-bottom: 1px solid var(--blue);
    /* transform: rotate(0.2deg); */
}

.horizontalspacer2 {
    position: absolute;
    width: 100vw;
    left: -13px;
    top: 0;
    grid-area: horizontalspace2;
    border-top: 1px solid var(--blue);
    /* transform: rotate(-0.1deg); */
}

.verticalspacer1 {
    grid-area: verticalspace1;
    border-right: 1px solid var(--blue);
    transform: rotate(0.2deg);
}

.verticalspacer2 {
    grid-area: verticalspace2;
    border-left: 1px solid var(--blue);
    transform: rotate(-0.6deg);
}

.imagefill {
    grid-area: imagefill;
    width: 100%;
    height: 100%;
    /* border: 1px solid var(--blue); */
    background-image: url("../images/colorfilter/2025.06.21_SFBAY TBOY WRESTLING-045_crushed_blue.jpg");
    background-size: cover;
    background-position: center;
}