@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Metrophobic&display=swap');

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

li, a, button {
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #1E1E1E;
    text-decoration: none;
    letter-spacing: 0.15em;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 3%;
    background-color: #FBE7CD;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

.nav_links {
    list-style: none;
    display: flex;
    gap: 5vw;
}

.nav_links li {
    display: inline-block;
}

.nav_links li a {
    transition: all 0.3s ease 0s;
}

.nav_links li a:hover {
    color: #5788C0;
}

header .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

.cta {
    margin-left: auto;
}

button {
    padding: 9px 25px;
    background-color: #FBE7CD;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

button:hover {
    background-color: #5788C0;
}

body {
    margin: 0;
    background-color: #5788C0;
}

h1.title {
    font-family: "Metrophobic", sans-serif;
    font-weight: 400;
    font-size: 48px;
    color: #FBE7CD;
    text-decoration: none;
    -webkit-text-stroke: 1px #FBE7CD;
    letter-spacing: 0.1em;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

.aboutme_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    padding-top: 30px; /* move from under navbar */
}

.aboutme_content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, auto);
    align-items: center;
    gap: 20px;
    text-align: center;
    position: relative;
}

.aboutme_content img {
    max-width: 70%;
    height: auto;
}

.aboutme_content .star1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    rotate: 180deg;
    justify-self: center;
}

.aboutme_content .star1:hover {
    transform: rotate(180deg);
}

.aboutme_content .star2 {
    grid-column: 4 / 5;
    grid-row: 1 / 3;
    rotate: 90deg;
    justify-self: center;
}

.aboutme_content .star2:hover {
    transform: rotate(180deg);
}

.aboutme_content .star3 {
    grid-column: 1 / 2;
    grid-row: 3 / 5;
    justify-self: center;
}

.aboutme_content .star3:hover {
    transform: rotate(180deg);
}

.aboutme_content .star4 {
    grid-column: 4 / 5;
    grid-row: 3 / 5;
    justify-self: center;
    z-index: 11;
}

.aboutme_content .star4:hover {
    transform: rotate(180deg);
}

.aboutme_content .me {
    position: absolute;
    left: 58%;
    top: 45%;
    width: 55%;
    max-width: 550px;
    z-index: 10;
}

.aboutme_content .content {
    grid-column: 2 / 4;
    grid-row: 1 / 5;
    margin-left: 10%;
    margin-right: 10%;
    padding: 10%;
    background-color: #FBE7CD;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #1E1E1E;
    text-decoration: none;
}

.special-link {
    color: #5788C0;
    letter-spacing: 0.1em;
    transition: all 0.3s ease 0s;
}

.special-link:hover {
    color: #141e29;
}

@media (max-width: 768px) {
    .aboutme_content .star1,
    .aboutme_content .star2,
    .aboutme_content .star3,
    .aboutme_content .star4,
    .aboutme_content .me {
        display: none;
    }

    .aboutme_content .content {
        grid-column: 1 / 5;
        padding: 20px;
    }
}

@media (max-width:1050px) {
    header .logo {
        display: none;
    }
}