* {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
}
    /* box-sizing: border-box;
    border: 1px solid red; */

html, body {
    height: 100%; 
    width: auto;
    overflow-x: hidden;
}


/* Header */
.header {
    color: #333;
    background-color: white;
    text-align: center;
    position: sticky;
    z-index: 999;
    top: -10px;
    box-shadow: 0 -6px 10px 1.5px rgba(0,0,0,0.5);
}

.nav-logo {
    height: 80px;
}

/* Navbar */
.navbar {
    margin: auto;
    width: auto;
    height: 90px;
    padding: 0 10px 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Lato", sans-serif;
    font-weight: 700;
}

.navbar ul {
    list-style: none;
}

.navbar ul li {
    display: inline-block;
    list-style: none;
    margin: 20px;
    font-weight: 600;
    text-transform: uppercase;
}


.navbar ul li a {
    color: #31343A;
    text-decoration: none;
    font-weight: bold;
}

.navbar ul li a:hover {
    color: #a1c889;
}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #101010;
}

.btn {
    background-color: #fdfdfd;
    color: #a1c889;
    padding: 10px 15px;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    border-radius: 18px;
    cursor: pointer;
    font-size: 28px;
    border: 2px solid #a1c889;
    font-family: "Lato", sans-serif;
    font-weight: 400;
}

.btn:hover {
    background-color: #a1c889;
    color: white;
}

.btn a {
    text-decoration: none;
    color: #a1c889;
}

.btn a:hover {
    color: white;
}


/*Headers*/

.header-txt {
    max-width: 800px;
    margin: auto;
    text-align: center;
    font-family: "Lato", sans-serif;
    padding: 20px;
}

.header-txt h1 {
    position: relative;
    font-size: 40px;
    color: #a1c889;
    margin-bottom: 30px;
    display: inline-block;
}

.header-txt h1::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    top: 125%;
    left: 1px;
    background-color: #a1c889; 
}

.header-txt h1::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: #81a969;
    top: calc(125% - 1px);
    left: 50%;
    transform: translateX(-50%);
}

.header-txt p {
    color: #31343a;
    font-size: 18px;
    padding: 0px 30px;
}


/* Hero */
#hero-container {
    position: relative;
    height: 90vh;
    width: auto;
  }

.hero-image {
    background-image: url(../img/bg-image.png);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    mask-image: linear-gradient(to top, transparent .1%, white);
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-text {
    position: absolute;
    top: 45%;
    left: 40%;
    transform: translate(-50%, -50%);
    font-size: 30px; 
    color: #31343a;
    width: 100wh;
}

.hero-btn {
    background-color: #fdfdfd;
    color: #a1c889;
    padding: 10px 15px;
    margin-top: 10px;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    border-radius: 18px;
    cursor: pointer;
    font-size: 28px;
    border: 2px solid #a1c889;
    font-family: "Lato", sans-serif;
    font-weight: 400;
}

.hero-btn:hover {
    background-color: #a1c889;
    color: white;
}

.hero-text h1 {
  font-family: "Playfair Display", serif;
  font-weight: normal;
  font-size: 60px;
}

.hero-text p {
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: "Lato", sans-serif;
    font-style: italic;
}

#typewriter {
    letter-spacing: 2px;
    font-weight: bold;
    font-style: italic;
    color: #a1c889;
}

#cursor {
    animation: blink 1s linear infinite;
}

@keyframes blink {
    0% {
        opacity: 100%;
    }
    50% {
        opacity: 0%;
    }
}

/* About */

#about-link {
/*   border: 2px solid red;*/
    width: 100%;
    position: relative;
    bottom: 200px; 
}

#hr {
    border-top: 1.5px solid #a1c889;
    max-width: 1500px;
    margin: auto;
}

.about {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 185px;
}

.about .header-txt {
    margin: 20px;
}

.about .header-txt p {
  text-align: left;
}

.about .header-txt a {
    color: #a1c889;
}

.about img {
  position:relative;
  height: 500px;
}

/*Skills*/


.skills .header-txt h1{
    color: #fff;
}

.skills .header-txt p{
    color: #fff;
}

.skills .header-txt h1::before{
    background-color: #fff;
}

.skills .header-txt h1::after{
    background-color: #fff;
}

