@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Poetsen+One&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body{
    background: url("/images/bg.jpeg");
    background-attachment: fixed;
    background-position: center;
    background-size:cover;

}

#header{
    margin: 0;
    width: 100%;
    height: 100vh;
}

.container{
padding-top: 80px ;
}

.nav-container{
    height: 75px;
    width: 100%;
    background:#191A19;
    box-shadow: 0 5px 15px rgba(0,0,0,0.65);
    align-items: center;
    position: fixed;
    top: 0;
    overflow: hidden;
    z-index: 9999;
}

nav{
    padding-right: 15% ;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

nav img{
    margin-left: 50px;
    width: 100px;
    height: 75px;
}

nav ul li{
display: inline-block;
list-style: none;
margin: 5px 40px;


}
nav ul li a{
font-family: 'Poppins', sans-serif;
text-decoration: none;
color: white;
font-size: 18px;
font-weight: 300;
position: relative;
}

nav ul li a::after{
content: '' ;
width: 0;
height: 3px;
background-color: green;
left: 0;
bottom: -6px;
position: absolute;
transition: 0.5s;
}

nav ul li a:hover::after{
width: 100%;
}

.content-section {
    opacity: 0;
    transform: translateY(20px); /* Slide up when in view */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content-section.show{
    opacity: 1;
    transform: translateY(0);
}

.greatings{
margin: 100px 10%;
font-family: "Poetsen One", sans-serif;

}

.greatings h1 {
font-size: 70px;
font-weight: 400;
color: white;
-webkit-text-stroke: #191A19;
-webkit-text-stroke-width: 2px;
}

.greatings h1 span{
color: green;
}

.greatings p{
color: white;
font-weight: 300;
font-size: 20px;
}

nav .fa-solid{
    color: white;
    display: none;
}

/*----------------------ABOUT SECTION-------------*/
.about_container{
    width: 100%;
    height: 100%;
    padding: 80px 5%;
    background-color: rgba(0,0,0,0.85);
    color: white;
    font-family: 'Poppins', sans-serif;
}

.about_container .title {
    text-align: center;
    font-family: "Dancing Script", cursive ;
    
}

.about-me {
    width: 100%;
    height: 300px;
    margin: 20px 0;
    display: flex;
    box-shadow: 0 5px 15px rgba(0,0,0,0.85);
}

.pic{
    flex-basis: 50%;
    align-items: center;
    display: flex;
    padding-left: 5%;
    

}
.pic img{
    width:90% ;
    height: 90%;
    size: cover;
    border-radius: 20px;
    
}

.subtitles{
    flex-basis: 50%;
    padding-top: 10px;
    padding-right: 5%;
    align-items: center;
    justify-content: center;
    display: flex;
}

.subtitles p{
    font-size: 1rem;
    line-height: 2;
}

.my-bg{
    width: 100%;
    height: 40%;
    display: flex;
    justify-content: space-between;
   
}

.my-bg .col1,.col2{
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.85);
    flex-basis: 50%;
    height: 360px;
}

.col1 h1, .col2 h1{
    font-family: "Poetsen One", sans-serif;
    justify-content: center;
    display: flex;
    color: #A1DD70;
}


.skill-icons{
    width: 100%;
    height: 260px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
}


.skill-icons i {
    font-size: 70px;
    height: 200px;
    width: 125px;
    color:rgb(111, 207, 111);
    border-radius: 10px;
    margin: 0 10px;
    justify-content: center;
    display: flex;
    align-items: center;
    background: #F6EEC9;
    transition: 0.5s;

}

.skill-icons i:hover{
    transform: scale(1.1);
}

.educ{
    padding: 0 10%;
}
.educ h3 {
    font-family: "Dancing Script", cursive;
    font-weight: bold;
    color: #A1DD70;

}

.educ p {
    margin-bottom: 5px;
    color: rgb(91, 121, 91);
}

/*----------------------PORTFOLIO SECTION-------------*/
#portfolio{
    width: 100%;
    height: auto;
    padding: 80px 10% 0;
    background-color: rgba(0,0,0,0.85);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.title-portfolio{ 
    text-align: center;
    font-family: "Dancing Script", cursive;
    margin-bottom: 10px ;
}

.port-container{
    display: flex;
    justify-content: center;
    height: auto;
    width: 100%;
    
}
.row-portfolio{
    display: grid;
    grid-template-columns: repeat(auto-fill, 500px);
    gap: 40px;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}
.col{
    width: 500px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #F6EEC9;
    border-radius: 10px;
    padding: 20px;

}

.col:hover{
    transform: scale(1.03);
    transition: 0.5s ;
}

.col img{
    width: 350px;
    height: 300px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.85);
    border-radius: 10px;
    margin-bottom: 20px;
    
}

