body{
    background-color: #191919;
    padding-top: 0%;
}

@font-face {
    font-family: 'MyFont';
    src: url(font/Perfectly\ Vintages\ Font\ by\ Keithzo.otf);
}
@font-face {
    font-family: 'MyFont2';
    src: url(font/Game\ Of\ Squids.otf);
}
.container1{
    width: 100%;
    min-height: calc(100vh - 70px);
    padding-top: 70px;
}
.nav-bar{
    height: 70px;
    width: 100%;        
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    top: 0%;
    position: fixed;
    z-index: 100;
    background-color: #191919;
    animation: nav-bar 0.9s ease-in-out forwards;
}
.nav-bar div.active {
  opacity: 1 !important;
  color: #eaa12b !important;
}
.nav-bar div{
    font-family: 'MyFont2';
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    padding: 5px;
    border-radius: 5px;
}
.n-one{
    opacity: 1;
    color: #eaa12b;
}
.n-two{
    opacity: 0.5;
    color: #ffffff;
}
.n-three{
    color: #ffffff;
    opacity: 0.5;
}
@keyframes nav-bar {
    0% {
        transform: translateY(-300%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
    
}
.nav-bar div:hover{
    opacity: 1;
    color: #eaa12b;
}
.content{
    display: flex;
    flex-direction: column;
    padding-top: 50px;
    padding-left: 110px;
    width: 80%;
}
.hello{
    font-size: 15px;
    font-family: 'MyFont2';
    color: #c79978;
    margin-bottom: 20px;
    letter-spacing: 5px;
    animation: hello 1.1s ease-in-out forwards;
}
@keyframes hello {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
.intro div{
    font-size: 80px;
    font-family: 'MyFont';
    color: white;
    letter-spacing: 2px;
}
.intro div:nth-child(1){
    animation: intro1 1.8s ease-in-out forwards;
}
.intro div:nth-child(2){
    animation: intro2 1.5s ease-in-out forwards;
}
.intro div:nth-child(3){
    animation: intro1 1.4s ease-in-out forwards;
}
.intro div:nth-child(4){
    animation: intro2 2.3s ease-in-out forwards;
}
.intro div:nth-child(5){
    animation: intro1 2s ease-in-out forwards;
}
.intro div:nth-child(6){
    animation: intro2 2.1s ease-in-out forwards;
}
@keyframes intro1 {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes intro2 {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);   
        opacity: 1;
    }
}
@keyframes intro3 {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes intro4 {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes intro5 {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
    
}
@keyframes intro6 {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
.right-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    width: 15%;
    min-height: calc(100vh - 70px);
    padding-top: 70px;
    z-index: 102;
    background-color: #a0680f;
    animation: right-box 0.9s ease-in-out forwards;
}
@keyframes right-box {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.social-box{
    position: absolute;
    display: flex;          
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50%;
    gap: 20px;
}
.s-1{
    font-family: 'MyFont2';
    font-size: 20px;
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    opacity: 0.5;
}
.s-1:hover{
    opacity: 1;   
}
.container2{
    padding-left: 15%;
    padding-right: 15%;
    min-height: calc(100vh - 70px);
    padding-top: 70px;
    margin-top: 10%;

}
.about{
    font-family: 'MyFont2';
    font-size: 2rem;
    width: max-content;
    color: #eaa12b;
    border-bottom: 2px solid #b37a52;
    margin-bottom: 20px;
    opacity: 0;
    transition: all 1s;
    transform: translateX(-50%);
}
.about-container{
    height: 100%;
    overflow: hidden;
}
.about-text{
    font-size: 25px;
    line-height: 1.6;
    color: rgb(255, 255, 255, 0.7);
    font-weight: 300;
    font-family: 'Times New Roman', Times, serif;
    opacity: 0;
    transition: all 1s;
    transform: translateX(50%);
}
.education-container{
    color: white;
    padding-top: 10%;
    overflow: hidden;
}
.education{
    font-family: 'MyFont2';
    font-size: 30px;
    width: max-content;
    color: #eaa12b;
    border-bottom: 2px solid #b37a52;
    margin-bottom: 20px;
    opacity: 0;
    transition: all 1s;
    transform: translateX(-50%);
}
.qualification{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding-bottom: 5%;
}
.education-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center; 
    margin: 30px 0;
}
.education-card {
    border-radius: 10px;
    box-shadow: 10px 10px 5px rgba(39, 39, 39, 1);
    padding: 20px;
    width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transition: all 0.7s;
    transform: translateX(150%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.education-card h3 {
    margin: 0 0 10px 0;
    color: #fefefe; 
    font-size: 1.2rem;
}
.education-card p {
    margin: 5px 0;
    color: #969696; 
    font-size: 0.9rem;
}
.education-card p:last-child {
    color: #f5b585; 
    font-weight: 500;
}
.container3{
    padding-left: 15%;
    padding-right: 15%;
    padding-top: 1%;
    padding-bottom: 5%;
}
.skills{
    font-family: 'MyFont2';
    font-size: 30px;
    width: max-content;
    color: #eaa12b;
    border-bottom: 2px solid #b37a52;
    margin-bottom: 20px;
    opacity: 0;
    transition: all 0.7s;
    transform: translateX(150%);
}
.skills-container{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.skill-card{
    border-radius: 10px;
    padding: 20px;
    box-shadow: 10px 10px 5px rgba(39, 39, 39, 1);
    margin-bottom: 20px;
    opacity: 0;
    transition: all 0.7s;
    transform: translateX(-150%);
    cursor: pointer;
    width: min-content;
}
.skill-header{
    color: #fefefe;
}
.skill-list{
    color: #f5b585;
}
.container4{
    padding-left: 15%;
    padding-right: 15%;
    min-height: calc(100vh - 70px);
}
.project{
    font-family: 'MyFont2';
    font-size: 30px;
    width: max-content;
    color: #eaa12b;
    border-bottom: 2px solid rgb(179, 122, 82);
    margin-bottom: 20px;
    opacity: 0;
    transition: all 0.7s;
    transform: translateX(-150%);
    overflow: hidden;
}
.project-container {
    display: flex;
    flex-direction: row; 
    flex-wrap: wrap; 
    justify-content: space-evenly;
    padding-top: 20px;
    overflow: hidden;
}
.resrtaurant div:nth-child(1), .dark div:nth-child(1), .solar div:nth-child(1){

    cursor: pointer;
}
.restaurant, .dark, .solar{
    width: 30%;
    padding: 20px; 
    display: flex;
    flex-direction: column;
    box-sizing: border-box; 
    opacity: 0;
    transition: all 0.7s;
    transform: translateX(150%);
}
.res-text, .dark-text, .solar-text{
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.top{
  position: fixed; 
  bottom: 20px; 
  right: 30px;
  border: none;
  background-color: #f5b585;
  width: 30px;
  border-radius: 50%;
  height: 30px;
  padding: 10px;
  display: none;
  opacity: 0.8;
  cursor: pointer;
  transition:  all 0.3s ease-in-out;
}
.top:hover{
    background-color: #ffffff;

}
.show {
  opacity: 1;
  transform: translate(0, 0);
}
.contact-section {
  padding: 50px 15%;
  background: rgba(255,255,255,0.05);

}
.contact{
    font-family: 'MyFont2';
    font-size: 25px;
    width: max-content;
    color: #eaa12b;
    border-bottom: 2px solid rgb(179, 122, 82);
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #eaa12b;
  font-family: 'MyFont2';
}

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #b37a52;
  border-radius: 5px;
  color: white;
  
}

.submit-btn {
  background: #eaa12b;
  color: #191919;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'MyFont2';
  font-size: 18px;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: #f5b585;
}