* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: 18px;
    font-family: "Roboto Serif", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #f5f5ff;
    font-variation-settings:
        "wdth" 100,
        "GRAD" 0;
    background-color: #384959;
}

.main {
    display: flex;
    flex-wrap: wrap;
    width: 960px;
    max-width: none;
    margin: 0 auto;
    flex-direction: column;
}

.main-photo {
  display: block;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: brightness(70%);
}

.welcome-page {
    position: relative;
}

hr {
    width: 70px;
    height: 5px;
    border-radius: 20px;
    background: linear-gradient(to right, #6A8987, #88BDF2, #BDDDFC); 
    border: none;
    margin-top: 20px;
}

.content {
    display: flex;
    position: absolute;
    bottom: 350px;
    left: 50px;
    flex-direction: column;
}

.content h1 {
    padding-bottom: 10px;
    background: linear-gradient(to right, #ffffff, #cfcfcf, #8a8a8a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    font-family: "Russo One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.content p {
    color: #FEFEFE;
    font-size: 1.0em;
    padding-bottom: 10px;

    font-family: "Russo One", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.bi-arrow-down-circle {
    height: 50px;
    width: 50px;
    color: #FEFEFE;
    padding: 10px 0px 0px 0px;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#main-content.animate {
    animation: appear 1s linear;
}

.hc-diploma:link {
    text-decoration: none;
}

.work-experience h5,
.education h5,
.extracurriculars h5,
.awards-and-honors h5 {
    font-weight: 200;
    font-style: italic;
    padding: 5px 0px 10px 0px;
}

.education-content ul,
.extracurricular-content ul,
.work-experience-content ul,
.projects-content ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.education-content li,
.extracurricular-content li,
.work-experience-content li,
.projects-content li {
    display: flex;
    flex-direction: row;
    border: 1px solid rgba(134, 134, 172, 0.5);
    flex-wrap: wrap;
    width: 300px;
    height: 300px;
    position: relative;
    align-items: center;
    justify-content: center;
    align-content: center;
    text-align: center;
    border-radius: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    margin-top: 10px;
    background-color: #6A89A7;
    padding: 10px 20px 10px 30px;
    box-shadow: 
        0 0 10px rgba(134, 134, 172, 0.3),   
        0 0 30px rgba(134, 134, 172, 0.2), 
        0 0 60px rgba(80, 80, 129, 0.15),    
        0 10px 40px rgba(0, 0, 0, 0.4); 
}

.education-content a,
.projects-content a {
    color: #BDDDFC;
}

.award-with-badge {
    display: flex;
    align-items: center;
    gap: 15px;
}

.credly-badge {
    display: inline-block;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    background-color: black;
    height: 350px;
}
.pill-button {
    display: flex;
    border: 1px solid white;
    border-radius: 30px;
    width: 300px;
    height: 55px;
    justify-content: center;
    align-items: center;
    gap: 5px;
    color: white;
    margin: 30px auto 0 auto;
}

.pill-button span {
    font-size: 1.2em;
}
.pill-button:link {
    text-decoration: none;
    color: white;
}

.pill-button:hover {
    color: #70ABFF;
    background-color: white;
    transition: 0.3s;
}

.pill-button:active {
    color: #70ABFF;
    background-color: white;
    transition: 0.3s;
}
.link-bar ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
    gap: 10px;
}

.link-bar {
    display: flex;
    justify-content: center;
    padding-top: 30px;
}

.link-bar svg {
    display: block;
    width: 35px;
    height: 35px;
    color: white;
}

#google-drive-icon,
#goodreads-icon,
#linkedin-icon {
    width: 43px;
    height: 43px;
    display: flex;
    position: relative;
    bottom: 4px;
    margin-left: 1px;
    color: white;
}

#coursera-icon {
    width: 42px;
    height: 42px;
    display: flex;
    position: relative;
    margin-left: 1px;
    background-color: white;
    color: white;
    margin-top: -3px;
}
.bi-github {
    margin-right: 5px;
}

#linkedin-icon {
    background-color: white;
}

.link-bar svg:hover {
    color: #70ABFF !important;
    transition: 0.3s;
}

#linkedin-icon:hover,
#coursera-icon:hover {
    background-color: #70ABFF;
    transition: 0.3s;
}

footer code {
display: flex;
justify-content: center;
padding: 10px 0px 10px 0px;
padding-top: 20px;
color: white;
font-size: 0.9em;
}

footer h1 {
    color: white;
    font-size: 2.3em;
}

@media only screen and (max-width: 401px) {
    body,
    footer {
        width: 50%;
        margin: 0 auto;
    }
}
/* Colour palette for website: #6A89A7 #BDDDFC #88BDF2 #384959 */