@import url(/_resources/web-fonts/tiempos-headline.css);
@import url(/_resources/web-fonts/open-sans.css);

:root {
	--gold: #ffcc33;
    --gray: #666666;
	--blue: #003366;
	--light-blue: #0072ce;
	--faded-blue: rgba(0, 51, 102, 0.8);
    --faded-black: rgba(0, 0, 0, 0.6);
    --opacity: 1;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

html, body {
    overflow: auto;
    min-height: 100%;
}

.sr-only {
    border: 0; 
    clip: rect(0 0 0 0); 
    height: 1px; 
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

body {
    background: url(/academics/majors/choose-your-major/images/five-students-fall-mobile.jpg) no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.image-container {
    position: fixed; 
    top: -50%; 
    left: -50%; 
    width: 200%; 
    height: 200%;
}

.image-container > img {
    z-index: -1; 
    will-change: transform; 
    position: fixed;
    object-fit: cover;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-container > div.background-image-0,
div.background-light-box {
    background: var(--light-blue) no-repeat center center fixed;
    background-size: cover;
    display: grid;
    place-items: center;
}

div.background-light-box {
    background: var(--faded-black) no-repeat center center fixed;
    background-size: cover;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    position: fixed;
    bottom: 0;
}

div.background-light-box .popup {
    background: white;
    border-radius: 5px;
    position: relative;
    max-width: 20rem;
    padding: 2rem;
}


.image-container > div.background-image-1 {
    background: url(/academics/majors/choose-your-major/images/1-mobile.jpg) no-repeat center center fixed;
    background-size: cover;
}

header {
    margin: 2rem auto 0 auto;
    width: 90%;
}

header img {
	max-width: 75%;
	filter: drop-shadow(2px 2px 5px rgb(0 0 0 / 50%));
}

main {
	display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    background-color: var(--faded-blue);
    box-shadow: 10px 10px 10px #00000059;
    border: 2.5vw solid var(--gold);
    margin: 1rem auto;
    padding: 1rem;
    z-index: 1;
    width: 90%;
    height: 85%;
}

main > .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

.container > img {
    max-width: 80%;
}

.copy {
    max-width: 40rem;
    padding: 1rem;
    margin: auto;
}

.navigation {
    padding: 1rem 2rem;
}

.results .navigation {
    background-color: white;
    display: block;
    padding: 4rem;
}

.copy {
    padding-bottom: 3rem;
}

.results .navigation .three-column {
    display: block;
}

.results .navigation .three-column * {
    text-align: center;
    margin-top: 1em;
}

.results .navigation h2 {
    color: var(--blue);
    text-align: center;
    margin: 0 0 1em 0;
}

.results .navigation p {
    color: var(--gray);
}

.results .navigation p > a {
    color: var(--light-blue);
    text-decoration: none;
    white-space: nowrap;
}

.results .navigation p > a:first-of-type {
    margin-right: 1rem;
}

.results .navigation p > a:hover {
    text-decoration: underline;
}

.homeButton,
.form_button_submit {
    box-shadow: inset 0px 1px 0px 0px #97c4fe;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #3d94f6), color-stop(1, #1e62d0) );
    background-color: rgba(0, 0, 0, 0);
    background: -moz-linear-gradient( center top, #3d94f6 5%, #1e62d0 100% );
    background-color: #3d94f6;
    border-radius: 6px;
    border: 1px solid #337fed;
    display: inline-block;
    color: #ffffff;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 15px 5%;
    text-decoration: none;
    text-shadow: 1px 1px 0px #1570cd;
    width: 90%;
    max-width: 305px;
    text-align: center;
}

.form_button_submit {
    box-shadow: inset 0px 1px 0px 0px #97c4fe;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #3d94f6), color-stop(1, #1e62d0) );
    background: -moz-linear-gradient( center top, #3d94f6 5%, #1e62d0 100% );
    background-color: #3d94f6;
    border-radius: 6px;
    border: 1px solid #337fed;
    text-shadow: 1px 1px 0px #1570cd;
    margin: 0 auto;
    display: block;
}

.homeButton:hover {
  background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #1e62d0), color-stop(1, #3d94f6) );
    background-color: rgba(0, 0, 0, 0);
  background: -moz-linear-gradient( center top, #1e62d0 5%, #3d94f6 100% );
  background-color: #1e62d0;
}

form {
    margin-top: 1em;
}

.form_label {
    color: var(--gray);
    font-weight: bold;
    font-family: 'Open Sans', Arial, sans-serif;
}

input {
    border-color: var(--gray);
    border-radius: 6px;
    width: 100%;
    height: 2rem;
    border-width: thin;
}

h1,
h2,
#majorQuiz .copy p,
.image-container > div.background-image-0 p,
div.background-light-box h2,
#progstat {
    font-family: 'Tiempos Headline', Arial, sans-serif;
    font-size: 2.2rem;
    color: white;
    margin: 1em 0 0;
}
.results .copy p {font-family: 'Open Sans', Arial, sans-serif !important;}

div.background-light-box h2 {
    color: var(--blue);
}

div.background-light-box p {
    color: var(--gray);
}

.close-light-box {
    color: white;
    background-color: var(--light-blue);
    width: 40px;
    height: 40px;
    border-radius: 0 0 0 40px;
    position: absolute;
    right: 0;
    top: 0;
    font-family: 'Tiempos Headline', Arial, sans-serif;
    font-size: 25px;
}

.close-light-box span {
    margin-left: 18px;
}

.close-light-box:hover {
    cursor: pointer;
}

h1 {
    margin-bottom: .5em;
}

p,
ul {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.3;
    color: white;
    margin: .5em 0 0;
}

.container > a {
    text-decoration: none;
    display: flex;
}

a > p,
.navigation > a,
.top-row > p,
.divider {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1.5rem;
    color: var(--gold);
    text-transform: uppercase;
    line-height: 1;
    margin: 1em 0;
}

.navigation > a {
    font-size: 1rem;
    line-height: 1.3;
}

.get-started > p {
    padding-top: 5px;
    white-space: nowrap;
}

.get-started > p,
.get-started > img {
    transition: 0.3s;
}

.get-started:hover {
    cursor: pointer;
}

.get-started:hover > p {
    transform: translateX(-10px);
}

.get-started:hover > img {
    transform: translateX(10px);
}

.top-row > p {
    font-size: 2rem;
    margin: 0 20px 0 0;
}

a:hover > p {
    text-decoration: underline;
}

a > img {
    margin: 0 .5rem;
}

.hide,
#major-quiz > li.hide {
	display: none;
}

#majorQuiz {
    padding: 0;
    opacity: 0;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

#majorQuiz ul {
	list-style: none;
	padding: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

#major-quiz > li {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

#majorQuiz .copy li {
	line-height: 1.3;
    margin-top: .8em;
    font-size: 1rem;
}

#majorQuiz .copy p {
    margin-top: 0;
    font-size: 1rem;
}

#majorQuiz .copy li > a {
    color: var(--gold);
}

#majorQuiz .copy li > a:hover {
    text-decoration: underline;
    cursor: pointer;
}

input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid currentColor;
    border-radius: 50%;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
}

