/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
}

section {
    background-color: white;
}

.hero {
    background-color: white;
    height: 100px;
    color: grey;
    font-size: 40px;
    text-align-last:right;
    border-bottom: 1px solid grey;
    align-items: right;
}

nav {
    display: flex;
    justify-content: start;
}

ul {
    display: flex;
    list-style-type: none;
    justify-content: space-around;
    width: 500px;
    font-size: 30px;
}

li {
    text-decoration: none;
}

h1 {
    font-size: 90px;
    margin: 0
}

h2 {
    font-size: 50px;
}

h3 {
    margin: 5px;
}

h4 {
    margin: 10px;
}

p {
    margin: 10px;
    font-weight: 300;
    font-size: 30px;
}

.subtext {
    font-size: 15px;
    font-weight: 300;
}

.hero-area {
    display: flex;
    height: 100%;
    justify-content: space-between;
    align-items: center;
}

.hero-text {
    margin-left: 40px;
    margin-bottom: 200px;
}

.button {
    width: 200px;
    height: 55px;
    background-color: coral;
    border-radius: 30px;
    text-align: center;
    font-weight: 300;
    font-size: 30px;
    padding-top: 5px;
    margin-top: 20px; 
}

.button:hover {
    background-color: #ef744b;
}

.button:active {
    background-color: #898989;
    color: #808080;
}

.sub-section {
    display: flex;
    justify-content: space-around;
    padding: 50px;
    border-bottom: 1px solid grey;
}

.sub-section-alternative {
    display: flex;
    flex-direction: column;
    padding: 50px;
    text-align: center;
    border-bottom: 1px solid grey;
}

.headshot {
    width: 300px;
    border-radius: 150px;
}

.headshot-container {
    display: flex;
    align-items: center;
}

.experience-card {
    width: 400px;
    height: 700px;
    box-shadow: 5px 5px 20px grey;
    margin: 10px;
    text-align: center;
}

.experience-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.experience-image {
    margin-top: 10px;
    width: 80px;
}

hr {
    margin-left: 20px;
    margin-right: 20px;
}

.technology {
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
}

.work {
    height: 500px;
}

.footer {
    height: 40px;
    background-color: white;
    padding: 50px;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.socials {
    text-align: center;
}

.social {
    margin: 20px;
    border: 1px solid white;
}

a {
    text-decoration: none;
    color: grey;
}

/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
    .hero {
        font-size: 30px;
        height: auto;
        text-align: center;
        padding: 20px 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        font-size: 20px;
    }

    .sub-section {
        flex-direction: column;
        padding: 20px;
    }

    .headshot {
        width: 200px;
        border-radius: 100px;
    }

    .experience-container {
        flex-direction: column;
        align-items: center;
    }

    .experience-card {
        width: 90%;
        margin: 20px 0;
    }

    h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 40px;
    }

    p {
        font-size: 20px;
    }

    .button {
        width: 150px;
        height: 45px;
        font-size: 25px;
    }
}