.skills {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    margin-top: 10px;
    background-color: #81a969;
    margin: auto;
    padding: 80px 0px 100px 0px;
}

.skills .row{
	display: flex;
    justify-content: space-around;
	margin: 30px 100px;
}
.row .col{
	flex-basis: 48%;
}
.row .sub-title h2{
	position: relative;
	color: #fff;
	font-size: 22px;
	font-family: 'Lato', sans-serif;
	display: inline-block;
	margin-bottom: 30px;
}
.row .sub-title h2::before{
	content: '';
	position: absolute;
	width: 50%;
	height: 1px;
	top: 125%;
	left: 0;
	background-color: #fff;
}
.row .sub-title h2::after{
	content: '';
	position: absolute;
	width: 25%;
	height: 3px;
	top: calc(125% - 1px);
	left: 0;
	background-color: #fff;
}
.subject{
	font-size: 18px;
	font-weight: thin;
	color: #fff;
	padding-bottom: 15px;
	text-transform: uppercase;
}
.progress-bar{
	position: relative;
	width: 100%;
	height: 5px;
	background-color: #a1c889;
	border-radius: 15px;
	margin-bottom: 20px;
}
.progress-bar::after{
	position: absolute;
	content: attr(value);
	top: -35px;
	right: 0;
	color: #fff;
	font-size: 18px;
}
.progress-line{
	position: absolute;
	width: 0%;
	height: 7px;
	background-color: #fff;
	border-radius: 15px;
	top: -1px;
	animation: animate 5s cubic-bezier(1, 0.2, 0.2, 1) forwards;
}
@keyframes animate{
	100%{
		width: 100%;
	}
}
.progress-line::after{
	content: '';
	position: absolute;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	top: 50%;
	left: 100%;
	transform: translate(-50%, -50%);
	background-color: #fff;
}


/* Projects */

#project-link {
/*   border: 2px solid red;*/
    width: 100%;
    position: relative;
    bottom: -25px; 
}

.projects {
    display: flex;
    flex-direction: column;
    align-content: center;
    max-width: 1800px;
    margin: auto;
    padding: 200px 0px;
}

.project-container {
    display: flex;
    flex-wrap: wrap;

} 

.project-card {
    width: 460px;
    height: 400px;
    overflow: hidden;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    transition: transform 0.2s ease;
}

.project-card:hover {
    transform: scale(1.02);
}
    
.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
    
.project-content {
    padding: 20px;
}
    

.project-title {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 0 10px;
    color: #81a969;
}  

.tech-stack {
    display: flex;
    gap: 8px;
    font-size: 0.8em;
    color: #007bff;
    flex-wrap: wrap;
}

.tech-stack span {
    background-color: #e2e6ea;
    padding: 5px 10px;
    border-radius: 4px;
}
    

.button-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.button-container a {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;              
    transition: background-color 0.3s ease;
}

.button-container .view-project {
background-color: #a1c889;
}

.button-container .view-code {
background-color: #50e0ff;
}

.button-container a:hover {
  opacity: 0.8;
}




/*Resume*/

main {
    padding: 40px;

}

#resume-btn{
    position: sticky;
    left: 80%;
}




.resume {
    display: flex;
    justify-content: space-between;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 30px auto auto auto;
    max-width: 1300px;
    text-wrap: wrap;
}

.resume .right #cont {
    padding-top: 20px;
}

.resume h2{
    text-align: left;
    color: #333;
    font-size: 40px;
    padding: 10px 0;
}

.resume .left {
    display: flex;
    flex-direction: column;
    width: 28%;
    padding-top: 55px;
    margin-left: 35px;
}


.resume #skills, .resume #edu {
    text-align: left;
}

.resume ul li{
    list-style: none;
}

.resume .left li{
    margin-bottom: 10px;
}

.resume .left #edu{
    padding-bottom: 60px;
}

.resume .left #skills ul {
    padding-bottom: 20px;
}

.resume .right{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 55px 10px 40px 0;
}

.resume .right-content {
    display: flex;
    flex-direction: column;
}

.resume .right-content ul {
    text-wrap: wrap;
}

.resume .right h1 {
    font-size: 30px;
    color: #81a969;
}

.resume .right-header p {
    max-width: 870px;
}

.resume .right h2 {
    padding: 20px 0px;
}

