/*
font-family: "Teko", sans-serif;
font-family: "Oswald", sans-serif;
font-family: "New Amsterdam", sans-serif;
*/



body{
    background-color: #1E1C1C;
    scroll-behavior: smooth;
}

/*Header*/

header{
    text-align: center;
    color: white;
    background-color: #1e1c1cf1;
    font-family: "Teko", sans-serif;
    font-size: 17px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/*Navbar*/

nav {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    background-color: #1e1c1cf1;
    z-index: 1000;
}

.hamburger {
    display: none;
  }

nav ul{
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
}

nav a{
    text-decoration: none;
    color: #FF4545;
    font-family: "Teko", sans-serif;
    font-size: 20px;
    transition: 0.3s ease-in-out;
}

nav a:hover{
    color: white;
}

.nav-head{/*Name display for nav*/
    position: absolute;
    left: 5%;
    font-family: "New Amsterdam", sans-serif;
    font-size: 30px;
}

.nav-resume{/*Download button for resume*/
    position: absolute;
    right: 5%;
    font-family: "Teko", sans-serif;
    font-size: 20px;
    border: 2px solid rgb(231, 105, 105);
    border-radius: 50px;
    padding: 5px 20px 1px 20px;
    transition: 0.3s ease-in-out;
}

.nav-resume:hover{
    color: white;
    background-color: #ff4545;
}

.active{
    border-bottom: 2px solid;
}


/*Social media*/

#social-media li{
    list-style: none;
}

#social-media ul{
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: fixed;
    right: 20px;
    top: 40%;
}

#social-media a{
    transition: padding 0.2s ease-in-out;
}

#social-media a:hover{
    border-bottom: 2px;
    padding: 10px;
}

/*Home*/

.home{
    margin-top: 200px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: auto;
}

.home .home-text{
    margin-top: 200px;
    margin-left: 300px;
    margin-right: 0px;
    flex-grow: 1;
    margin-right: 20px;
}

.home .home-text h2{
    font-family: "Oswald", sans-serif;
    color: #FF4545;
}

.home .home-text h1{
    font-family: "New Amsterdam", sans-serif;
    letter-spacing: 2px;
    font-size: 50px;
    color: white;
}

.home .home-text #typing-effect {
    font-family: "Teko", sans-serif;
    font-size: 30px;
    color: white;
}

.home .home-text button{
    width: 200px;
    height: 50px;
    border-radius: 50px;
    border: none;
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    background-color: #FF4545;
    color: white;
    cursor: pointer;
}

.home .home-elements{
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.home .home-elements .breathing-circle{
    opacity: 0.5;
    background-color: rgb(59, 60, 70);
    width: 300px;
    height: 300px;
    margin-right: 450px;
    border-radius: 50%;
    animation: breathing ease-in-out 7s;
    animation-iteration-count: infinite;
}

@keyframes breathing{
    0%{
        transform: scale(1.5);
    }
    50%{
        transform: scale(2.3);
    }
    100%{
        transform: scale(1.5);
    }
}

.home .home-elements img {
    position: absolute;
    bottom: 10;
    top: -190px;
    width: 650px;
    left: -170px;
    margin-right: 500px;
    object-fit: cover;
    filter: grayscale(100);
}

/*About*/

.about{
    margin-top: 300px;
    text-align: center;
    padding-top: 100px;
}

.about .about-text{
    font-family: "Oswald", sans-serif;
}

.about .about-text h1{
    color: #FF4545;
}

.about .about-text p{
    width: 40%;
    padding-top: 50px;
    position: relative;
    margin: 0 auto;
    color: white;
    font-weight: lighter;
}

.about .about-languages{
    font-family: "Oswald", sans-serif;
    width: 30%;
    position: relative;
    margin: 0 auto;
}

.about .about-languages h1{
    text-align: center;
    color: #FF4545;
    padding-top: 50px;
}

.about .about-languages .card-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.about .about-languages .card {
    font-family: "Oswald", sans-serif;
    margin: 20px;
    width: 200px;
    background-color: #1e1c1cf1;
    border: 1px solid #ff4545;
    color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    animation: border-dash 2s linear infinite;
}

.about .about-languages .card:hover{
    animation: border-dash-hover 2s linear infinite;
}

@keyframes border-dash {
    0% {
      border-width: 1px;
      border-color: #ff4545;
      border-style: solid;
    }
    50% {
      border-width: 1px;
      border-color: transparent;
      border-style: dashed;
    }
    100% {
      border-width: 1px;
      border-color: #ff4545;
      border-style: solid;
    }
}


/*Works*/

.works{
    text-align: center;
    padding-top: 100px;
}

.works .works-text{
    font-family: "Oswald", sans-serif;
}

.works .works-text h1{
    color: #FF4545;
}

.works .works-text p{
    color: white;
}

.works .works-card-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-family: "Oswald", sans-serif;
    color: white;
    gap: 20px;
}

