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

body {
    background-image: 
        linear-gradient(rgba(24, 52, 91, 0.15), rgba(24, 52, 91, 0.15)),
        url("../_images/abstract.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    color: #e8e8e8;
    position: relative;
    min-height: 100vh;
    padding-bottom: 140px;
}

#wrapper {
    width: 1200px;
    margin: 30px auto;
}

.header-bg {
    width: 100%;
}

header {
    width: 100%;
    background-color: #1f3b5f;
    padding: 60px 20px 40px 20px;
    text-align: center;
}

#header-text {
    font-family: "Julius Sans One", sans-serif;
    font-size: 100px;
    font-weight: 400;
    color: #FFF;
    letter-spacing: 6px;
    margin-bottom: 10px;
}

.subtitle {
    font-family: "Julius Sans One", sans-serif;
    color: #FFF;
    font-size: 40px;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

header h1 {
    font-size: 72px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

header h2 {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

nav {
    display: flex;
    justify-content: center;
    gap: 60px;
}

nav a {
    text-decoration: none;
    color: #e8e8e8;
    font-size: 26px;
    letter-spacing: 3px;
    font-family: "Julius Sans One", sans-serif;
}

nav a:hover {
    color: white;
}

.home-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 70px 70px 90px 70px;
}

.intro-box {
    width: 420px;
    background-color: rgba(24, 52, 91, 0.9);
    padding: 22px;
    color: white;
    font-size: 28px;
    line-height: 1.3;
    border-radius: 15px;
}

.intro-box p {
    margin: 0;
}

.image-box {
    width: 560px;
    background-color: rgba(120, 150, 200, 0.35);
    padding: 18px;
    border-radius: 35px;
}

.image-box img {
    width: 100%;
    display: block;
    border-radius: 28px;
}

.about-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 70px 140px 70px;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 35px;
    width: 520px;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.resume-box img {
    width: 520px;
    display: block;
    border-radius: 25px;
}

.linkedin-box img {
    width: 260px;
    display: block;
    border-radius: 20px;
}

.bio-box {
    width: 520px;
    background-color: rgba(24, 52, 91, 0.9);
    padding: 25px;
    color: white;
    font-size: 24px;
    line-height: 1.5;
    border-radius: 15px;
}

.bio-box h2 {
    font-family: "Julius Sans One", sans-serif;
    font-size: 34px;
    margin-bottom: 20px;
    color: #FFF;
}

.bio-box p {
    margin-bottom: 18px;
}

.headshot-box {
    width: 500px;
    background-color: rgba(120, 150, 200, 0.35);
    padding: 18px;
    border-radius: 35px;
}

.headshot-box img {
    width: 100%;
    display: block;
    border-radius: 28px;
}

.site-footer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #ffffff;
    font-family: "Julius Sans One", sans-serif;
    font-size: 22px;
    line-height: 1.4;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
}



.gallery-layout {
    padding: 60px 70px 140px 70px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    justify-items: center;
}

.gallery-item {
    width: 100%;
    max-width: 360px;
    background-color: rgba(120, 150, 200, 0.35);
    padding: 18px;
    border-radius: 35px;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 28px;
}

.gallery-item:hover {
    transform: scale(1.02);
    transition: 0.3s;
}




.links-layout {
    padding: 60px 70px 140px 70px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 120px;
    justify-items: center;
    align-items: start;
}

.link-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.link-card img {
    width: 280px;
    height: 280px;
    object-fit: contain;
    display: block;
}

.link-label {
    margin-top: 18px;
    background-color: rgba(24, 52, 91, 0.9);
    color: #ffffff;
    font-size: 22px;
    padding: 18px 28px;
    min-width: 320px;
    text-align: center;
}

.link-card:hover {
    transform: scale(1.03);
    transition: 0.3s;
}





.media-layout {

display: flex;

justify-content: space-between;

align-items: flex-start;

padding: 60px 80px;

gap: 60px;

}




.media-text {

background-color: rgba(10, 40, 90, 0.75);

color: white;

width: 720px;

padding: 40px;

border-radius: 28px;

box-sizing: border-box;

}



.media-text h2 {

font-family: 'Julius Sans One', sans-serif;

font-size: 42px;

font-weight: normal;

margin-top: 0;

margin-bottom: 30px;

letter-spacing: 1px;

}




.media-text p {

font-size: 26px;

line-height: 1.7;

margin-bottom: 28px;

}




.media-video iframe {

width: 650px;

height: 365px;

border-radius: 28px;

border: none;

}



@media (max-width: 1200px) {

.media-layout {

flex-direction: column;

align-items: flex-start;

}

.media-text,

.media-video iframe {

width: 100%;

max-width: 720px;

}

}