input[type="radio"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--gold);
}

input[type="radio"]:checked::before {
    transform: scale(1);
}

.form-control {
    display: grid;
    grid-template-columns: 1em auto;
    gap: 0.5em;
    align-items: center;
}

.form-control:hover {
    cursor: pointer;
}

.results #majorQuiz ul {
    list-style: inside;
}

.results #majorQuiz ul > li > a {
    color: white;
    text-decoration: none;
}

.results #majorQuiz ul li::marker {
    /*content: "â–¶ ";*/
	content: "\25B6\00a0";
	padding-right:3px;
    color: var(--gold);
    left: -1em;
    position: relative;
}

.top-row {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.top-row img {
    width: 5rem;
    margin: 0 0 0 20px;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navigation > a:not(.disabled):hover {
	color: white;
	cursor: pointer;
}

.divider {
    color: var(--gold);
    padding: 0 1rem;
}

#next,
#previous,
#submit {
    padding-top: 4px;
}

.disabled {
	opacity: .2;
}

.counter {
	color: var(--gold);
}

footer {
	width: 100%;
    height: 10rem;
    background: linear-gradient(to top, #041424db, 60%,transparent);
    background-size: cover;
    position: relative;
}

footer img {
    width: 10rem;
    position: absolute;
    bottom: 3rem;
    left: .5rem;
}

footer .links {
    position: absolute;
    bottom: 1rem;
    left: .5rem;
    font-family: 'Open Sans', Arial, sans-serif;
}

footer .links > * {
	text-align: right;
	margin-left: 1rem;
    white-space: nowrap;
	color: white;
}

footer .links > a {
    text-decoration: none;
	margin-bottom: .5em;
	margin-left: 0;
}

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

/* Loading progress bar */
#overlay {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: var(--light-blue) url(/academics/majors/choose-your-major/images/loading-screen-image.jpg) no-repeat center center fixed;
    background-size: cover;
    transition: 1s 0.4s;
}

#progress {
    height: 1px;
    background: #fff;
    position: absolute;
    width: 0;
    top: 50%;
  }

