@charset "utf-8";

img {
    display: block;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 35px;
    margin-bottom: 35px;
    width: 15%;
    border-radius: 15%;
    display: block;
    border-color: #1c3041;
    border-style: solid;
    border-width: 3px;
}

/* I used the Story Script google font for this website */
/* url for the story script font is: https://fonts.google.com/specimen/Story+Script */

p, h1, h2, h3, h4, h5, h6 {
    padding-left: 30px;
    padding-right: 30px;
    color: #1c3041;
    font-family: "Convergence", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.4;
}

h1 {
    font-size: 50px;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}

h2 {
    font-size: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}

p {
    font-size: 19px;
}

.p-pad-bottom {
    padding-bottom: 15px;
}

.p-pad-top-bottom-30 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.top-margin-25vh {
    margin-top: 25vh;
}

.auto-margin {
    margin: auto;
}

a {
    font-family: "Convergence", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 22px;
    text-decoration: none;
    color: white;
    margin-left: 35px;
    margin-right: 35px;
    margin-top: 10px;
    margin-bottom: 10px;
}


ul {
    list-style-type: none;
}

body {
    background-color: #FFFDD0;
}

.black-border {
    border-style: solid;
    border-color: black;
    border-width: 4px;
}

.bottom-border {
    border-bottom: 4px solid #1c3041;
}

.blue-bg {
    background-color:#1c3041;
}

.blue-box {
    background-color: #1c3041;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.center-align {
    text-align: center;
}

.fix-overflow {
    overflow: auto;
}

.container {
    display: flex;
    align-items: center;
}

.navbar {
    background-color: #1c3041;
    display: flex;
    gap: 20px;
    justify-content: left;
    overflow-x: scroll;
    white-space: nowrap;
    border-radius: 15px;
    font-family: sans-serif;
}

.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    color: white;
    text-align: center;
    padding: 6px 12px;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 15px;
    margin-right: 15px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.navbar ul li {
    width: 10.4vw;
}

.custom-size {
    font-size: 2.3vw;
}

.footbar ul li {
    width: 148px;
}

/* This code is from some stack overflow pages and also w3schools */
/* url for the w3schools tutorial: https://www.w3schools.com/w3css/w3css_navigation.asp */

.navbar li:hover {
    background-color: #7180ac;
    border-radius: 12px;
}

.navbar li:active {
    background-color: #50723c;
}

/* this is for the navbar at the bottom with buttons to external links */

.footbar {
    background-color: #1c3041;
    display: flex;
    gap: 20px;
    justify-content: center;
    overflow: hidden;
    border-radius: 15px;
    font-family: sans-serif;
    margin-bottom: 10px;
}

.footbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    color: white;
    text-align: center;
    padding: 6px 12px;
    margin: 15px;
    text-decoration: none;
    transition: background-color 0.3s;
}


.footbar li:hover {
    background-color: #7180ac;
    border-radius: 12px;
}

.footbar li:active {
    background-color: #50723c;
}


