/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Nunito:wght@200;300;400;500;600;700;800;900;1000&display=swap');

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

html {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

*,
*::before,
*::after{
    box-sizing: inherit;
    padding: 0;
    margin: 0;
}

h1 {
    margin: 0;
}

.container {
    width: 75%;
    margin: 0 auto;
}

.program-desc {
    font-size: 1.75em;
    line-height: 1.5;
    margin: 50px 0;
}

/* gmap */

#gmap {
    clear: both;
    width: auto;
    height: 300px;
    overflow: hidden;
    background: url("../contact/images/gmap.png") no-repeat center / cover;
}

#gmap h4 {
    font-size: 1.4em;
}

#gmap span {
    display: block;
    font-size: .8em;
}

#gmap ul {
    list-style: disc;
    padding: 5px 20px;
    font-size: 1.2em;
}

/* end of gmap */

/* nav */

nav ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

nav li {
    margin: 10px 0;
}

nav ul li:first-child {
    margin-right: auto;
}

nav a {
    font-size: 1.5em;
    text-decoration: none;
    color: #003865;
}

fieldset {
    border-color: #003865;
    border-radius: 10px;
    border-width: 1px;
}

legend {
    padding: 0 5px;
}

/* end of nav */

/* hero */

.hero {
    background-image: url('images/showcase-hero.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: calc(75vh - 68px);
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero--digital-and-graphic-technology {
    background-image: url('images/design-graphic-tech.jpg');
}

.hero--digital-media-technology {
    background-image: url('images/digital-media-technology.jpg');
}

.hero--photography {
    background-image: url('images/photography.jpg');
}

.hero--web-development {
    background-image: url('images/web-development.jpg');
}

.hero.hero--program {
    height: calc(70vh - 68px);
    background-position: center center;
}

.hero.hero--404 {
    background-image: url('images/404.jpg');
    height: 70vh;
    background-position: center -100px;
}

.hero.hero--404::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: transparent;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero h1 {
    color: white;
    background-color: rgba(0,56,101,.8);
    width: fit-content;
    padding: 15px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 2.5em;
    text-align: center;
}

.hero-content {
    z-index: 9999;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.hero-cta {
    background-color: #0061a0;
    color: white;
    text-decoration: none;
    padding: 20px 50px;
    display: inline-block;
    font-size: 1.75em;
    border-radius: 10px;
    text-align: center;
}

/* end of hero */

/* page title */

.page-title {
    background: rgb(0,56,101);
    color: white;
}

.page-title h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 4em;
    font-weight: 300;
    text-align: center;
    padding: 50px 0;
    margin: 0;
    box-shadow: inset 0px 2px 2px #111, inset 0px -2px 2px #111;
}

/* end of page title */

/* event info section */

.event-info {
    background: rgb(0,56,101);
    color: white;
    box-shadow: inset 0px 2px 2px #111, inset 0px -2px 2px #111;
}

.event-info .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;
    gap: 50px;
}

.event-info h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 4.5em;
    font-weight: 300;
}

.event-info p {
    font-size: 1.5em;
    margin: 20px 0;
}

.event-info-divider {
    border-right: 2px solid white;
    height: 200px;
    display: none;
}

/* end of event info section */

/* programs section */

.programs {
    margin: 100px auto;
}

.programs .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px 50px;
}

.program--archive {
    border: 1px solid #003865;
    border-radius: 0 0 10px 10px;
}

.program img {
    width: 100%;
}

.program h3 {
    font-size: 2em;
    margin: 20px 0;
}

.program p {
    font-size: 1.25em;
    margin: 20px 0;
    line-height: 1.4;
}

.program-link {
    position: relative;
    display: block;
    text-decoration: none;
    color: white;
}

.program-link::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,56,101,.8);
}

.program-link h3 {
    text-align: center;
    background: transparent;
    margin: 0;
    width: auto;
    display: block;
    text-decoration: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-weight: 300;
    font-size: 2.5em;
}

.program-btn {
    color: #003865;
    border: 1px solid #003865;
    border-radius: 10px;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1.5em;
    margin-bottom: 20px;
    display: inline-block;
    width: auto;
    text-align: center;
}

/* end of programs section */

/* archive */

.archive {
    list-style-type: none;
    padding: 20px;
}

.archive a {
    text-decoration: none;
    color: #003865;
    margin: 15px 0;
    display: block;
    font-size: 1.5em;
    border-bottom: 1px solid #003865;
    padding-bottom: 2px;
    width: fit-content;
}

