body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    /* display: flex; 
    justify-content: center;
    align-items: flex-start; */
    height: 100vh;
    background-color: black;
    color: white;
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-size: 1.15em;
    margin-bottom: 80px;
}


h1 {
    margin: 2rem auto;
    margin-top: 0;
    text-align: center;
    margin-bottom: 0;
    font-size: clamp(28px, 85px, 13cqw);
    /* background: linear-gradient(to bottom, rgb(255, 255, 255), rgb(255, 255, 255), rgb(0, 0, 0));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; */
    color: gray;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.2em;
    opacity: 0;
    transform: translateY(20px) scale(0.95); 
    animation: fadeInRise 1.25s ease forwards;
}

@keyframes fadeInRise {
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

h1 a {
    font-display: swap;
    text-decoration: none !important;
}

h2 {
    font-size: clamp(12px, 48px, 3.5cqw);
}

h2.reveal1 {
    display: inline-block;
    clip-path: inset(0 100% 0 0);
    animation: reveal1 1.25s ease-in-out forwards;
    animation-delay: 1.0s;
    position: absolute;
    top: 0rem;
    
}
h2.reveal2 {
    display: inline-block;
    clip-path: inset(0 100% 0 0);
    animation: reveal2 1.5s ease-in-out forwards;
    animation-delay: 1.5s;
    margin-left: 10%;
    line-height: 1.1em;
    text-transform: uppercase;
    text-align: left;
}

@keyframes reveal1 {
  to { clip-path: inset(0 0 0 0); }
}

@keyframes reveal2 {
  to { clip-path: inset(0 0 0 0); }
}

h3 {
    font-size: clamp(24px, 72px, 10cqw);
    margin: 0;
}

h4 {
    font-weight: normal;
    font-size: clamp(18px, 2cqw, 32px);
    padding: 15px 0;
    line-height: 1.15;
}

h5 {
    font-size: clamp(14px, 24px, 6cqw);
}

a {
    color: rgb(0,150,200);
}
a:hover {
    color: rgb(0,200,255);
}


/* button class for anchor tags with rounded corners */
a.button {
    display: inline-block;
    padding: 10px 40px;
    margin: 10px 0;
    border-radius: 50px;
    background-color: rgb(0,150,200);
    color: #fff;
    text-decoration: none;
    font-size: clamp(18px, 36px, 4cqw);
    font-weight: 700;
    font-style: normal;
    font-optical-sizing: auto;
}

a.coming {
    background-color: #bbb;
    color: #ddd;
}

ul, ol {
    margin-left: 5em;
    line-height: 2em;
    text-align: left;
}

ul li, ol li {
    padding-left: 1em;
}

hr {
    border: none;
    border-top: 1px solid #444;
    margin: 30px 0;
}



#topMenu, #bottomMenu {
    padding: 10px 20px 0px 20px;
    width: 100%;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: clamp(12px, 14px, 1.0cqw);
    text-align: right;
    margin: 0;
}

#bottomMenu {
    text-align: center;
    font-size: clamp(14px, 18px, 2.0cqw);
}

#topMenu a, #bottomMenu a {
    text-decoration: none;
}

@media (max-width: 800px)
{
    #topMenu {
        text-align: center;
    }
}



#logo {
    position: relative;
    display: block;
    margin: 20px auto;
    width: 100%;
    height: 12%;
    /* aspect-ratio: 3/2; */
    overflow: visible;
}

#logo:hover .tw-logo {
    animation: logo-hover 0.25s ease forwards;
}

@keyframes logo-hover {
    0% {
        /* transform: scale(1);  */
        transform: scale(1.0);
    }
    100% { 
        /* transform: scale(1.25); */
        transform: scale(1.05);
    }
}

.tw-logo {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -8px;
    overflow: visible;
}

.tw-logo img {
    display: block;
    margin: 0 auto;
    height: 100%;
}   

#tw-logo-glow {
    transform-origin: center bottom;
    transform: scaleY(0);
    
    animation: planet-reveal 1.5s ease forwards;
}

@keyframes planet-reveal {
    100% { 
        transform: scaleY(1); 
        transform: translateY(-2px);
    }
}

#tw-logo-worlds {
    transform-origin: center bottom;
    opacity: 0;
    transform: translateY(10px);
    animation: worlds-reveal 1.5s ease-out forwards;
    animation-delay: 0.75s;
}

