*, 
*:before, 
*:after{
    box-sizing: border-box;
}
html{
    font-size: 16px;
    scroll-behavior: smooth;
}
body{
    margin: 0;
    padding:0;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}
p{
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.3;
}
body > header {
    width: 100%;
    height: 4.0rem;
    position: fixed;
    z-index: 1;
    color: #000;
    background-color: #fff;
}
    
.header-container {
    width: 60.0rem;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.header-container > div {
    height: 4.0rem;
    line-height: 4.0rem;
}

.header-container span{
    margin-left:30px;
    cursor: pointer;
}

.header-container .click-home:hover{
    opacity:0.8;
    cursor: pointer;
}
.header-container span:hover{
    opacity:0.8;
}


.home-page {
    width: 60.0rem;
    margin: 0 auto;
    padding: 2.0rem;
}

.project-page {
    width: 60.0rem;
    margin: 0 auto;
    background-color:white;
    font-size: 2rem;
    padding-top: 7%;
    padding-bottom: 5%;
}
h2{
    font-weight: 600;
    margin-bottom: 2.5%;
    text-align: start;
}
.project-page img{
    margin:0 auto;
}
.project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;  
}

.project-card {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 1.0rem;
    height: 10.0rem;
    margin-top: 2.0rem;
    flex: 0 0 31%;
    border-radius: 10px;
    cursor:pointer;
}

.hideAll {
    display: none;
}

section{
    padding-top:7%;
}

.main-heading{
    font-weight: 700;
    font-size:2.5rem;
}

.hero{
    display: flex;
}

.hero .left a{
    background-color: #000;
    color: #fff;
    padding: 10px;
    text-decoration: unset;
    border-radius: 5px;
    display: inline-block;
}

.hero > div {
    flex:1;
}

.left{
    text-align: left;
    align-content: center;
}

.left p{
    margin:15px 0;
    line-height: 20px;
}

.right img{
    width: 230px;
    margin: 0 auto;
}

.project-card{
    background-image: url('../assets/images/image.jpg');
    background-size: cover;
    background-position: center center;
    transition:0.3s ease;
}

.project-card:hover{
    opacity:0.8;
}

.project-card p{
    background-color: #fff;
    padding: 20px;
}

.skills-section{
    display: flex;
    gap:50px;
}

.skills-section > div{
    text-align: left;
    flex: 0 0 45%;
}

.skills-section > div > h2{
    margin-bottom: 10px;
}

.skills-section .skills div{
    margin-bottom:15px;
}

.skills-section .about p{
    line-height: 20px;
}

.contact{
    display: flex;
    align-items: center;
    gap: 140px;
}

.contact .left{
    text-align: left;
}

.contact .left h3{
    font-size:1.3rem;
    font-weight: 700;
    margin:15px 0;
}

.contact .left form{
    margin:15px 0;
    width:400px;
}
.contact .left .form-group{
    display: flex;
    gap:20px;
    margin-bottom:10px;
}

.contact .left .form-group > *{
    flex:1;
}

.contact .left .form-group input,textarea {
    padding: 10px;
    background-color:transparent;
    color:#ababab;
    border-radius: 8px;
    border:3px solid #ababab;
    box-shadow: transparent;
    outline:none;
}

.contact .left button{
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: unset;
    border-radius: 5px;
    display: inline-block;
    cursor: pointer;
}

.contact .right{
    font-weight: 700;
}

.contact .right img{
    width:40px;
    margin-top: 30px;
}

/****project page****/
.project-page .top-section{
    display: flex;
    gap: 20px;
    text-align: start;
    align-items: center;
    margin-bottom: 5%;
}
.project-page .top-section img{
    border-radius: 25px;
}
.project-page .top-section .left-part,.project-page .top-section .right-part{
    flex: 1 1 50%;
}
.project-screenshots{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 5%;
}
.project-screenshots div{
    flex: 1 1 40%;
}
.project-screenshots img{
    border-radius: 25px;
}

/***challenges***/
.challenges h2{
    line-height: 1.3;
}
.challenges{
    display: flex;
    gap: 20px;
    align-items: center;
}
.challenges img{
    border-radius: 25px;
    margin-bottom: 2%;
}
.challenges div{
    flex: 1 1 40%;
}

/* Container for the form */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Heading styling */
h1 {
    text-align: center;
    color: #4CAF50;
    margin-bottom: 20px;
}

/* Form elements */
form p {
    margin-bottom: 15px;
}

/* Label styling */
label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

/* Input and Textarea styles */
input[type="text"],
textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

/* Textarea specific styles */
textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit button styling */
input[type="button"] {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Hover effect for the button */
input[type="button"]:hover {
    background-color: #45a049;
}

/* Focus state for inputs */
input[type="text"]:focus,
textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

/* Responsiveness */
@media screen and (max-width: 600px) {
    .form-container {
        padding: 15px;
    }

    input[type="button"] {
        font-size: 16px;
    }
}