/* end of archive */

/* contact */

.contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px;
}

.contact h2 {
    font-size: 2em;
    margin: 10px 0;
}

.gmap-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
}

.gmap-form-input {
    flex-grow: 1;
    padding: 5px;
}

.contact .gmap-form-btn {
    padding: 5px 50px;
    font-size: 1.25em;
    cursor: pointer;
    width: auto;
    background-color: rgb(0,56,101);
    color: white;
    border: none;
    border-radius: 5px;
}

.contact form label {
    display: block;
    margin-bottom: 5px;
}

.contact form input {
    width: 100%;
    padding: 5px;
}

.contact form textarea {
    width: 100%;
    min-width: 200px;
    max-width: 75vw;
    min-height: 40px;
    padding: 5px;
}

.contact form ol {
    list-style-type: none;
}

.contact form li {
    margin-bottom: 10px;
}

.contact form .name {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact form .name > * {
    flex-grow: 1;
}

.contact .contact-form-btn {
    display: block;
    padding: 10px 50px;
    width: auto;
    cursor: pointer;
    background-color: rgb(0,56,101);
    color: white;
    border: none;
    border-radius: 5px;
}

.contact-aside-programs {
    border: 1px solid #003865;
    padding: 10px 0;
    border-radius: 10px;
}

.contact-aside-programs ul {
    list-style-type: none;
}

.contact-aside-programs li {
    padding: 10px 0;
    font-size: 1.33em;
}

.contact-aside-programs a {
    color: #003865;
    text-decoration: none;
    width: 100%;
    transition: all .33s ease-in;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-aside-programs a:hover {
    background-color: rgba(0,56,101, 0.15);
}

form input::placeholder,
form textarea::placeholder {
    position: relative;
    transform: translateY(0);
    opacity: 1;
    transition: all .33s ease-in;
}

form input:focus::placeholder,
form textarea:focus::placeholder {
    transform: translateY(100%);
    opacity: 0;
}

/* end of contact */

/* error */

.err-desc {
    font-size: 2em;
    margin: 20px 0;
    line-height: 1.25;
}

/* end of error */

/* support docs */

.support {
    margin: 50px auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.support fieldset h2 {
    text-align: center;
}

.support fieldset p {
    margin: 15px 0;
    line-height: 1.5;
    font-size: 1.2em;
}

/* end of support docs */

/* icons */

.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke: black;
    fill: black;
    stroke-width: 0;
    transform: translateY(60%);
    opacity: 0;
    transition: all .5s ease;
}

.contact-aside-programs a:hover .icon {
    transform: translateY(0);
    opacity: 1;
}

/* end of icons */

/* footer */

footer {
    clear: both;
    height: 40px;
}

footer a {
    color: black;
}

footer a[href^="../"] {
    float: left;
}

footer a[href^="javascript"],
footer a[href$="support-docs/index.html"] {
    float: right;
    padding: 10px;
}

/* end of footer */

/* media queries */

@media (min-width: 768px) {
    
    .body--home .container,
    .body--programs .container,
    .body--archive .container {
        width: 85%;
    }

    nav ul {
        flex-direction: row;
    }
    
    nav li {
        margin: 10px;
    }

    nav ul li:first-child {
        margin-right: auto;
    }
    
    .gmap-form {
        flex-wrap: nowrap;
    }
    
    .programs .container {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero {
        height: calc(100vh - 68px);
    }
    
    .hero h1 {
        font-size: 3.5em;
    }
    
    .event-info h2 {
        font-size: 6em;
    }
    
    .page-title h1 {
        font-size: 6em;
    }
    
    .support {
        flex-direction: row;
    }
    
    .support fieldset {
        max-width: 40%;
    }
}

@media (min-width: 1025px) {
    
    .body--home .container,
    .body--programs .container,
    .body--archive .container {
        width: 80%;
    }
    
    .event-info .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 50px 0;
        gap: 0px;
    }
    
    .event-info-divider {
        display: block;
    }
    
    .contact {
        grid-template-columns: 2fr 1fr;
    }
}

@media (min-width: 1366px) {
    .body--home .container,
    .body--programs .container,
    .body--archive .container {
        width: 70%;
    }
}

@media (min-width: 1600px) {
    .body--home .container,
    .body--programs .container,
    .body--archive .container {
        width: 60%;
    }
}

/* end of media queries */