.resume .right ul {
    list-style-type: none;
    padding: 0;
}

.resume .right li {
    margin-bottom: 28px;
}

.resume .right {
    text-align: left;
}

/*Work Together*/

#work-together {
  padding-bottom: 150px;    
}


/* Footer Section */


/* Contact */
.contact {
  display: flex;
  font-family: "Lato", sans-serif;
}

.contact-container {
  flex: 0 1 900px;
  margin: auto;
  padding: 10px;
}

.screen {
  position: relative;
  background: #3e3e3e;
  border-radius: 15px;
  width: 750px;
  height: 310px;
  margin: auto;
}

.screen:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  bottom: 0;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  z-index: -1;
}

.screen-header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: #4d4d4f;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.screen-header-left {
  margin-right: auto;
}

.screen-header-button {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 3px;
  border-radius: 8px;
  background: white;
}

.screen-header-button.close {
  background: red;
}

.screen-header-button.maximize {
  background: #e8e925;
}

.screen-header-button.minimize {
  background: #74c54f;
}

.screen-header-right {
  display: flex;
}

.screen-header-ellipsis {
  width: 3px;
  height: 3px;
  margin-left: 2px;
  border-radius: 8px;
  background: #999;
}

.screen-body {
  display: flex;
  padding: 10px;
}

.contact-title {
  position: relative;
  left: 10px;
  color: #81a969;
  font-size: 26px;
}

.contact-title h1 {
    font-size: 26px;
    width: 180px;
}

.contact-title:after {
  content: '';
  display: block;
  position: absolute;
  bottom: 210px;
  width: 40px;
  height: 4px;
  background: #81a969;
}

.info-contact {
  position: relative;
  top: 200px;
  right: 150px;
  font-size: 11px;
  color: #888;
  text-align: left;
  width: 180px;
  height: 10px
}

.info-contact a {
  color: #81a969;
}

.contact-form-inputs {
  position: relative;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
}

.contact-form-group {
    width: 100%;
}

.contact-form-group.message {
  margin-top: 10px;
  font-size: 16px; 
  
}

.contact-form-group.buttons {
  text-align: right;
    padding-top: 10px;
}

#submit {
    padding: 15px;
}

.contact-form-control {
  width: 100%;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #666;
  color: #ddd;
  font-size: 14px;
  text-transform: uppercase;
  outline: none;
  transition: border-color .2s;
}

.contact-form-control::placeholder {
  color: #666;
}

.contact-form-control:focus {
  border-bottom-color: #ddd;
}

.contact-form-button {
  background: none;
  border: none;
  color: #81a969;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

.contact-form-button:hover {
  color: #fff;
}


/* Footer */

footer {
    position: relative;
    background-color: #f4f4f4;
    padding-top: 20px;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding-bottom: 10px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

footer h3 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    color: #81a969;
    padding: 10px 0 10px 0;
    font-size: 21px;
}

.footer-txt {
    background-color: #a1c889;
    font-family: "Lato", sans-serif;
    color: #fff;
    font-size: 12px;
    padding: 5px 0 5px 5px;
}

.social-links {
  display: flex;
  margin-top: 10px;
}

#linkedIn, #gitHub, #email {
  padding: 10px;
}





/* Media Queries */
@media(max-width: 1390px){ 
    .hero-text h1 {
        font-size: 50px;
        width: 700px;
    }
    

    .footer-content img {
        max-width: 400px;
    }
    
    footer h3 {
        font-size: 18px;
    }
    
    .social-links img {
        max-width: 30px;
    }
    
    .social-links {
        margin-top: 0px;
    }
    
    #linkedIn, #gitHub, #email {
        padding: 5px;
    }

    
}

@media(max-width: 1200px){
    .skills .row {
        margin: 20px;
    }
    
    .hero-text {
        left: 40%;
    }
    
    .hero-btn {
        font-size: 20px;
    }

    .footer-content img {
        max-width: 180px;
    }

    .about-img img {
        height: 400px;
    }

    .resume .right-header h1{
        font-size: 25px;
    }

    .resume .right h2 {
        font-size: 29px;
        padding: 20px 0 5px 0;
    }

    .resume .left h2 {
        font-size: 29px;
    }

    .resume .left h3 {
        font-size: 18px;
    }

    #resume-btn {
        font-size: 25px;
    }
}


