*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Shadows Into Light', cursive;
}

.grid-container {
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr;
}

.grid-item-1 {
    background-color: #d9ebd6;
    text-align: center;
    height: 100%
}

.grid-item-1 h1 {
    padding-top: 9rem;
    font-size: 9rem;
    margin-bottom: 2.5rem;
}

.grid-item-1 a {
    text-decoration: none;
    color: black;
}

.grid-item-1 a:hover {
    opacity: .75;
}

.grid-item-1 p {
    font-size: 3rem;
    padding: 1.5rem;
}

.grid-item-1 h1 {
    animation: appear 1.5s;
  }
  
  @keyframes appear {
    0% {
      opacity: 0;
      transform: scale(0);
    }
  
    99% {
        transform: scale(1.1);
    }

    100% {
      opacity: 1;
      transform: scale(1);
    }
  }

.grid-item-2 img {
    height: 100%;
    width: 100%;
  }

.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

.me {
    position: relative;
    margin-bottom: 9rem;
}

.me img {
    width: 75%;
    margin-top: 7rem;
}

.about .me h2 {
    position: absolute;
    z-index: 1;
    font-size: 4rem;
    top: 13rem;
    left: 9rem;
}

.about.reveal.active h2 {
    animation: title 1s ease-in;
} 

@keyframes title {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

.about .me p {
    position: absolute;
    z-index: 1;
    top: 35rem;
    left: 2.5rem;
    font-size: 2rem;
}

@media screen and (max-width: 500px) {
    .grid-container {
        grid-template-columns: 50% 50%;
    }

    .grid-item-1 h1 {
        font-size: 50px;
    }

    .grid-item-1 p {
        font-size: 25px;
    }
    
    .about .me h2 {
        font-size: 2.5rem;
        top: 11rem;
        left: 7rem;
    }

    .about .me p {
        top: 25rem;
        left: 3rem;
        font-size: 1.3rem;
    }

    .about .skills h3 {
        font-size: 3rem;
        margin-top: 2.1rem;
    }

    .about .skills img {
        height: 3.5rem;
        width: 3.5rem;
        margin-bottom: 5.9rem;
    }  
    
    #contact {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    
    #contact h1 {
        font-size: 3rem;
    }
    
    #contact ul {
        font-size: 1.5rem;
        padding-left: 3.5rem;
    }

    #list-home {
        font-size: 19px;
    }

    #list-contact {
        font-size: 19px;
    }

    #logo {
        opacity: 0;
    }

    .emails {
        display: flex;
        flex-direction: column;
    }
    
    .emails .email-1 .links{
        margin-bottom: 9rem;
    }

    .emails .email-2 .links{
        margin-bottom: 9rem;
    }

    .emails .email-3 .links{
        margin-bottom: 9rem;
    }

    .landing {
        display: flex;
        flex-direction: column;
    }

    .landing .landing-1 img {
        max-width: 25rem;
    }

    .landing .landing-2 img {
        max-width: 25rem;
    }

    .landing .landing-1 .links {
        margin-bottom: 9rem;
    }

}

@media screen and (max-width: 370px) {
    .grid-container {
        grid-template-columns: 50% 50%;
    }

    .grid-item-1 h1 {
        font-size: 50px;
    }

    .grid-item-1 p {
        font-size: 25px;
    }
    
    .about .me h2 {
        font-size: 2.5rem;
        top: 11rem;
        left: 7rem;
    }

    .about .me p {
        top: 25rem;
        left: 3rem;
        font-size: 1.3rem;
    }

    .about .skills h3 {
        font-size: 3rem;
        margin-top: 2.1rem;
    }

    .about .skills img {
        height: 3.5rem;
        width: 3.5rem;
        margin-bottom: 5.9rem;
    }  
    
    #contact {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    
    #contact h1 {
        font-size: 3rem;
    }
    
    #contact ul {
        font-size: 1.5rem;
        padding-left: 3.5rem;
    }

    .portfolio-header {
        width: 90%;
    }

    #top .ul {
        opacity: 0;
    }

   .portfolio h1 {
        font-size: 1rem;
        padding: 3rem;
    }

    .emails {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .emails .email-1 img {
        width: 17rem;
        margin-bottom: 1.5rem;
    }

    .emails .email-2 img {
        width: 17rem;
        margin-bottom: 1.5rem;
    }

    .emails .email-3 img {
        width: 17rem;
        margin-bottom: 1.5rem;
    }
    

    .landing {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .landing .landing-1 img {
        max-width: 17rem;
    }

    .landing .landing-2 img {
        max-width: 17rem;
    }

}

.skills h3 {
    font-size: 3.5rem;
    margin-top: 9rem;
}

.skills img {
    height: 5.5rem;
    width: 5.5rem;
    margin-bottom: 5rem;
}

.portfolio-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #d9ebd6;
}

