body, html {
    height: 100%;
    margin: 0 auto;
    font-family: 'Helvetica';
}

.page-top {
    padding-top: 10vh;
    width: 100vw;
    height: 48vh;
    padding-bottom: 3vh;
    background-color: #53B4C0;
}

.page-heading {
    color: #062023;
    margin-left: 15vw;
    margin-right: 15vw;
    font-size: 4em;
    margin-bottom: 1vh;
}

.page-details {
    color: #062023;
    margin-left: 15vw;
    margin-right: 15vw;
    font-size: 1.5em;
    
}

.page-breadcrumb {
    color: #062023;
    margin-left: 15vw;
    margin-right: 15vw;
    font-size: 1.2em;
    font-style: italic;
    margin-bottom: 2vh;
    margin-top: 0;
}

.page-breadcrumb + .page-heading {
    margin-top: 1vh;
}

@media screen and (max-width: 1200px) {
    .page-heading {
        margin-left: 10vw;
        margin-right: 10vw;
        font-size: 3.5em;
    }
    .page-details {
        margin-left: 10vw;
        margin-right: 10vw;
        font-size: 1.3em;
    }
    .page-breadcrumb {
        margin-left: 10vw;
        margin-right: 10vw;
        font-size: 1em;
    }
    .heading-long {
        font-size: 2.5em;
    }
}
@media screen and (max-width: 650px) {
    .page-top {
        height: 50vh;
        padding-top: 10vh;
    }
    .page-heading {
        margin-left: 5vw;
        margin-right: 5vw;
        font-size: 3.5em;
    }
    .page-details {
        margin-left: 5vw;
        margin-right: 5vw;
        font-size: 1.3em;
    }
    .page-breadcrumb {
        margin-left: 5vw;
        margin-right: 5vw;
        font-size: 1em;
    }
    .heading-long {
        font-size: 2.5em;
    }
}

@media screen and (max-height: 600px) {
    .page-top {
        height: 50vh;
    }
    .page-details {
        font-size: 1.2em;
    }
    .page-heading {
        font-size: 3em;
    }
    .page-breadcrumb {
        margin-top: 2vh;
    }
    .heading-long {
        font-size: 2em;
    }
}


@media screen and (max-width: 400px) {
    .page-top {
        height: 50vh;
    }
    .page-details {
        font-size: 1.2em;
    }
    .page-heading {
        font-size: 3em;
    }
    .heading-long {
        font-size: 2em;
    }
}


.link {
    color: #062023;
    font-style: italic;
    text-decoration: none;
    /* font-size: 1.2em; */
    /* text-decoration: underline; */
    font-weight: bold;
}
.link:hover {
    color: #104e56;
    text-decoration: underline;
    cursor: pointer;
}

.tilt-back-right {
    transform: rotate(-5deg);
    transition: ease-in-out 0.5s;
}

.tilt-back-left {
    transform: rotate(5deg);
    transition: ease-in-out 0.5s;
}
.tilt-back-right:hover, .tilt-back-left:hover {
    transform: rotate(0deg);
}

.polaroid-border {
    border: #ffffff 10px solid;
    border-bottom: #ffffff 25px solid;
}

/* Hero */


.hero {
    height: 95vh;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1)), url("../background.jpg") no-repeat center center; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    /* background-attachment: fixed; */ /* Not supported in Safari */

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Not supported in Safari -> This check doesn't work either because it's "supposed" to be supported */
/* @supports (background-attachment: fixed) {
    .hero {
        background-attachment: fixed;
    }
} */

.profile-picture {
    display: flex;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid #fff;
    margin: 20px;
}

.hero-text > h1 {
    color: #fff;
    font-size: 3em;
    text-align: left;
    margin-top: 0;
    margin-left: 20px;
    margin-bottom: 0;
}

@media (max-width: 400px) {
    .profile-picture {
        width: 210px;
        height: 210px;
    }

    .hero-text > h1 {
        font-size: 2em;
        margin-left: 10px;
    }
}

/* About */

.intro {
    margin-bottom: 2vh;
}

.intro-heading, .achievements-heading, .hobbies-heading {
    font-size: 3em;
    color: #104e56;
    font-weight: 600;
    margin-top: 5vh;
    margin-bottom: 5vh;
    text-align: center;
}