.works .works-card-container .work-card{
    border: solid 2px #FF4545;
    width: 60%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.works .works-card-container .work-card img{
    width: 200px;
    height: 200px;
    border-radius: 10px;
}

/*Services*/

.services{
    text-align: center;
    padding-top: 100px;
}

.services .services-text{
    font-family: "Oswald", sans-serif;
}

.services .services-text h1{
    color: #FF4545;
}

.services .services-text p{
    color: white;
}

.services .services-cards{
    font-family: "Oswald", sans-serif;
    width: 30%;
    position: relative;
    margin: 0 auto;
}

.services .services-cards h1{
    text-align: center;
    color: #FF4545;
    padding-top: 50px;
}

.services .services-cards .card-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.services .services-cards .card{
    font-family: "Oswald", sans-serif;
    margin: 20px;
    width: 200px;
    background-color: #1e1c1cf1;
    border: 1px solid #ff4545;
    color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    animation: border-dash 2s linear infinite;
}

.services .services-cards .card:hover{
    animation: border-dash-hover 2s linear infinite;
}

@keyframes border-dash {
    0% {
      border-width: 1px;
      border-color: #ff4545;
      border-style: solid;
    }
    50% {
      border-width: 1px;
      border-color: transparent;
      border-style: dashed;
    }
    100% {
      border-width: 1px;
      border-color: #ff4545;
      border-style: solid;
    }
}

@keyframes border-dash-hover {
    0% {
      border-width: 1px;
      border-color: #4551ff;
      border-style: solid;
    }
    50% {
      border-width: 1px;
      border-color: transparent;
      border-style: dashed;
    }
    100% {
      border-width: 1px;
      border-color: #4551ff;
      border-style: solid;
    }
}

/*Contact*/

.contact{
    text-align: center;
    padding-top: 100px;
}

.contact .contact-text{
    font-family: "Oswald", sans-serif;
}

.contact .contact-text h1{
    color: #FF4545;
}

.contact .contact-text p{
    color: white;
}

.form-container {
    background-color: #1E1C1C;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin: 40px auto;
    width: 80%;
    text-align: center;
  }
  
  .form-title {
    font-family: "Oswald", sans-serif;
    font-size: 24px;
    color: #FF4545;
    margin-bottom: 20px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-label {
    font-family: "Teko", sans-serif;
    font-size: 18px;
    color: white;
    display: block;
    margin-bottom: 10px;
  }
  
  .form-input {
    font-family: "Teko", sans-serif;
    font-size: 18px;
    padding: 10px;
    border: 0.1px solid #FF4545;
    border-radius: 10px;
    background-color: #1e1c1cf1;
    color: white;
    width: 70%;
  }
  
  .form-input:focus {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }
  
  .form-textarea {
    font-family: "Teko", sans-serif;
    font-size: 18px;
    padding: 10px;
    border: 0.1px solid #FF4545;
    border-radius: 10px;
    background-color: #1e1c1cf1;
    color: white;
    width: 70%;
    height: 150px;
    resize: vertical;
  }
  
  .form-textarea:focus {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }

  .form-input::placeholder, .form-textarea::placeholder {
    text-align: center;
  }
  
  .form-submit {
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    background-color: #FF4545;
    color: white;
    cursor: pointer;
  }
  
  .form-submit:hover {
    background-color: #4551ff;
  }
  
  /*Footer*/

  footer{
    text-align: center;
    font-family: "Oswald", sans-serif;
  }

  footer p{
    font-size: 80px;
    color: #333333;
  }

  @media only screen and (max-width:600px){
    .home{
        flex-direction: column-reverse;
    }

    .home .home-elements img{
        top: -80px;
        align-items: center;
        width: 450px;
        padding-left: 20px;
    }

    .home .home-elements .breathing-circle{
        margin-right: -60px;
        width: 200px;
        height: 200px;
    }

    @keyframes breathing{
        0%{
            transform: scale(1.0);
        }
        50%{
            transform: scale(1.7);
        }
        100%{
            transform: scale(1.0);
        }
    }

    .nav-links{
        display: none;
        flex-direction: column;
        text-align: center;
    }
    
    .home .home-text{
        padding-top: 100px;
        margin-right: 225px;
        width: 100%;
    }

    .about{
        margin-top: 20px;
    }

    .about .about-text p{
        width: 90%;
    }
  }