@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Roboto&display=swap');
* {
    font-family: 'Lato', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}   

html {
    scroll-behavior: smooth;
}


body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6, span {
    color: blue;
    text-align: center;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 8px;
}

p {
    line-height: 1.5;
    font-size: 16px;
}

a {
    text-decoration: none;
    position: relative;
    transition: opacity 300ms ease;
}

i:hover {
    opacity: 0.7;
}

.link__hover-effect:after {
    content:"";
    position: absolute;
    height: 3px;
    width: 0;
    bottom: -3px;
    right: 0;
    Transition: 300ms ease;
}

.link__hover-effect--white:after {
    background-color: #fff;
}

.link__hover-effect--black:after {
    background-color: #000;
}

.link__hover-effect:hover:after {
    width: 100%;
    left: 0;
}

li {
    list-style-type: none;
}

.flex {
    display: flex;
}

.flex-1 {
    flex: 1;
}

.row {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 12px;
} 

.container{
    padding: 50px 0;
}

.text--blue {
    color: blue;
}

h1 {
    font-size: 24px;
    font-weight: 700;
}

section:nth-child(even) {
    background-color: rgb(241, 241, 241);
}

.section__title {
    margin-bottom: 20px;
}

/*NAVIGATION BAR*/

nav {
    height: 100px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
}

.nav__link--list{
    display: flex;
    font-size: 16px;
}

.nav__link--anchor {
    margin: 0 12px;
    font-weight:700;
    color: black;
}

.nav__link--anchor-primary {
    background-color: black;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 300ms ease;
}

.nav__link--anchor-primary:hover {
    background-color: rgb(69, 69, 69);
}

.personal__logo {
    font-size: 22px;
    color: blue;
    margin: 0 12px;
    font-weight: bold;;
}
/*ABOUT ME*/

#about-me {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.about-me__info--title {
    font-size: 28px;
}



h1 {
    padding-top: 28px;
}

.about-me__picture--mask {
    
    width: 25%;
    height: 25%;
    border-radius: 0%;
    margin: auto;
    margin-bottom: 28px;
    margin-top: 28px;
    animation: animate-profile-picture 800ms 200ms backwards;
}


@keyframes animate-profile-picture {
    0% {
        transform: scale(0);
    }

    80% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.about-me__info--title {
    font-size: 38px;
    margin-bottom: 0px;
    animation: fade-up 650ms 400ms backwards;
}

.about-me__picture {
    width: 100%;
    transform: scale(1.5);
    padding-top: 8px;
}


/* Improving my own picture */


.about-me__info--title {
    font-size: 38px;
    margin-bottom: 0px;
    animation: fade-up 650ms 400ms backwards;
}

.about-me__info--para {
    font-size: 24px;
    margin-bottom: 28px;
    margin-top: 0px;
    animation: fade-up 650ms 600ms backwards;
    text-align: center;
}

.about-me__link {
    font-size: 20px;
    color: rgb(83, 83, 83);
    padding: 0 16px;
    animation: fade-up 650ms 800ms backwards;
} 

.about-me__links {
    animation: fade-up 650ms 1000ms backwards;
}

@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-me__img--container {
   width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 auto 22px auto;
    overflow: hidden;
}


.about-me__img {
    width: 100%;
    animation: fade-in 1200ms 800ms backwards;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    
    }
    100% {
        opacity: 1;
    }
}
    
/*FOOTER*/

.footer__logo img {
    width: 100px;
    height: 100px;
    margin-top: 18px;
    padding-bottom: 12px;

}

.footer__contact {
    text-align: center;
    font-size: 24px;
    color: black;
}
.footer__contact p {
    font-size: 18px;
    padding-top: 0px;
}

.footer__trial {
    text-align: center;
    font-size: 24px;
    color: blue;
    font-weight: 700;
    text-shadow: 1px 1px 1px white;
}
.footer__trial p {
    font-size: 18px;
    padding-top: 0px;
}


.footer__row {
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

/* Small phones, tablets, large smartphones */
@media (max-width: 768px) {
    nav {
        height: 68px;
    }

    h1 { 
        font-size: 18px;
    }

    .about-me__info--para {
        font-size: 18px;
    }

    .language {
        width: calc(100% / 3);
    }

    .project__description--para {
        font-size: 14px;
    }

    .project_description {
        left:  30px;
        padding-right: 30px;
    }

}

.about-me__info--title {
    font-size: 28px;
    margin-bottom: 0px;
    animation: fade-up 650ms 400ms backwards;
}


/* SMALL PHONES */

@media (max-width: 480px) {
      .nav__link:not(:last-child) {
        display: none;
      }

      .project__description {
        padding: 0;
        left: 0;
        width: 100%;
      }

      .project__description--para {
        display: none;
        justify-content: center;
      }

      .project__description--links {
        display: flex;
        justify-content: center;
      }

      .project__description--title {
        font-size: 25px;
        line-height:1;
        text-align: center;
      }

      .project__description--sub-title {
        text-align:center;
        margin: 12px 0;
      }

      

        .about-me__img--container {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
    }

        .about-me__picture {
        width: 200px;
        max-width: 100%;
        margin: 0 auto;
    }

    