@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 10px;
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
}

.container {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title{
    font-size: 4rem;
    font-weight: 300;
    color: coral;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .2rem;
    text-align: center;
}

/* Hero Section */

#hero{
    background-image: url(../images/background.jpg);
    background-size: cover;
    background-position: top center;
    position:relative;
    z-index: 1;
}

#hero::after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: coral;
    opacity: .35;
    z-index: -1;
}

#hero .hero{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    justify-content: flex-start;
}

#hero h1{
    display: block;
    width: fit-content;
    font-size: 4rem;
    position: relative;
    color: transparent;
    animation: text_reveal .5s ease forwards;
    animation-delay: 1s;
}

#hero h1:nth-child(1){
    animation-delay: 1s;
}
#hero h1:nth-child(2){
    animation-delay: 2s;
}
#hero h1:nth-child(3){
    animation: text_reveal_name .5 ease forwards;
    animation-delay: 3s;
}

#hero h1 span{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: coral;
    animation: text_reveal_box 1s ease;
    animation-delay: .3s;
}

#hero h1:nth-child(1) span{
    animation-delay: .5s;
}
#hero h1:nth-child(2) span{
    animation-delay: 1.5s;
}
#hero h1:nth-child(3) span{
    animation-delay: 2.5s;
}

#hero .cta{
    display: inline-block;
    padding: 10px 30px;
    color: white;
    background-color: transparent;
    border: 2px solid coral;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: .1rem;
    margin-top: 30px;
    transition: .3s ease;
    transition-property: background-color, color;
}

#hero .cta:hover{
    color: white;
    background-color: coral;
}

/* End Hero Section */

/* Experience Section */

#experience .experience{
    flex-direction: column;
    text-align: center;
    max-width: 1500px;
    margin: 0 auto;
    padding: 100px 0;
}

#experience .experience-top p{
    font-size: 1.4rem;
    margin-top: 5px;
    line-height: 2.5px;
    font-weight: 300;
    letter-spacing: .05rem;
    margin-top: 50px;
}

#experience .experience-bottom{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#experience .experience-item{
    flex-basis: 80%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
    border-radius: 10px;
    background-image: url(../images/background.jpg);
    background-size: cover;
    margin: 10px 5%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#experience .experience-item::after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: coral;
    opacity: .5;
    z-index: -1;
}

#experience .experience-item h2{
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-align: left;
}

#experience .experience-item h3{
    font-size: 1.7rem;
    color: white;
    text-align: left;
    line-height: 1.9rem;
    margin-bottom: 10px;
}

#experience .experience-item p{
    font-size: 1.6rem;
    color: white;
    text-align: left;
    line-height: 1.9rem;
    margin-bottom: 5px;
}

#experience .experience-item ul{
    color: white;
    font-size: 1.5rem;
    text-align: left;
    line-height: 1.9rem;
    margin-left: 20px;
}
/* End Experience Section */

/* Education Section */

#education .education {
    flex-direction: column;
    text-align: center;
    max-width: 1500px;
    margin: 0 auto;
    padding: 100px 0;
}

#education .education-top p{
    font-size: 1.4rem;
    margin-top: 5px;
    line-height: 2.5px;
    font-weight: 300;
    letter-spacing: .05rem;
    margin-top: 50px;
}

#education .education-bottom{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#education .education-item{
    flex-basis: 80%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
    border-radius: 10px;
    background-image: url(../images/background.jpg);
    background-size: cover;
    margin: 10px 5%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#education .education-item::after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: coral;
    opacity: .5;
    z-index: -1;
}

#education .education-item h2{
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-align: left;
}

#education .education-item h3{
 font-size: 1.7rem;
    color: white;
    text-align: left;
    line-height: 1.9rem;
    margin-bottom: 10px;
}

#education .education-item p{
    font-size: 1.6rem;
    color: white;
    text-align: left;
    line-height: 1.9rem;
    margin-bottom: 5px;
}

#education .education-item ul{
    color: white;
    font-size: 1.5rem;
    text-align: left;
    line-height: 1.9rem;
    margin-left: 20px;
}

/* End Education Section */

/* Keyframes */

@keyframes text_reveal_box{
    50%{
        width: 100%;
        left: 0;
    }
    100%{
        width: 0;
        left: 100%;
    }
}
@keyframes text_reveal {
    100%{
        color: white;
    }
}
@keyframes text_reveal_name {
    100%{
        color: coral;
        font-weight: 500;
    }
}
/* End Keyframes */