@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

* {
    font-family: 'Open Sans', sans-serif;
}
html, body {
    overflow-x: hidden;
  }
  body {
    position: relative;
  }

/* NAVIGATION */
#logo {
    color: orangered;
    font-weight: 700;
    font-size: 1.35rem;
}

.navbar {
    background-color: white;
}

.nav-link {
    color: black;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
}

.nav-link:hover {
    opacity: .5;
    border-radius: 5px;
}



/* HEADER */
#header {
    background-image: url(../img/me4.jpg);
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    height: 100vh;
    width: 100%;
    background-color: #1A1B1C;
    color: black;
}

#header h1 {
    font-size: 3.75rem;
}

#header h2 {
    font-size: 3rem;
}

#header p {
    font-size: 1.1rem;
}

.btn {
    text-decoration: underline;
    color: orangered;
    background-color: white;
    font-weight: 600;
}

.btn:hover {
    color: white;
    background-color: orangered;
    opacity: .8;
}

.btn:active {
    color: orangered;
}

.header-btn {
    margin-top: 5%;
}



/* ABOUT */
#about img {
    height: auto;
    width: 100%;
    -webkit-box-shadow: 10px 10px 30px -5px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 30px -5px rgba(0, 0, 0, 0.75);
    box-shadow: 10px 10px 30px -5px rgba(0, 0, 0, 0.75);
    border-radius: 5px;
}

#about h2 {
    font-size: 3rem;
    font-weight: 600;
    margin: 2% 0;
}

#about h3 {
    font-size: 1.3rem;
    opacity: 0.5;
    margin: 2% 0;
}

#about p {
    font-size: 1.1rem;
    margin: 2% 0;
}

#about p a {
    font-size: 1.1rem;
    margin: 2% 0;
    color: orangered;
    font-weight: 600;
}



/*PROJECTS*/
#projects h2 {
    font-size: 3rem;
    font-weight: 600;
}

#projects p {
    font-size: 1.1rem;
    margin: 2% 0;
}

.project-box {
    margin-top: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 500px;
    width: 350px;
    border-radius: 5px;
    -webkit-box-shadow: 10px 10px 30px -5px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 30px -5px rgba(0, 0, 0, 0.75);
    box-shadow: 10px 10px 30px -5px rgba(0, 0, 0, 0.75);
}

.item:nth-child(2) {
    transition-delay: 200ms;
}

.item:nth-child(3) {
    transition-delay: 400ms;
}

.item {
    position: relative;
}



/*BLOG*/
#blog h2 {
    font-size: 3rem;
    font-weight: 600;
}

#blog p {
    font-size: 1.1rem;
    margin: 2% 0;
}

.blog-box {
    margin-top: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 500px;
    width: 350px;
    background-color: rgb(228, 228, 228);
    border-radius: 5px;
    -webkit-box-shadow: 10px 10px 30px -5px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 30px -5px rgba(0, 0, 0, 0.75);
    box-shadow: 10px 10px 30px -5px rgba(0, 0, 0, 0.75);
}

.text:nth-child(2) {
    transition-delay: 200ms;
}

.text:nth-child(3) {
    transition-delay: 400ms;
}

.text {
    position: relative;
    padding: 0 1%;
}

.img-fancy {
    display: block;
    width: 100%;
    filter: brightness(40%);
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 5%;
    color: white;
    opacity: 1;
    transition: opacity 0.25s;
}

/* .overlay:hover {
    opacity: 1;
} */

.overlay h3 {
    font-size: 3rem;
    opacity: 1;
    margin: 2% 0;
}

.overlay p {
    font-size: .1em;
    opacity: 1;
    margin: 2% 0;
    font-weight: 600;
}



/* CONTACT */
#contact h2 {
    font-size: 3rem;
    font-weight: 600;
}

#contact p {
    font-size: 1.1rem;
    margin: 2% 0;
}

#contact label {
    font-size: 1.1rem;
    font-weight: 500;
}

.fa {
    padding: 20px;
    font-size: 30px;
    width: 60px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 50%;
    transition: 0.3s ease;
}

.icons {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2%;
}

.fa:hover {
    opacity: 0.7;
    color: white;
}

.fa-linkedin {
    background-color: orangered;
    color: white;
    margin: 0 5%;
}

.fa-github {
    background-color: orangered;
    color: white;
    margin: 0 5%;
}

.fa-facebook {
    background-color: orangered;
    color: white;
    margin: 0 5%;
}

.fa-envelope {
    background-color: orangered;
    color: white;
    margin: 0 5%;
}



/* FOOTER */
footer {
    background-color: white;
    color: black;
    background-color: whitesmoke;

}

footer p {
    font-size: 1.1rem;
    font-weight: 600;
}



/* Custom JS */
@media(prefers-reduced-motion) {
    .hidden {
        transition: none;
    }
}

.hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-100%);
    transition: all 1s ease;
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

.hidden1 {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(100%);
    transition: all 1s ease;
}

.show1 {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}