@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=PT+Sans+Caption:wght@400;700&display=swap');

.pt-sans-caption-regular {
    font-family: "PT Sans Caption", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.pt-sans-caption-bold {
    font-family: "PT Sans Caption", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.noto-sans-regular {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
    background-color: #FFFCF0;
}

body {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-family: "PT Sans Caption", sans-serif;
    font-weight: 700;
    font-size: 50px;
    margin: 0;
}

h2 {
    font-family: "PT Sans Caption", sans-serif;
    font-weight: 400;
    font-size: 35px;
    margin: 0;
}

p {
    font-family: "Noto Sans", sans-serif;
    font-size: 25px;
}

a {
    text-decoration: none;
}

#headshot {
    width: 40%;
}

#name {
    margin-top: 5px;
}

#description {
    width: 40%;
    margin: 100px 0;
    color: #143143;
}

#header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.greeting-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    border-radius: 7px;
    margin: 0;
    margin-bottom: 20px;
}

.greeting-track {
    display: inline-block;
    white-space: nowrap;
    animation: carousel 20s linear infinite;
}

.greeting-text {
    display: inline;
    font-family: "PT Sans Caption", sans-serif;
    font-size: 75px;
    color: #0B5989;
    margin: 0;
}

@keyframes carousel {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

#section-header {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 20px;
    color: #143143;
}

#projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.project-display {
    position: relative;
    flex-shrink: 0;
    width: 350px;
    aspect-ratio: 1 / 1;
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: left;
    overflow: hidden;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

.project-display:hover {
    transform: translate(5px, -5px);
    border-radius: 5px;
    box-shadow: 0 8px 20px #0e68a088;
}

.label{
    position: relative;
    z-index: 2;
    margin: 20px 20px 5px 20px;
    width: 30%;
    height: 20px;
    background-color: #0B5989;
    border-radius: 5px;
    border: none;
    color: #FFE375;
    font-size: 10px;
}

.project-title {
    position: relative;
    z-index: 2;
    margin: 5px 20px;
    color: #FFE375;
    text-shadow: 2px 2px 5px #0B5989;
}

#hobbies {
    font-size: 24px;
}

#locations {
    font-size: 16px;
}

.star-button {
    margin: 20px;
    width: 150px;
    height: 150px;
    aspect-ratio: 1/1;
    background: #FFE375;
    color: #143143;
    font-family: "PT Sans Caption", sans-serif;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    /* making button a star shape */
    clip-path: polygon(
        50% 0%, 61% 35%, 98% 35%, 68% 57%, 
        79% 91%, 50% 70%, 21% 91%, 32% 57%, 
        2% 35%, 39% 35%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 0;
    border: none;
    transition: color 0.3s ease;
    text-decoration: none;
}

#github-button {
    /* wanted the stars not to be aligned so using random numbers here */
    margin: 30px 50px;
}

#linkedin-button {
    /* wanted the stars not to be aligned so using random numbers here */
    margin: 55px 30px;
}

#logo-display {
    display: flex;
    justify-content: center;
}

#footer-top, 
#footer-bottom {
    border: 1px solid #0B5989;
    border-radius: 5px;
    width: 90%;
}

#footer-top {
    margin-top: 20px;
}

#logo {
    width: 25%;
    margin: 20px;
}

#footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

#footer-text {
    width: 50%;
    color: #143143;
}

#footer-stars {
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer-text,
#footer-stars {
    flex: 1 1 300px;
    text-align: center;
}


@media (max-width: 768px) {
    #header {
        flex-direction: column;
        align-items: center;
    }

    #headshot, #description {
        width: 90%;
        margin: 10px 0;
    }

    .greeting-text {
        font-size: 40px;
    }    

    .label {
        font-size: 8px;
    }

    #footer {
        flex-direction: column;
        align-items: center;
    }

    #footer-text {
        width: 90%;
        text-align: center;
        margin: 10px 0 0 0;
    }

    #footer-stars {
        justify-content: center;
        flex-wrap: wrap;
    }

    .star-button {
        margin: 10px;
        width: 120px;
        height: 120px;
        font-size: 12px;
    }

    #github-button, #linkedin-button {
        margin: 0 10px 10px 10px;
    }
}