@media screen and (max-width: 1060px) {
    .screen {
        max-width: 550px;
    }
    
    .contact-form-inputs {
        position: absolute;
    }
    
    .contact-title::after {
      bottom: -10px;
    }
    

    .resume .left {
        padding-right: 10px;
    }

    #resume-btn {
        font-size: 20px;
    }


}

@media(max-width: 940px){
    .hero-text h1 {
        width: 500px;
        height: 160px;
        font-size: 45px;
    }

    .hero-text {
        left: 35%;
        top: 35%
    }
    
    .screen {
        max-width: 500px;
    }
    
    .screen-body {
      padding: 10px;
    }
    
    .contact-title h1{
        font-size: 20px;
    }
    
    .contact-title:after {
      position: absolute;
      bottom: 220px;
    }
    
    .info-contact {
        position: relative;
        top: 200px;
        text-align: left;
        font-size: 10px;
    }
    
    .contact-form-inputs {
        position: relative;
        right: 120px;
    }
    
    .footer-content img {
        max-width: 300px;
    }
    
    footer h3 {
        font-size: 18px;
    }
    
    .hero-btn {
        font-size: 18px;
    }

    #resume-btn {
        left: 75%;
        font-size: 18px;
    }

}

@media (max-width: 850px){
    .nav-menu {
        width: 500px;
    }

    .navbar ul li {
        margin: 10px;
    }
    
    .footer-content img {
        max-width: 250px;
    }
    
    footer h3 {
        font-size: 16px;
    }
    
    .screen {
        max-width: 480px;
    }
    
    .social-links img {
        max-width: 25px;
    }
    
    .social-links {
        margin-top: 0px;
    }
    
    #linkedIn, #gitHub, #email {
        padding: 5px;
    }

    .about-img img {
        height: 350px;
    }

    .about #header-txt {
        padding-right: 20px;
    }

    .about #header-txt h1 {
        font-size: 25px;
    }

    .about #header-txt p {
        font-size: 15px;
    }

    .resume .left h3 {
        font-size: 16px;
    }

    .resume #skills h3 {
        text-decoration: underline;
    }

    .resume .left h2 {
        font-size: 25px;
    }

    .resume .left p {
        font-size: 16px;
    }

}

@media screen and (max-width: 800px){
    .resume .right p, .resume .right h4{
        font-size: 14px;
    }

    .resume .right h2, .resume .right h1, .resume .left h2 {
        font-size: 20px;
    }


}


@media(max-width: 768px){
	.skills{
        margin: auto;
	}
    
    .hero-text {
        top: 35%;
    }
    
    .hero-text h1 {
        width: 460px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #a1c889;
        width: 100vw;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        }

    .nav-menu {
        height: 350px;
    }    

    .nav-menu ul {
        display: flex;
        flex-direction: column;
    }

    .navbar .nav-menu li a {
        display: none;
    }
    
    .nav-menu.active {
        left: 0;
        max-height: 350px;
    }
    
    .navbar .nav-menu.active li a{
        display: block;
        padding: 15px 200px;
        color: white;
        font-weight: 600;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .screen {
        max-width: 650px;
    }

    .about {
        display: flex;
        flex-direction: column-reverse;
        justify-items: center;
    }

    .about #header-txt {
        max-width: 100%;
        text-align: center;
        margin: auto;
    }

    .about img{
        height: 500px;
        padding-bottom: 20px;
    }

    .resume {
        display: flex;
        flex-direction: column-reverse;
        justify-items: center;
    }

   .resume .right {
    width: 90%;
    margin: 30px auto auto auto;
   }

   .resume .left {
    width: 100%;
   }

    #skills #skills-content {
        display: flex;
        align-items: flex-start;
    }

    #skills #pro-skills, #skills #design-skills {
        padding: 0 20px 20px 20px;
    }

    #resume-btn {
        left: 70%;
        font-size: 16px;
    }


    
}


@media screen and (max-width: 750px) {
    
    .hero-text {
        top: 45%;
        left: 45%;
    }
    
    .hero-text h1 {
        font-size: 40px;
        width: 460px;
        height: 140px;
    }
    
    .hero-text p {
        font-size: 20px;
        margin-bottom: 0;
    } 
    
    .hero-btn {
        font-size: 16px;
    }
    
    .screen {
        width: 570px;
    }

    .about img {
        height: 450px;
    }
}

