:root {
    --yellowMain: #EDD12E;
    --blueSecondary: #305AFA;
    --greyDark: #717171;
    --grey: #EEEEF6;
    --greyLight: #F8F9FF;
    --colorTitle: #172755;
    --colorText: #596A9B;
    --fontTitle: "Raleway", sans-serif;
    --fontText: "Lato", sans-serif;
}
  

body {  
    background-color: var(--greyLight) !important;
}

/* LOGO CONTAINER */

.logo-container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  background: var(--yellowMain);
}

.arrow {
    margin-bottom: 40px;
    animation: infinite;
}

.personal-cont {
    width: 60%;
    margin: 0 auto;
}

.logo-flex {
    display: flex;
    justify-content: space-between;
}

.flex-icon {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.logo {
    margin-top: 40px;
    width: 10em;
    animation: bounceIn 0.6s;
}

@keyframes bounceIn {
    from,
    20%,
    40%,
    60%,
    80%,
    to {
      -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
      animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
  
    0% {
      opacity: 0;
      -webkit-transform: scale3d(0.3, 0.3, 0.3);
      transform: scale3d(0.3, 0.3, 0.3);
    }
  
    20% {
      -webkit-transform: scale3d(1.1, 1.1, 1.1);
      transform: scale3d(1.1, 1.1, 1.1);
    }
  
    40% {
      -webkit-transform: scale3d(0.9, 0.9, 0.9);
      transform: scale3d(0.9, 0.9, 0.9);
    }
  
    60% {
      opacity: 1;
      -webkit-transform: scale3d(1.03, 1.03, 1.03);
      transform: scale3d(1.03, 1.03, 1.03);
    }
  
    80% {
      -webkit-transform: scale3d(0.97, 0.97, 0.97);
      transform: scale3d(0.97, 0.97, 0.97);
    }
  
    to {
      opacity: 1;
      -webkit-transform: scale3d(1, 1, 1);
      transform: scale3d(1, 1, 1);
    }
  }
  
  .bounceIn {
    -webkit-animation-duration: 0.75s;
    animation-duration: 0.75s;
    -webkit-animation-name: bounceIn;
    animation-name: bounceIn;
  }


/* NAVBAR */

#navbar {
    z-index: 999;
    top: -70px;
    background-color: var(--yellowMain);
    position: fixed;
    width: 100%;
    height: 70px;
    display: flex;
    box-shadow: 0px -15px 30px black;
    transition: top 0.3s;
}

.nav {
    align-self: center;
}
  
.logo-nav img {
    margin: 17px 0;
}
  
#navbar li {
    display: inline-block;
    color: #333333;
    padding-left: 50px;
    font-size: 17px;
    font-family: var(--fontTitle);
    font-weight: 700;
}
  
#navbar a {
      color: #333333;
      text-decoration: none;
}


/* ABOUT */

#about {
    width: 100%;
}

#mainbox {
    padding-bottom: 180px;
}

.padding {
    padding-top: 150px;
}

.title {
    display: inline-block;
    font-family: var(--fontTitle), sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: var(--colorTitle);
}

.paragraph {
    font-family: var(--fontText), sans-serif;
    font-size: 18px;
    line-height: 30px;
    color: var(--colorText);
    padding-top: 30px;
}

.alepic {
    max-width: 70% !important;
}

/* SKILLS */

#skills {
    width: 100%;
    background-color: var(--grey);
}

.boxes {
    margin-top: 60px;
}

.box-about {
    margin-top: 30px;
}

.boxicon {
    margin: 0 15px;
}

.icon-skill {
    width: 50%;
}

.subtitle {
    font-family: var(--fontTitle), sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--colorTitle);
    margin-top: 40px;
}

.pskills {
    margin: 7px;
    font-family: var(--fontText), sans-serif;
    font-size: 16px;
    color: var(--colorText);
}


/* PROJECTS */

#projects {
    width: 100%;
}

.img-project {
    margin-bottom: 30px;
}

.img-project:hover {
    box-shadow: 10px 10px var(--blueSecondary);
    cursor: pointer;
}

.indicator li {
    background-color: var(--colorTitle) !important;
}

.modal-title {
    font-family: var(--fontTitle), sans-serif;
    font-weight: 700;
    color: var(--colorTitle);
}

.text-project {
    font-family: var(--fontText), sans-serif;
    font-size: 16px;
    line-height: 28px;
    color: var(--colorText);
    padding-top: 20px;
}


/* CONTACTS */

#contacts {
    width: 100%;
    background-color: var(--grey);
}

.paragraph a, .text-project a {
    text-decoration: none;
    transition: 0.2s;
}

.paragraph a:hover, .text-project a:hover {
    text-decoration: none;
    opacity: 50%;
}


/* FOOTER */

footer {
    width: 100%;
    background-color: var(--blueSecondary);
    padding: 50px 0;
}

footer p {
    text-align: center;
    color: white;
    font-size: 16px;
    font-family: var(--fontTitle), sans-serif;
    font-weight: 700;
}

footer a {
    color: white;
    transition: 0.2s;
}

footer a:hover {
    color: rgba(255,255,255,0.50);
}

@media (max-width: 767.98px) {
    .nav {
        display: none !important;
    }
    
    .logo {
        width: 8em;
    }
    
    .logo-flex {
        justify-content: center;
    } 

    .alepic {
        max-width: 50% !important;
        margin-bottom: 30px;
    }

    .icon-skill {
        width: 30%;
        margin-top: 40px;
    }

    .pskills {
        margin-bottom: 50px;
    }

    footer p {
        font-size: 14px;
    }
 }

 @media (max-width: 575.98px) {
    .padding {
        padding-top: 100px;
    }

    .boxes {
        margin-top: 30px;
    }

    .alepic {
        max-width: 200px !important;
    }

    .paragraph {
        margin: 0 30px;
        font-size: 16px;
        line-height: 28px;
    }

    .text-project {
        font-size: 14px;
        line-height: 24px;
    }

    .hr {
        margin-left: 10px;
        padding-right: 10px;
        height: 23px;
    }

    .title {
        margin: 0 30px;
        font-size: 32px;
    }

    .pskills {
        font-size: 16px;
        line-height: 28px;
    }

    .contacts {
        margin: 0 30px;
        font-size: 16px;
        line-height: 28px;
    }
 }

 @media (max-width: 320px) {
    .logo {
        width: 6em;
    }

    .hr {
        margin-left: 10px;
        padding-right: 10px;
        border-left: solid 6px #EDD12E;
        height: 20px;
    }

    .skills-title {
        font-size: 28px;
    }

    .title {
        font-size: 28px;
    }

    .subtitle {
        font-size: 20px;
    }
 }

