html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: #131A24;
    color: #e5e5ed;
}

header {
    background-color: #131A24;
    color: #e5e5ed;
    padding: 0px 20px;
    position: sticky;
    top: 0;
    height: 40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

header a {
    text-decoration: none;
    color: #e5e5ed;
    font-weight: bold;
    font-size: 18px;
    margin-right: 40px;
    transition: color 0.3s ease-in-out;
}

header a:hover {
    color: #e7bfaa;
}

header nav {
    display: flex;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 40px;
}

nav ul li {
    display: inline;
}

.hero {
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  position: relative;
}

.hero-text-container {
  position: absolute;
  top: 66%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 100%;
  animation: fadeIn 0.8s ease-in-out;
  transition: transform 3s ease;
}

.hero-text {
    text-align: left;
    padding: 10px 20px;
    line-height: 1;
}

.hero-text-container:hover {
    transform: translate(-120%, -50%);
}

.hero-text h1 {
    font-weight: bold;
    font-size: 60px;
    padding: 0 20px;
    margin: 0;
}

.hero-text h2 {
    background-color: #131A24;
    font-weight: bold;
    font-size: 60px;
    padding: 10px 20px;
    margin: 0;
}

.hero-text p {
    font-size: 30px;
    padding: 0 20px;
    margin: 0;
}

.hero-quote {
    position: absolute;
    top: 25%;
    left: 25%;
    transform: translate(-50%, -50%);
    max-width: 300px;
    z-index: 1;
    padding: 10px;
    line-height: 1;
    animation: fadeIn 2s ease-in-out;
}

.hero-image {
    max-width: 50%;
    height: auto;
    margin-left: auto;
    overflow: hidden;
    animation: fadeIn 1s ease-in-out;
}

.hero-image img {
    height: 100%;
    width: 100%;
    display: block;
    object-fit: cover;
}

.container {
   padding: 30px 50px;
    max-width: 1000px;
    margin: auto
}

.fade-in {
    opacity: 0;
}

.about {
    padding: 10px 50px;
    scroll-margin-top: 100px;
  }

.resume {
	padding: 10px 50px;
    scroll-margin-top: 100px;
}

.resume h2 {
    font-weight: bold;
    font-size: 20px;
}

.resume h3 {
    font-size: 16px;
}

.column {
    float: left;
}

.left {
    width: 25%;
}

.right {
    width: 75%;
}

.right p {
    font-size: 15px;
}

footer {
    background-color: #131A24;
    color: #e5e5ed;
    text-align: center;
    padding: 100px 0;
}

/* Keyframe */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@media only screen and (max-width: 700px) {

.hero {
        display: flex;
        align-items: center;
        padding: 80px 0;
    }

    .hero-text, .hero-quote {
        font-size: 18px;
        max-width:90%;
        position: static;
        transform: none;
        opacity: 1;
    }
    
    .hero-image {
        max-width: 100%;
        height: auto;
        margin-left: auto;
    }
    
    .container {
        padding: 0px 10px;
    }
    
    .about,
    .resume {
        padding: 10px 10px;
    }
    
    .resume h2 {
        font-size: 18px;
    }

    footer {
        padding: 10px 0;
    }
}
