/* Vars */
:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --tte-blue: #0696cf;
    --tte-orange: #cf9730;
    --btn-text: #000000;
}

body {
    font-family: "Arial", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

h1, h2 {
    text-align: center;
}

/* Header CSS */
.navbar {
    display: flex;
    align-items: center;
    padding: 10px 20px;
}

.navbar img {
    height: 80px;
    width: 240px;
    object-fit: cover;
}

.menu-items {
    display: flex;
    flex-direction: row;
    align-self: center;
}

.menu-items a {
    font-size: 20px;
    color: var(--text-color);
    text-decoration: none;
    text-align: center;
    padding: 0 20px;
}

.menu-items a:hover, .menu-items a:focus {
    color: var(--tte-blue);
}

.navbar label, #hamburger {
    display: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    padding-top: 1em;
    min-width: 160px;
    background-color: var(--tte-blue);
    opacity: 0.9;
    z-index: 1;
}

@media screen and (min-width: 768px) {
    .dropdown-content a {
        color: var(--bg-color);
        background-color: var(--tte-blue);
        text-decoration: none;
        padding: 0.8em 1em;
        display: block;
    }

    .dropdown-content a:hover, .dropdown-content a:focus {
        background-color: var(--bg-color);
        color: var(--tte-blue);
        opacity: 1;
    }

    .dropdown:hover .dropdown-content {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .menu-items a {
        box-sizing: border-box;
        display: block;
        width: 100%;
        text-align: right;
        padding: 0.5em 20px;
    }

    .navbar label {
        display: inline-block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.8em;
        padding: 10px;
    }

    .menu-items {
        display: none;
        flex-direction: column;
        width: 100%;
        padding-top: 4em;
    }

    .navbar input:checked ~ .menu-items {
        display: flex;
    }
}

/* Main Banner CSS */
.main-banner {
    display: flex;
    height: 400px;
    position: relative;
}

.main-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.main-banner-text-box {
    position: absolute;
    top: 20%;
    left: 5%;
    width: 30%;
    background-color: var(--tte-blue);
    box-shadow: 5px 5px var(--text-color);
    opacity: 0.9;
    padding: 20px;
}

@media only screen and (max-width: 768px) {
    .main-banner {
        height: 300px;
    }

    .main-banner-text-box {
        top: 25%;
        width: 50%;
        padding: 10px;
    }
}

.main-banner-text-box h1 {
    margin: 0 0 10px;
    text-align: left;
    background-color: transparent;
    color: var(--bg-color);
    font-style: italic;
}

/* Program Buttons */
.program-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
}

.program-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 120px;
    background-color: var(--bg-color);
    border: 5px solid var(--tte-blue);
    color: var(--btn-text);
    border-radius: 10px;
    font-size: 20px;
    text-align: center;
    margin: 10px;
    padding: 10px;
    text-decoration: none;
}

.program-btn:hover, .program-btn:focus {
    background-color: var(--text-color);
    color: var(--tte-blue);
    cursor: pointer;
}

/* Home Page Text */
.home-page-text {
    max-width: 800px;
    margin: 1em auto;
    padding: 0 20px;
}

.home-page-text p {
    margin: 1em 0;
}