#progstat {
    position: absolute;
    top: 50%;
    margin-top: -40px;
    width: 100%;
    text-align: center;
    color: white;
}

@media (min-width: 550px) {
	footer img {
		bottom: 1rem;
	}
	
	footer .links {
		right: .5rem;
		left: initial;
	}
}

@media (min-width: 768px) {
    body {
        background: url(/academics/majors/choose-your-major/images/five-students-fall.jpg) no-repeat center center fixed;
        background-size: cover;
    }
	
    div.background-light-box .popup {
        max-width: 30rem;
    }

    header {
        width: 90%;  
        margin: 3rem auto 0 auto;
    }
	
	main {
        width: 90%;
        height: 87%;   
        margin: 1rem auto 2rem auto;
        padding: 2rem;     
    }

    p,
    ul {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .navigation > a {
        font-size: 1.3rem;
    }

    h1,
    h2,
    #majorQuiz .copy p,
    .image-container > div.background-image-0 p,
    div.background-light-box h2 {
        font-size: 1.6rem;
        color: white;
        margin: 1em 0 0;
    }

    div.background-light-box h2 {
        color: var(--blue);
    }

    #majorQuiz .copy li {
        font-size: 1.3rem;
    }

    h1 {
        margin-bottom: .5em;
    }

    #majorQuiz .copy p {
        margin-top: 0;
        font-size: 1.5rem;
    }

    .top-row img {
        width: 10rem;
    }

    .top-row > p {
        font-size: 3rem;
        margin: 0 20px 0 0;
    }

    footer {
        height: 10rem;
        background: linear-gradient(to top, #041424db, 60%,transparent);
        background-size: cover;
    }

    footer img {
	    width: 12rem;
        bottom: 1rem;
        left: 3rem;
    }
	
	footer .links {
        bottom: 1rem;
        right: 1rem;
	}
	
	footer .links > div {
		display: block;
	}
	
    #progstat {
        font-size: 1.6rem;
    }
}

@media (min-width: 1024px) {
    .results .navigation .three-column {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 2rem;
    }
}

@media (min-width: 1280px) {
	header {
		margin: 3rem auto 0 auto;
	    width: 70%;
	}
	
    main {
        margin: 1rem auto 0 auto;
        width: 70%;
        height: auto; 
        min-height: 30rem;       
    }

    p,
    ul {
        font-size: 1.2rem;
    }

    .navigation > a {
        font-size: 1.5rem;
    }

    .copy {
        max-width: 50rem;
    }

    h1 {
        font-size: 3rem;
    }

    h2,
    
    .image-container > div.background-image-0 p,
    div.background-light-box h2 {
        font-size: 2rem;
    }
	
	#majorQuiz .copy p {font-size: 1.8rem;}

    #majorQuiz .copy li {
        font-size: 1.5rem;
    }

    footer {
        height: 15rem;
        background: linear-gradient(to top, #041424db, 60%,transparent);
        background-size: cover;
        margin-top: -5rem;
    }

    footer img {
	    width: 15rem;
        bottom: 1rem;
        left: 5rem;
    }
	
	footer .links {
		display: flex;
		gap: 1rem;
        bottom: 1rem;
        right: 5rem;
	}
}

@media (min-width: 1536px) {
    footer {
        height: 17rem;
    }
}

@media (min-width: 2000px) {
    footer {
        height: 20rem;
    }
}


/* 
@media (min-width: 640px) { ... }
 */