.portfolio-header img {
    position: relative;
    max-width: 100px;
}

.portfolio-header ul {
    position: relative;
    display: flex;
}

.portfolio-header ul li {
    list-style: none;
}

.portfolio-header ul li a {
    display: inline-block;
    color: black;
    font-size: 25px;
    font-weight: 400;
    margin-left: 40px;
    text-decoration: none;
}

.portfolio {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-top: 11rem;
  }

.portfolio h1 {
    font-size: 5rem;
    padding: 3rem;
}

.portfolio-footer {
    background-color: #d9ebd6;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}

.portfolio-footer img {
    height: 3.5rem;
    margin: 1.5rem;
}

.emails {
    display: flex;
    padding: 5rem;
  }

.emails h2 {
    font-size: 2rem;
}

.emails img {
    max-height: 30rem;
    padding: 1rem;
    margin: 1rem;
    margin-bottom: 1.5rem;
    border: black 1px solid;
}

.email-1 {
    display: flex;
    flex-direction: column;
}

.email-2 {
    display: flex;
    flex-direction: column;
}

.email-3 {
    display: flex;
    flex-direction: column;
}

.emails .links a {
    text-decoration: none;
    color: black;
    font-size: 21px;
    padding: 1rem;
    margin: 1.5rem;
    border: black 1px solid;
    border-radius: 50%;
}

.emails .links {
    margin: 1.5rem;
}

.emails .links a:hover {
    border-radius: 0%;
    opacity: .75;
}

.landing .links a {
    text-decoration: none;
    color: black;
    font-size: 21px;
    padding: 1rem;
    margin: 1.5rem;
    border: black 1px solid;
    border-radius: 50%;
}

.landing .links {
    margin: 1.5rem;
}

.landing .links a:hover {
    border-radius: 0%;
    opacity: .75;
}

.landing {
    display: flex;
    padding: 3rem;
}

.landing h2 {
    font-size: 2rem;
}

.landing img {
    max-height: 21rem;
    max-width: 30rem;
    padding: 1rem;
    margin-bottom: 2.5rem;
    border: black 1px solid;
    margin: 1rem;
}

.landing-1 {
    display: flex;
    flex-direction: column;
}

.landing-2 {
    display: flex;
    flex-direction: column;
}


.contact {
    background-color: #d9ebd6;
    width: 100%;
    height: 30rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
}

.contact-links {
    display: flex;
    justify-content: space-around;
}

.contact h1 {
    font-size: 5rem;
    padding: 3rem;
}

.contact ul {
    font-size: 2rem;
    padding-left: 15rem;
}

.contact a {
    text-decoration: none;
    color: black;
}

.contact a:hover {
    opacity: .75;
}

.contact ul li {
    list-style: none;
    padding: 1rem;
}


.contact.reveal.active li:first-child {
    animation-name: contact-location-load;
    animation-duration: 1s;
}

@keyframes contact-location-load {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.contact.reveal.active li:nth-child(2) {
    animation-name: contact-email-load;
    animation-duration: 2.5s;
}

@keyframes contact-email-load {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }
    
    100% {
        opacity: 1;
    }
}

.contact.reveal.active li:last-child {
    animation-name: contact-phone-load;
    animation-duration: 3.5s;
}

@keyframes contact-phone-load {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }
    
    100% {
        opacity: 1;
    }
}

footer {
    background-color: #d9ebd6;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 3rem;
}

footer img {
    height: 3.5rem;
}

.reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: all 2s ease;
  }
  
.reveal.active {
    transform: translateY(0px);
    opacity: 1;
  }