i {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* For custom circle cursor (I got this from w3schools) */
/* url for the tutorial: https://developer.mozilla.org/en-US/docs/Web/CSS/cursor */

.custom-cursor {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"><circle cx="9" cy="9" r="9" fill="%231c3041"/></svg>') 10 10, auto;
}

.custom-cursor input, .custom-cursor textarea, .custom-cursor [contenteditable="true"] {
    cursor: auto;
}

/* For hover transitions of navbar icons (again, from mozilla and w3schools) */
/* url for tutorial: https://www.w3schools.com/cssref/sel_after.php */
/* another url I used: https://developer.mozilla.org/en-US/docs/Web/CSS/::after */

/* NOTE: I used these resources for the first icon and assigned separate classes to each icon and replicated the properties */

.navbar ul li .home {
    position: relative;
    display: inline-block;
    text-align: center;
}

.navbar ul li .home::after {
    content: "Home";
    font-size: 2.2cqw;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.navbar ul li .home:hover {
  color: transparent;
}

.navbar ul li .home:hover::after {
  opacity: 1;
  color: white;
}


.navbar ul li .user {
    position: relative;
    display: inline-block;
    text-align: center;
}

.navbar ul li .user::after {
    content: "About\00a0Me";
    font-size: 2cqw;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.navbar ul li .user:hover {
  color: transparent;
}

.navbar ul li .user:hover::after {
  opacity: 1;
  color: white;
}


.navbar ul li .calc {
    position: relative;
    display: inline-block;
    text-align: center;
}

.navbar ul li .calc::after {
    content: "Math";
    font-size: 2.2cqw;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.navbar ul li .calc:hover {
  color: transparent;
}

.navbar ul li .calc:hover::after {
  opacity: 1;
  color: white;
}


.navbar ul li .laptop {
    position: relative;
    display: inline-block;
    text-align: center;
}

.navbar ul li .laptop::after {
    content: "CS";
    font-size: 2.2cqw;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.navbar ul li .laptop:hover {
  color: transparent;
}

.navbar ul li .laptop:hover::after {
  opacity: 1;
  color: white;
}


.navbar ul li .book {
    position: relative;
    display: inline-block;
    text-align: center;
}

.navbar ul li .book::after {
    content: "Humanities";
    font-size: 1.8cqw;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.navbar ul li .book:hover {
  color: transparent;
}

.navbar ul li .book:hover::after {
  opacity: 1;
  color: white;
}


.navbar ul li .flask {
    position: relative;
    display: inline-block;
    text-align: center;
}

.navbar ul li .flask::after {
    content: "STEM\00a0I";
    font-size: 2.2cqw;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.navbar ul li .flask:hover {
  color: transparent;
}

.navbar ul li .flask:hover::after {
  opacity: 1;
  color: white;
}


.navbar ul li .cogs {
    position: relative;
    display: inline-block;
    text-align: center;
}

.navbar ul li .cogs::after {
    content: "STEM\00a0II";
    font-size: 2.2cqw;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.navbar ul li .cogs:hover {
  color: transparent;
}

.navbar ul li .cogs:hover::after {
  opacity: 1;
  color: white;
}


.navbar ul li .rocket {
    position: relative;
    display: inline-block;
    text-align: center;
}

.navbar ul li .rocket::after {
    content: "Physics";
    font-size: 2.2cqw;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.navbar ul li .rocket:hover {
  color: transparent;
}

.navbar ul li .rocket:hover::after {
  opacity: 1;
  color: white;
}


.navbar ul li .globe {
    position: relative;
    display: inline-block;
    text-align: center;
}

.navbar ul li .globe::after {
    content: "Spanish";
    font-size: 2.2cqw;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.navbar ul li .globe:hover {
  color: transparent;
}

.navbar ul li .globe:hover::after {
  opacity: 1;
  color: white;
}

#fade-in-text {
    opacity: 0;
    transition: opacity 2s ease-in;
}

/* the same properties as the navbar but for the footer */

.footbar ul li .tutor {
    position: relative;
    display: inline-block;
    text-align: center;
}

.footbar ul li .tutor::after {
    content: "Tutoring";
    font-size: 2.2cqw;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.footbar ul li .tutor:hover {
  color: transparent;
}

.footbar ul li .tutor:hover::after {
  opacity: 1;
  color: white;
}

.footbar ul li .news {
    position: relative;
    display: inline-block;
    text-align: center;
}

.footbar ul li .news::after {
    content: "Debate";
    font-size: 2.2cqw;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.footbar ul li .news:hover {
  color: transparent;
}

.footbar ul li .news:hover::after {
  opacity: 1;
  color: white;
}

.footbar ul li .puzzle {
    position: relative;
    display: inline-block;
    text-align: center;
}

.footbar ul li .puzzle::after {
    content: "Math\00a0Team";
    font-size: 1.9cqw;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.footbar ul li .puzzle:hover {
  color: transparent;
}

.footbar ul li .puzzle:hover::after {
  opacity: 1;
  color: white;
}

.footbar ul li .bulb {
    position: relative;
    display: inline-block;
    text-align: center;
}

.footbar ul li .bulb::after {
    content: "Science\00a0""Fair";
    font-size: 1.8cqw;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.footbar ul li .bulb:hover {
  color: transparent;
}

.footbar ul li .bulb:hover::after {
  opacity: 1;
  color: white;
}