@media screen and (max-width: 610px) {
    .hero-text {
        left: 50%;
    }

    .about img {
        height: 400px;
    }

    #resume-btn {
        left: 65%;
        font-size: 16px;
    }
}

    
@media screen and (max-width: 568px){
	.skills .row{
        max-width: 500px;
		flex-direction: column;
        padding-left: 10px;
	}
	.skills #header-txt h1{
		font-size: 25px;
	}
	.skills .row{
		margin-top: 30px;
	}
	.row .col:nth-child(2){
		margin-top: 20px;
	}
    
    .skills #header-txt p {
        font-size: 15px;
    }
    
    .skills .sub-title h2{
        font-size: 18px;
    }
    
    .skills .subject {
        font-size: 15px;
    }

    .hero-text p {
        font-size: 20px;
    }
    
     .screen {
        max-width: 400px;
    }    
    
   .contact-form-control {
        font-size: 12px;
        max-width: 350px;
    }
    
    .info-contact {
        position: absolute;
        left: 210px;
        top: 57px;
        text-align: right;
    } 
    
    .contact-title {
        position: relative;
        left: 10px;
        text-align: left;
    }
    
    .contact-title:after {
        bottom: 210px;
    }
    
    .contact-form-inputs {
        position: relative;
        top: 35px;
        right: 150px;
    }
    
    .contact-form-group.buttons {
        position: relative;
        bottom: 20px;
        font-size: 10px;
    }
    
    .footer-txt {
        font-size: 12px;
    }
}

@media screen and (max-width: 520px) {
    
    .nav-logo {
        height: 70px;
    }
    
    
    .footer-content img {
        max-width: 200px;
    }
 
    .social-links img {
        max-width: 30px;
    }
    
    .social-links {
        margin-top: 0px;
    }
    
    #linkedIn, #gitHub, #email {
        padding: 5px;
    }
    
    .hero-text {
        padding-left: 50px;
        top: 40%;
        height: 100px;
    }



    
}

@media screen and (max-width: 415px) {
    
    

    .hero-text {
        margin-left: 20px;
    }
    
    .hero-text h1 {
        font-size: 25px;
        height: 50px;
    }
    
    .hero-btn {
        font-size: 15px;
    }
    
    .screen {
        max-width: 340px;
    }   
    
   .contact-form-control {
        max-width: 250px;
    }
    
    .info-contact {
        left: 150px;
    }

    .contact-title {
        position: relative;
        top: 10px;
        font-size: 20px;
        text-align: left;
    }
    
    .contact-form-inputs {
        position: relative;
        top: 40px;
    }

    .about img {
        height: 300px;
    }

    #skills li {
        font-size: 14px;
    }

    .resume .left {
        margin-left: 15px;
    }

    #resume-btn {
        left: 55%;
        font-size: 14px;
    }

    .accordion {
        background-color: #eee;
        color: #444;
        cursor: pointer;
        padding: 18px;
        width: 80%;
        text-align: left;
        border: none;
        outline: none;
        transition: 0.4s;
      }

      .active, .accordion:hover {
        background-color: #a1c889;
      }

      .panel {
        width: 80%;
         padding: 18px;
         background-color: #a1c889;
         font-weight: bold;
         color: white;
         display: none;
         overflow: hidden;
    }
  
}

@media screen and (max-width: 380px) {
    
        
    #hero-container {
        height: 100vh;
    }
    

    .hero-text {
        max-height: 300px;
        max-width: 300px;
        padding: 0px;
        margin: 0px;
        top: 30%;
    }
    
    .hero-text h1 {
        font-size: 22px;
        height: 50px;
        width: 240px;
    }
    
    .hero-text p {
        padding-top: 20px;
    }
    
    .hero-btn {
        font-size: 15px;
    }
    
    
    .screen {
        max-width: 300px;
    }   
    
    
   .contact-form-control {
       position: relative;
       left: -15px;
       max-width: 250px;
    }

    .info-contact {
        left: 110px;
    }

    
    .contact-form-inputs {
        position: relative;
        top: 45px;
    }
    
    .contact-form-group.buttons {
        position: relative;
        left: -40px;
    }
    

    #resume-btn {
        margin: auto;
    }
    

}