.description{
    width: 90%;
    height: 200px;
    margin-bottom: 10px;
    position: relative;

}
.description h1{
    font-family: "Poetsen One", sans-serif;
    text-align: center;
    color: #191A19;
    font-size: 2rem;
}
.description p{
    text-align: justify;
    padding: 10px;
    color: #191A19;
    font-weight: 500;
}

.description a{
    position: absolute;
    right: 10px;
    bottom: 0;
    text-decoration: none;
    color: #191A19;
    
}


.description a:hover{
    color: blue;
}

/*------------------------CONTACT SECTION---------------- */
#contact{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 80px 10%;
    color: white;
}

.contact-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.contact-me{
    width: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.65);
    flex-basis: 65%;
    border-radius: 15px;
}

.contact-me h1{
    font-family: "Dancing Script", cursive;
    font-size: 150px;
    margin: 0 5%;
}

.contact-me p{
    text-align: center;
    font-size: 40px;
}

.side{
    flex-basis: 30%;
    padding: 20px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.65);
    display: flex;
    flex-direction: column;
    align-items: center;   
    border-radius: 20px;
}
.contact-pic{
    width: 100%;
    height: 400px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F6EEC9;
    border-radius: 15px;
    padding: 20px;
}
.contact-pic img{ 
    width: 100%;
    height: 100%;
    border-radius: 100% ;
}
.social-icons h2{
    margin-bottom: 20px;
    text-align: center;
    font-family: "Poetsen One", sans-serif;
    color:  #191A19;
}
.social-icons{
   
    border: 1px solid white;
    background-color: #F6EEC9;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}
.icons{   
    font-size: 40px;
    margin-right: 10px;
   
}

.facebook, .instagram, .github{
    display: flex;
    width: 200px;
}

.facebook p, .instagram p, .github p {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    list-style: none;
}

.facebook a, .facebook p a{
    color: #4267B2;
    text-decoration: none;
}

.instagram a, .instagram p a{
    color: #E1306C;
    text-decoration: none;
}

.github a, .github p a {
    color:  #191A19;
    text-decoration: none;    
}

.facebook p :hover{
    border-bottom: 2px solid #4267B2 ;
}

.instagram p :hover{
    border-bottom: 2px solid #E1306C;
}
.github p :hover {
    border-bottom: 2px solid  #191A19;
}
@media only screen and (max-width: 768px){

.about_container{
    height: 100%;
}

.greatings{
    margin: 50px;
}
.greatings h1{
    font-size: 40px;
    -webkit-text-stroke-width: 1px;
}

nav ul{
    background-color: green ;
    width: 200px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -200px;
    padding-top: 50px;
    display: block;
    z-index: 2;
}

nav ul li {
    margin: 25px;
    display: block;
}
nav .fa-solid{
    display: block;
    font-size: 30px;
}
nav ul .fa-solid{
    position: absolute;
    top: 25px;
    left:25px;
    
}

nav ul li a::after{
    background: black;
}

#bars{
    margin: 0 5%;
    
}

.about_container{
    display: flex;
    flex-direction: column;
}

.my-bg{
    flex-direction: column;
}

.col{
    margin-bottom: 10px;
    width: 400px;
}
.port-container{
  align-items: center;
  justify-content: center;
}
.skill-icons{
    height: 60px;
}
.skill-icons i {
    font-size: 30px;
    height: 50px;


}
.about-me {
    flex-direction: column;
    height: 250px;
}
.pic{
    justify-content: center;
    align-items: center;
    padding-left: 0;
    height: 50%;
}

.subtitles{
    height: 50%;
}
.pic img{ 
    width: 200px;
    height: 130px;
}
.subtitles p {
    font-size: 12px;
    padding-left: 5%;
    line-height: 1;
}
.educ{
    height: 245px;
}
.educ p{ 
    font-size: 10px;
}
.educ h4{
    font-size: 12px;
}

.row-portfolio{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top:0 ;
    height: 100%;

}

.col-port1 img, .col-port2 img, .col-port3 img, .col-port4 img{
    width: 250px;
    height: 100px;
}

.col-port1, .col-port2{
    height: 100%;
    margin-bottom: 40px;
}
.description h1{
    font-size: 20px;
}
.description p{
    font-size: 14px;
    padding: 10px 0;
}

.contact-container{
    flex-direction: column;
}
.contact-me{
    width: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}
.contact-me h1{
    font-size: 50px;
}
.contact-me p{
    font-size: 20px;
}
.contact-me, .side{
    margin: 20px 0 ;
    flex-basis: 50%;
    height: 50%;
}
.contact-pic{
    height: 50%;
}
.contact-pic img{
    height: 150px;
    width: 200px;
}
.social-icons{
    height: 50%;
    margin: 20px 5%;
    flex-direction: row;   
}
.social-icons h2{
    font-size: 15px;
    border-right: 1px solid black;
}
.facebook p, .instagram p, .github p{
    display: none;
}
.facebook, .instagram, .github{
    justify-content: center;
    align-items: center;

}
}