@keyframes worlds-reveal {
   100% { 
    transform: translateY(0px);
    opacity: 100%;
    }
}



#tw-logo-teaching {
    transform-origin: center bottom;
    opacity: 0;
    animation: worlds-reveal 2.0s ease-in-out forwards;
    animation-delay: 0.75s;
}

@keyframes teaching-reveal {
   100% { 
    opacity: 100%;
    }
}

#feature {
    position: relative;
    margin: 0 auto;
    width: 100%;
    /* min-height: 400px; */
    /* set height to 60% of width */
    height: 30vw;
    background-color: #333;
    max-width: 1800px;
    max-height: 600px;
    background-image: url(/media/feature1.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    animation: feature-reveal 2.0s ease-in-out forwards, zoom-loop 6.0s ease-in-out infinite alternate;
    animation-delay: 0.5s;
}

@keyframes feature-reveal {
   100% { 
    opacity: 100%;
    }
}

@keyframes zoom-loop {
    0% {
        background-size: 105% auto;
    }
    100% {
        background-size: 100% auto;
    }
}



#container {
    margin: 0 auto;
    padding: 0;
}


div.banner {
    margin: 30px auto;
    border-radius: 30px;
    max-width: 900px;
    width: 90%;
    text-align: center;
}

div.banner > div {
    background: linear-gradient(to bottom, rgb(40, 40, 40), rgb(20, 20, 20));
    box-sizing: border-box;
    border-radius: 30px;
    margin: 70px 0 0 0;
    padding: 60px;
}

.banner p {
    line-height: 2em;
    font-size: 115%;
    color: #aaa;
    font-weight: 400;
}

.banner p em {
    color: white;
}


.banner h3 em {
    color: rgb(248, 187, 74);
}


.banner h2 {
    margin-top: 0px;
    font-size: clamp(14px, 28px, 2.8cqw);
    font-weight: 300;
    letter-spacing: 0.05em;
    text-align: center;
    color: rgb(125, 125, 125);
    opacity: 0;
    animation: fadeIn 2s ease forwards;
    animation-delay: 0.25s;
}

.banner h2 em {
    color: #444;
    font-style: normal;
    font-weight: 200;
    font-size: 150%;
}

.banner h3 {
    margin-top: 15px;
    font-size: clamp(24px, 3cqw, 36px);
    color: rgb(84, 171, 205);
    opacity: 0;
    animation: fadeIn 2s ease forwards;
    animation-delay: .75s;
}

.banner h3 span {
    /* color: white !important; */
}

.banner h4 {
    font-size: clamp(24px, 3cqw, 36px);
    opacity: 0;
    animation: fadeIn 2s ease forwards;
    animation-delay: 1.5s;
    margin: 40px 0 15px 0;
    text-align: center;
    padding: 0;
    line-height: 1.25;
    color: rgb(84, 171, 205);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.banner h4 span.animate {
    display: inline-block;
    color: white;
    font-weight: 600;
    opacity: 0;
    animation: slideInTop 2.5s ease-out forwards;
    animation-iteration-count: 3;
    animation-delay: 1.5s;
}

@keyframes slideInTop {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}




div.section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 70px auto;
    max-width: 1400px;
    /* min-height: 600px; */
    border-radius: 30px 30px 30px 0;
    opacity: 1;
    transform: none;
    width: 90%;
}

/* set .section to a single column on smaller screens */
@media (max-width: 800px) {
    div.section {
        grid-template-columns: 1fr;
    }
    div.section div:first-child {
        grid-column: span 1;
    }
}

.js .section {
    opacity: 0;
    transform: translateY(120px);
    transition: opacity 0.4s ease, transform .8s ease;
}

.section.is-visible {
  opacity: 1;
  transform: translateY(0);
}



.section div:first-child {
    grid-column: span 2;
}

.section div:nth-child(2) {
    background-color: rgb(26, 26, 26);
}
.section div:nth-child(3) {
    background-color: rgba(120, 120, 120, 0.25);
    border-radius: 0 0 30px 0;
}

.section h3 {
    line-height: 100%;
    text-transform: uppercase;
}

.section h4 {
    margin: 0;
    color: white;
    opacity: 0.9;
}

.section > div {
    /* background-color: #333; */
    padding: 30px;
    opacity: 1;
    transform: none;
}

