@font-face {
    font-family:"Alte Hass Grotesk";
    src:
    local("fonts/alte haas grotesk"),
    url("Alte Haas Grotesk.ttf") format("truetype"),
}

body {
    margin: 0;
    background-color: #ffffff;
    height: 100%;
    font-family: 'Alte Haas Grotesk', sans-serif;
}

.top {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
  	justify-content:center;
    padding: 0px;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.content {
    z-index: 1;
	top: 50%;
  	right:50%;
    left: 50%;
    text-align: center;
}

h1 {
    color: #ffffff;
    font-size: 3rem;
  	display: inline-block;
  	white-space: nowrap;
}

.content p {
    color: #ffc94d;
    margin-top: 40px;
    font-size:1.3em;
    font-weight:bold;
    line-height: 1.5;
}

header {
    margin-bottom: 10px;
  	width:100%;
    background-color: #1a3875;
    color: #ffc94d;
  	top:0;
  	position:sticky;
  	z-index: 40;
}

.navbar {
    display: flex;
    justify-content:space-between;
    width: 90%;
    margin:0 auto;
    gap: 20px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin-right: 40px;
}

.nav-links li {
    margin-left: 50px;
    transition: all 0.5s;
}

.nav-links li:hover {
    text-shadow: 0 6px 20px #f7dea4;
    transform: scale(1.05);}

.nav-links li a {
    color: #ffc94d;
    text-decoration: none;
    font-size:20px;
}

.nav-links.active {
    display: flex;
}

.logo img {
    width: 85px;
}

.burger {
    display: none;
    color: #ffc94d;
    font-size: 40px;
    background: none;
    border: none;
    cursor: pointer;
}

.container {
    text-align: center;
}

main p {
    color: #1a3875;
    margin-top: 40px;
    font-size:1.3em;
    font-weight:bold;
    justify-self: center;
    line-height: 1.5;
}

h2 {
    color: #1a3875;
    font-size: 3rem;
    padding-top: 40px;
    padding-bottom: 30px;
    display: inline-block;
    border-radius: 10px;
    width: 80%;
    margin: 15px;
}

.about-me {
    display: flex;
    justify-self:center;
    width: 50%;
    margin-bottom: 10px;
    flex-direction: column;
}

.about-me p {
    color: #1a3875;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.5em;
  	margin:5px;
}

.download {
    display: inline-block;
    padding: 0.8rem;
    background-color:#1a3875;
    color: #ffc94d;
  	margin:20px;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.5s;
    cursor: pointer;
    text-decoration: none;
}

.download:hover {
    background-color: #ffc94d;
    color: #1a3875;
    transform: scale(1.02);
    box-shadow: 0 6px 50px #0d1d3c;
}

.all {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    margin-top: 20px;
    margin-bottom: 15px;
}

.progress {
    background: rgba(0, 0, 0, 0.1);
    justify-content: flex-start;
    border-radius: 100px;
    align-items: center;
    position: relative;
    padding: 0 5px;
    display: flex;
    height: 35px;
    width: 250px;
    margin: 0;
    margin-bottom: 10px;
    transition: 0.5s;
  	z-index: 0;
}

.progress:hover {
    transform: scale(1.1);
}
  
.progress-C {
    animation: loadC 3s normal forwards;
    border-radius: 100px;
    background: #ffc94d;
    color: #0d1d3c;
    text-align: left;
    padding-left: 10px;
    padding-top: 3px;
    font-size: 600;
    height: 25px;
    width: 0;
}
  
@keyframes loadC {
    0% { width: 0; }
    100% { width: 75%; }
}

.progress-I {
    animation: loadI 3s normal forwards;
    border-radius: 100px;
    background: #ffc94d;
    color: #0d1d3c;
    text-align: left;
    padding-left: 10px;
    padding-top: 3px;
    font-size: 600;
    height: 25px;
    width: 0;
}
  
@keyframes loadI {
    0% { width: 0; }
    100% { width: 50%; }
}

.progress-H {
    animation: loadH 3s normal forwards;
    border-radius: 100px;
    background: #ffc94d;
    color: #0d1d3c;
    text-align: left;
    padding-left: 10px;
    padding-top: 3px;
    font-size: 600;
    height: 25px;
    width: 0;
}
  
@keyframes loadH {
    0% { width: 0; }
    100% { width: 65%; }
}

.progress-PHP {
    animation: loadPHP 3s normal forwards;
    border-radius: 100px;
    background: #ffc94d;
    color: #0d1d3c;
    text-align: left;
    padding-left: 10px;
    padding-top: 3px;
    font-size: 600;
    height: 25px;
    width: 0;
}
  
@keyframes loadPHP {
    0% { width: 0; }
    100% { width: 55%; }
}

.progress-Ph {
    animation: loadPh 3s normal forwards;
    border-radius: 100px;
    background: #ffc94d;
    color: #0d1d3c;
    text-align: left;
    padding-left: 10px;
    padding-top: 3px;
    font-size: 600;
    height: 25px;
    width: 0;
}
  
@keyframes loadPh {
    0% { width: 0; }
    100% { width: 50%; }
}

.progress-Pr {
    animation: loadPr 3s normal forwards;
    border-radius: 100px;
    background: #ffc94d;
    color: #0d1d3c;
    text-align: left;
    padding-left: 10px;
    padding-top: 3px;
    font-size: 600;
    height: 25px;
    width: 0;
}
  
@keyframes loadPr {
    0% { width: 0; }
    100% { width: 60%; }
}

h3 {
    color: #1a3875;
    font-size: 3rem;
    padding-top: 40px;
    padding-bottom: 30px;
    display: inline-block;
    border-radius: 10px;
    width: 80%;
    margin: 15px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-evenly;
  	justify-items:center;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.project-card {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1a3875;
    height: 400px;
    width:280px;
    border-radius: 8px;
    overflow: hidden;
  	box-shadow: 6px 1px 18px 0px rgb(0 0 0 / 66%);
}

.project-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  	border-radius:8px;
  	border-bottom-right-radius:0;
   	border-bottom-left-radius:0;
    z-index: 1;
  	transition: opacity 0.6s ease;
}

.project-card:hover img {
    opacity: 0;
}

.project-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(26, 56, 117, 0.9);
    color: #ffc94d;
    text-align: center;
    z-index: 2;
}

