* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin-left: 5%;
    margin-right: 5%;
    background-image: url("../assets/436d56f2-5495-41d9-90ba-ca65026b205c.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    color: aliceblue;
}

header {
    display: flex;
    align-items: center;
    height: 10%;
}

h1 {
    font-family: 'Proza Libre', sans-serif;
    width: 40%;
    letter-spacing: 2px;
    font-weight: 600;
}

nav {
    margin-left: auto;
    width: 60%;
}

ul {
    display: flex;
    align-items: center;
    list-style-type: none;
    text-decoration: none;
    flex-wrap: wrap;
}

li {
    margin-left: 13%;
    margin-bottom: 2%;
}

a {
    font-family: "Open Sans", serif;
    letter-spacing: 1px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    color: aliceblue;
}

.home {
    text-align: center;
    width: 100%;
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 0;
}

.home a {
    font-size: 24px;
}

#myImg {
    width: 30%;
    height: auto;
    cursor: pointer;
}

h2 {
    font-family: 'Proza Libre', sans-serif;
    letter-spacing: 2px;
    font-weight: 600;
}

h3 {
    font-family: 'Proza Libre', sans-serif;
    letter-spacing: 2px;
    font-weight: 400;
}

.about-me {
    padding: 10px;
    padding-top: 0;
}

.projects {
    padding: 10px;
    padding-top: 0;
}

p {
    font-family: 'Open Sans', serif;
    letter-spacing: 1px;
    margin-right: 20%;
}

.projects h3 {
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 2px;
    font-size: 20px;
    font-weight: 600;
    display: inline;
    margin-left: 5%;
}

.h {
    cursor: pointer;
    margin-bottom: 10px;
}

hr {
    width: 30%;
    margin-top: 5%;
    margin-bottom: 5%;
}

.skills {
    padding: 10px;
    padding-top: 0;
}

.logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
}

.logos i {
    font-size: 22px;
    margin-left: 2%;
}

.logos h3 {
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 2px;
    font-size: 18px;
    font-weight: 600;
    margin-left: 2%;
}

.contact {
    padding: 10px;
    padding-top: 0;
}

.contact i {
    font-size: 36px;
    margin-right: 2%;
}

a:hover {
    opacity: 0.4;
    transition: ease-in-out 0.5s;
}

#myImg:hover {
    opacity: 0.7;
    box-shadow: 0 0 5px 5px aqua;
    transition: 0.5s;
}

@media only screen and (max-width: 600px) {
    .logos h3 {
        display: none;
    }
    .logos i {
        font-size: 36px;
        margin-right: 5%;
        margin-bottom: 7%;
    }
}

@media only screen and (max-width: 575px) {
    header {
        height: auto;
        flex-direction: column;
    }

    nav {
        width: 100%;
    }

    li {
        margin-left: 0;
        margin-bottom: 3%;
    }

    ul {
        width: 100%;
        flex-direction: column;
        text-align: center;
        margin-left: 0;
        padding-left: 0;
    }

    a {
        font-weight: 600;
        font-size: 18px;
    }

    h1 {
        width: 100%;
        text-align: center;
    }

    p {
        font-size: 17px;
    }

    h2 {
        text-align: center;
    }
}

 .modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
  }
  
  .modal-content {
    margin: 0 auto;
    display: block;
  }

  .modal-content {  
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @keyframes zoom {
    from {transform: scale(0.1)} 
    to {transform: scale(1)}
  }

  #img01 {
    height: 90%;
    width: auto;
  }
  
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
  @media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
    }

    #img01 {
        height: 60%;
        width: auto;
      }
  }

  @media only screen and (max-width: 400px){
    #img01 {
        height: 40%;
        width: auto;
      }
  }