/* Section Boxes */
.section-boxes {
    background-color: var(--tte-orange);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.boxes {
    flex: 0 0 300px;
    border: 5px solid var(--text-color);
    height: 300px;
    margin: 10px;
    text-align: center;
    position: relative;
}

.boxes img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.boxes a {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: var(--tte-blue);
    color: var(--bg-color);
    font-size: 20px;
    text-decoration: none;
    opacity: 0.9;
    box-shadow: 5px 5px var(--text-color);
}

.boxes a:hover, .boxes a:focus {
    opacity: 1;
    background-color: var(--bg-color);
    color: var(--tte-blue);
}

/* Footer CSS */
.footer-bar {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

.footer-bar img {
    height: 180px;
    width: 180px;
    object-fit: cover;
}

.legal {
    width: 20%;
    margin: 1em;
}

.social {
    width: 30%;
    margin: 1em;
}

.tte-info {
    width: 30%;
    margin: 1em;
}

@media screen and (max-width: 768px) {
    .legal, .social, .tte-info {
        width: 100%;
        margin: 0.5em 1em;
    }
}

.fa {
    padding: 1.2em;
    width: 1.2em;
    margin: 0.5em;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
}

.fa:hover, .fa:focus {
    opacity: 0.7;
}

.fa-instagram {
    background: #E1306C;
    color: white;
}

.fa-facebook {
    background: #3B5998;
    color: white;
}

.fa-twitter {
    background: #1DA1F2;
    color: white;
}

.fa-youtube {
    background: #FF0000;
    color: white;
}

/* SAT Practice Page CSS */
.passage {
    margin-bottom: 20px;
    padding: 10px;
}

.vert-line {
    border-left: 1px solid var(--text-color);
    height: 100px;
    margin: 0 20px;
}

.question-box {
    padding: 10px;
}

.number-bar {
    font-weight: bold;
    margin-bottom: 10px;
}

.answers {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.ans-letter {
    width: 20px;
    font-weight: bold;
    margin-right: 10px;
}

.error {
    color: red;
    font-weight: bold;
    text-align: center;
}

/* Program Pages CSS */
.program-banner {
    display: flex;
    position: relative;
}

.program-banner img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: 50% 50%;
}

.program-banner-text-box {
    position: absolute;
    top: 40%;
    left: 5%;
    width: 30%;
    background-color: var(--tte-blue);
    opacity: 0.9;
    padding: 10px;
}

.program-info {
    max-width: 800px;
    margin: 1em auto;
    padding: 0 20px;
}

@media screen and (max-width: 768px) {
    .program-banner {
        flex-direction: column;
    }

    .program-banner img {
        height: 150px;
    }

    .program-banner-text-box {
        position: static;
        width: 90%;
        margin: 10px auto;
    }

    .program-info {
        width: 90%;
        margin: 10px auto;
    }
}

/* Instructor Page CSS */
.instructor {
	display: flex;
}

.instructor img {
    width: 300px;
    height: 300px;
    padding: 20px;
	object-fit: cover;
	object-position: 0 50%;
}

.instructor h3 {
    position: absolute;
    margin-left: 80px;
    margin-top: 260px;
    font-size: 48px;
	color: var(--tte-blue);
	background: rgb(255, 255, 255, .1);
}

.instructor-text-box {
    display: flex;
	position: relative;
    width: 480px;
    height: 300px;
    align-items: center;
	margin: 1em;
	padding: 0em 2em;
	background: rgb(207, 151, 48, .8);
}


@media screen and (max-width: 768px){
    	
    .instructor img {
        width: 300px;
        height: 300px;
    	object-fit: cover;
    	object-position: 0 50%;
    }
    
    .instructor-text-box {
    	position: relative;
    	align-items: center;
    	top: 50%;
    	left: 5%;
    	width: 90%;
    	padding: 0em .5em;
    	opacity: .75;
    }
}

/* SAT Practice Test */
    .practice-test {
        display: flex;
    }
    
    .passage {
        width: 40%;
        border: 2px solid black;
        margin: 5%;
    }
    
    .vert-line {
        border: 2px solid gray;
        height: 100%
        width: 5px;
        margin: 0em 0em 1em 0em;
    }

    .question-box {
        display: flex;
        flex-direction: column;
        overflow: scroll;
        width: 40%;
        margin: 5%;
    }
    
    .number-bar {
        width: 100%;
        background: gray;
        padding: 0em;
    }
    
    .number-bar span {
        background: black;
        color: white;
    }
    
    .answers {
        display: flex;
        max-width: 100%;
        border: 1px solid black;
        padding: 1em;
        margin: 1em 0em;
        border-radius: 1em;
    }
    
    .ans-letter {
        max-width: 1.2em;
        max-height: 1.2em;
        border: 1.5px solid black;
        padding: .1em .3em .1em .3em;
        margin: 0em 1em 0em 0em;
        border-radius: 2em;
        align-items: flex-start;
        
    }
    
    .subpassage {
        padding-left: 5em;
    }
    
/* SAT Practice Buttons */
.practice-btns {
    display: flex;
    background: var(--tte-orange);
    overflow: scroll;
    justify-content: center;
    padding: 1em;
    margin: 2em;
    border: .2em solid var(--tte-blue);
    border-radius: 2em;
    vertical-align: text-bottom;
}

.practice-btns h3 {
    position: absolute;
    left: 5em;
    top: 15em;
	background-color: var(--tte-orange);
}

.practice-btns button {
    display: flex;
    justify-content: center;
    align-items: center;
	height: 120px;
	width: 240px;
	background-color: var(--tte-blue);
	border: .2em solid black;
	color: var(--bg-color);
	border-radius: 2em;
	font-size: 20px;
	text-align: center;
	margin: 2em;
	padding: 1em;
}

.practice-btns button:hover {
	background-color: var(--text-color);
	color: var(--tte-blue);
}