.project-card:hover .project-info {
    opacity: 1;
}

.project-info p {
    color: #ffc94d;
  	margin: 10px;
    font-size: 1rem;
    line-height: 1.5;
}

.fform {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.comment-form {
  	max-width: 600px;
    width: 100%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.comment-form h4 {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    color: #1a3875;
}

.comment-form p {
    font-size:0.8em;
    line-height: 1.5rem;
}

textarea, input {
    width: 95%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 13px;
}

textarea, input {
    font-size: 13px;
}

.submit {
    background-color: #1a3875;
    color: #ffc94d;
    font-weight: bold;
    padding: 10px 15px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    width: 100%;
  	transition:0.2s;
}

.submit:hover {
	background-color: #ffc94d;
    color: #1a3875;
}

footer {
    background-color: #1a3875;
    padding-top: 20px;
    display:flex;
    bottom: 0;
    width: 100%;
  	height:auto;
}

footer p {
    color: #ffc94d;
  	margin-top: 50px;
  	font-size: 0.7rem;
 	position:relative;
  	right:0;
}

.contact {
    display: flex;
    margin-left:450px;
  	margin-right: 200px;
}

.contact p {
    color: #ffc94d;
    font-size:1.3em;
    font-weight: 600;
    margin-top: 12px;
    margin-right: 50px;
    line-height: 1.5;
}

.icons a {
    text-decoration: none;
    cursor: pointer;
    font-size: 40px;
}

.icons a img:hover {
    scale: 1.3;
}

.icons a img {
    width: 35px;
    margin-top: 10px;
    margin-left: 15px;
    margin-right: 15px;
    min-width: 44px;
    min-height: 44px;
    transition: all 0.5s;
}

@media (max-width: 600px) {
  
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 0;
        width: 50%;
        margin: 5px;
      	margin-right:0;
        background-color: #1a3875;
        padding: 10px;
      	padding-left: 0;
      	padding-right:20px;
        box-shadow: -3px 0px 6px 0px #0d1d3c;
        border-radius: 9px;
        z-index: 1000;
    }

    .nav-links.show {
        display: flex;
    }

    .burger {
        display: block;
    }
  
  h1 {
    font-size:26px;
  }
  
  h2 {
    font-size:26px;
    margin:0;
  }
  
  h3 {
    font-size:26px;
  }
  
  h4 {
  	font-size:26px;
  }
  
  main p {
  	font-size:16px;
    margin-top:10px;
  }
  
  .about-me p {
    width:180%;
    margin-left:10px;
  }
  
  .submit {
  	font-size:16px;
    font-weight:600;
  }
  
  footer {
    height:40px;
    padding:10px;
  }
  
  footer p {
    color: #ffc94d;
  	margin-top: 15px;
  	font-size: 0.5rem;
  }

  .contact {
    display: flex;
    margin-right:45px;
    margin-left:5px;
  }

  .contact p {
      color: #ffc94d;
      font-size:0.7em;
      font-weight: 600;
      margin-right: 5px;
      line-height: 1.5;
  }

  .icons a {
      text-decoration: none;
      cursor: pointer;
      font-size: 15px;
  }

  .icons a img:hover {
      scale: 1.3;
  }

  .icons a img {
      width: 15px;
      margin-top: 10px;
      margin-left: 5px;
      margin-right: 5px;
      min-width: 24px;
      min-height: 24px;
      transition: all 0.5s;
  }
}

@media (max-width: 800px) {  
  
    .all {
        grid-template-columns: repeat(1, 1fr);
   	}
  
  .grid-container {
  		grid-template-columns: repeat(1,1fr);
    	row-gap:50px;
    	justify-items:center;
  }
  
  .comment-form {
  	width:80%;
  }
}