.intro-big-heading-container {
    padding: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.intro-big-heading-container > div {
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;
}


.intro-big-heading-img {
    max-width: 35%;
    height: 35%;
    border: #062023 10px solid;
    border-bottom: #062023 25px solid;
    display: flex;
    transform: rotate(-5deg);
    transition: ease-in-out 0.5s;
}

.intro-big-heading-img:hover {
    transform: rotate(0deg);
}

.intro-big-heading-text {
    font-size: 1.5em;
    padding-right: 17px;
    color: #104e56;
    font-weight: 500;
    margin-top: 3vh;
    margin-bottom: 3vh;
    text-align: left;
}

@media (max-width: 900px) {
    .intro-heading, .achievements-heading, .hobbies-heading {
        font-size: 2em;
        margin-top: 4vh;
        margin-bottom: 1vh;
    }
    .intro-big-heading-container > div {
        width: 80%;
    }

    .intro-big-heading-img {
        max-width: 60%;
        height: 60%;
    }

    .intro-big-heading-text {
        font-size: 1.2em;
        margin-top: 2vh;
        margin-bottom: 2vh;
    }
}

@media (max-width: 576px) {
    .intro-big-heading-container > div {
        width: 100%;
    }

    .intro-big-heading-img {
        max-width: 70%;
        height: 70%;
    }
}

/* Achievements */

.achievements {
    background-color: #fff;
    padding: 20px;
}

.achievements-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.achievements-box {
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px;
    padding: 20px;
    border-radius: 10px;
    background-color: #53B4C0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


.achievements-data {
    max-width: 50%;
}

.achievements-date {
    font-size: 1em;
    font-weight: lighter;
    color: #104e56;
    margin-top: 0;
    margin-bottom: 5px;
}

.achievements-title {
    margin-top: 5px;
    font-size: 1.8em;
    font-weight: bold;
    color: #062023;
    margin-bottom: 5px;
}

.achievements-text {
    font-size: 1.1em;
    color: #062023;
    margin-bottom: 10px;
}


.achievements-box > img {
    max-width: 40%;
    height: auto;
}

@media (max-width: 600px) {
    .achievements-heading {
        margin-bottom: 4vh;
    }
    .achievements-box {
        width: 90%;
        flex-direction: column;
    }
    .achievements-data {
        max-width: 95%;
    }
    .achievements-box > img {
        margin-top: 30px;
        max-width: 90%;
        height: auto;
    }
}

/* Hobbies */

.hobbies {
    background-color: #062023;
}

.hobbies-heading {
    color: #fff;
    padding-top: 4vh;
    margin-top: 1vh;
    margin-bottom: 1vh;
}
.hobbies-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3vh;
}

.hobbies-box {
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px;
    padding: 20px;
    border-radius: 10px;
    background-color: #53B4C0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.hobbies-data {
    max-width: 50%;
    padding-top: 2vh;
    padding-bottom: 2vh;
}

.hobbies-title {
    margin-top: 5px;
    font-size: 1.8em;
    text-align: left;
    font-weight: bold;
    color: #062023;
    margin-bottom: 5px;
}

.hobbies-text {
    font-size: 1.1em;
    color: #062023;
    margin-bottom: 10px;
}

.hobbies-box > img {
    max-width: 40%;
    height: auto;
}

@media (max-width: 600px) {
    .hobbies-box {
        width: 90%;
        flex-direction: column-reverse;
    }
    .hobbies-data {
        max-width: 95%;
    }
    .hobbies-box > img {
        margin-top: 30px;
        max-width: 90%;
        height: auto;
    }
}

/* FOOTER */

footer {
    background-color: #1393a4;
    color: #fff;
    padding: 0;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-flex {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-links {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.link-group {
    display: flex;
    flex-direction: column;
    align-items: left;
    padding: 5px;
    color: #062023;
}

.link-group-heading {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 1vh;
    margin-bottom: 1vh;
}

.link-group-list {
    list-style-type: none;
    text-align: left;
    padding: 0;
}

.link-group-list > li{
    margin: 5px;
}

.footer-end-text {
    margin-top: 3vh;
    margin-bottom: 3vh;
    color: #062023;
}

@media (max-width: 600px) {
    .footer-flex {
        width: 90%;
    }
}

.footer-link {
    color: #062023;
    text-decoration: none;
    font-weight: 300;
}

.footer-link:hover {
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.social-links-active {
    animation: highlight 1.5s forwards;
    border-radius: 5px;
}

.social-links-active > ul > li > a {
    animation: child-highlight 1.5s forwards;
}

@keyframes highlight {
    0% { background-color: initial;}
    50% { background-color: #062023; color: #53B4C0;}
    100% { background-color: initial;}
}

@keyframes child-highlight {
    0% { color: initial; }
    50% { color: #53B4C0; text-decoration: underline;}
    100% { color: initial; }
  }