.section div:nth-child(n+2), .section div:nth-child(n+2) div {
    min-height: 400px;
} 

.js .section  div {
  opacity: 0;
  transform: translateY(150px);
  transition: opacity 0.8s ease, transform 0.6s ease;
}

.section div.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.section div p {
    line-height: 1.5em;
    font-size: clamp(18px, 26px, 6cqw);
    font-weight: 600;
    color: white;
    opacity: 0.75;
}


div.section.portfolio {
    margin-top: 20px;
    margin-bottom: 20px;
}


.portfolio div p {
    line-height: 1.5em;
    font-size: clamp(14px, 20px, 6cqw);
    font-weight: 350;
    color: white;
}

.section div p strong {
    font-weight: 600;
    color: rgb(248, 187, 74);
}

.section div p em {
    color: white;
}


div.zoomslow {
    background-position: center;
}


.web {
    background-color: rgb(16, 51, 75);
    color: rgb(64, 137, 205);
}

.web strong {
    color: rgb(143, 229, 255) !important;
}

.support {
    background-color: rgb(47, 33, 18);
    color: rgb(205, 134, 64);
}

.accessibility {
    background-color: rgb(61, 32, 61);
    color: rgb(203, 137, 205);
}

.digital {
    background-color: rgb(16, 49, 42);
    color: rgb(137, 205, 166);
}

.elearning {
    background-color: rgb(49, 20, 16);
    color: rgb(205, 147, 137);
}



div.web div.example {
    background-image: url('/media/services/webExamples1.jpg');
    background-repeat: repeat;
    background-size: 70cqh;
}

div.support div.example {
    background-image: url('/media/services/supportExamples1.jpg');
    background-repeat: repeat;
    background-size: 40cqh;
}

div.accessibility > div.example {
    background-image: url('/media/services/accessibilityBg.jpg');
    background-size: cover;
    background-position: center;
    padding: 0;
}

    div.accessibility > div.example > div {
        width: 100%;
        height: 100%;
        background-image: url('/media/services/accessibilityBridge.png');
        background-size: cover;
        background-position: center;
    }

    .js div.accessibility > div.example > div {
        opacity: 0;
        transform: translateY(-150px);
        transition: opacity 1s ease, transform 1.75s ease-in;
        transition-delay: 0.5s !important;
    }

    div.accessibility > div.example > div.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

div.digital div.example {
    background-image: url('/media/services/digitalExamples1.jpg');
    background-repeat: repeat;
    background-size: 40cqh;
}

div.elearning div.example {
    overflow: hidden;
    padding: 0;
    margin: 0;
    height: 500px;
}

#elearningVideo {
    height: 800px;
    margin-left: -75px;
}
            
.portfolio img, .portfolio video {
    width: 100%;
    margin: 0;
    margin-bottom: -8px;
}

.portfolio .example {
    margin: 0;
    padding: 0;
}

.portfolio div:nth-child(n+2), .portfolio div:nth-child(n+2) div {
    min-height: inherit;
} 

 


#footer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px;
    color: #888;
    font-style: normal;
    font-optical-sizing: auto;
    text-align: center;
    letter-spacing: .1em;
    box-sizing: border-box;
    clear: both;
}

#footer a {
    text-decoration: none;
    color: #bbb;
}
#footer a:hover {
    text-decoration: underline;
    color: white;
}




#footer div {
    margin-bottom: 20px;
}

#footer-menu {
    padding-bottom: 40px;
}

#footer-menu h2 {
    color: rgb(0,150,200);
    line-height: 2.5em;
    font-size: clamp(11px, 24px, 1.5cqw);
}

#footer-menu p {
    line-height: 1.5em;
    font-size: clamp(11px, 18px, 1.5cqw);
}

#footer-menu h2 a {
    color: white;
    font-weight: 600;
    padding: 0 5px;
    margin: 0 -3px;
    white-space: nowrap;
}
#footer-menu a:hover {
    background-color: rgb(0,150,200);
    color: white;
    text-decoration: none;
}

#contact {
    font-size: clamp(12px, 18px, 1.5cqw);
}

#copyright {
    margin: 30px 0;
    font-size: .8em;
    font-size: clamp(10px, 14px, 1.0cqw);
    letter-spacing: 0;
}


