@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazirmatn.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazirmatn-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazirmatn-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazirmatn-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
}

/*
    RIP MR, RASTIKERDAR!
*/




html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    direction: rtl;
}


*,
*::before,
*::after {
    box-sizing: inherit;
}

h1, h2, h3 {
    margin: 0px;
    padding: 0px;
    padding-top: 15px;
}

body { 
    padding: 0;
    margin: 0 auto;
    max-width: 1920px;
    display: flex;
    font-size: 18px;
    font-family: 'Vazir'; 
    text-align: justify;
}

.container {
    display: flex;
    width: 1280px;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto;
}

nav {
    margin: 50px 0;
    padding: 25px 50px;
    border-radius: 8px;
    border-radius: 8px;
    margin-bottom: 50px;

}

nav ul {
    display: flex;
    list-style: none;
    margin: 0px;
    padding: 0px;
    justify-content: space-between;
}

nav ul li {
    display: block;
  width: 100%;
  text-align: center;
}


#logo {
    width: 100%;
    height: 100%;
    margin-top: 50px;
}

.shadow{
    -webkit-box-shadow: 4px 4px 16px -7px rgba(0,0,0,0.62);
    -moz-box-shadow: 4px 4px 16px -7px rgba(0,0,0,0.62);
    box-shadow: 4px 4px 16px -7px rgba(0,0,0,0.62);
}

div #about{
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 50px;
}

div #projects{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 8px;
    margin-bottom: 50px;

}

#aboutProjectManager {
    display: flex;
}

#aboutProjectManager img{
    display: block;
    width: 380px;
    height: auto;
    max-width: 380px;
    margin-right: 25px;
    border-radius: 18px;
}



div .goodLooking{
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 50px;
    text-align: justify;
}

div .project-card{
    width: 100%;
    text-align: justify;
    padding: 0 20px 20px 20px;
    margin: 0px;
    margin-left: 100px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 0 15px 5px rgba(34, 151, 255, 0.59);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: cardAnimation 1s ease-out forwards;
}

div .project-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 30px 10px rgba(34, 151, 255, 0.59);
}




div .project-card button{
    padding: 15px 50px;
    margin: 0px;
    margin-left: 25px;
    background-color: #4379F2;
    border: 0px none;
    border-radius: 16px;
    color: white;
    cursor: pointer;
    transition: background-color .7s;
    transition: color .7s;
    font-size: 16px;
}

div .project-card button:hover{
    background-color: rgba(112, 193, 255, 0.45);
    color: black;
}



div .project-card .image{
    display: block;
    height: 160px;
    background-color: #4379F2;
    width: 100%;
    border-radius: 16px;
    position: relative;
    top: -25px;
}


div .project-card:first-child {
    margin-right: 0;
}

div .project-card:last-child {
    margin-left: 0;
}

@keyframes cardAnimation {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

footer {
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 50px;

}




table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 50px;
}

th {
    background-color: rgb(61, 137, 247);
    color: white;
    padding: 10px;
}

td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

.progress-bar-container {
    background-color: #e0e0e0;
    border-radius: 5px;
    width: 100%;
    height: 20px;
}

.progress-bar {
    background-color: rgb(61, 137, 247);
    height: 100%;
    border-radius: 5px;
}


a{
    color: black;
    text-decoration: none;
    display: block;
    border-radius: 16px;
    padding: 8px;
}

a:hover{
    background-color: rgb(61, 137, 247);;
    color: white;
}


#projectDetailsContainer{
    display: flex;
    flex-direction: row;
    text-align: justify;
    justify-content: space-evenly;

}

#projectDetails h2{
    padding-bottom: 50px;
}

#project-progress {
    width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.progress-container {
    margin-bottom: 20px;
}

.progress-bar {
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    height: 20px;
    width: 100%;
}

.progress {
    height: 100%;
    background-color: #007dfc; /* You can change the color as needed */
    width: 0px; /* Initial width, update via JavaScript */
    transition: width 0.5s ease;
}








label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}



#project-tasks {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    margin-right: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    text-align: right;
}



.task-list input[type="checkbox"] {
    display: none; /* Hide the original checkbox */
}

.task-list label {
    position: relative;
    padding-right: 25px;
    cursor: default; /* Not clickable */
}

.task-list {
    list-style: none;
    margin: 0;
    padding: 0;
    direction: rtl; /* Set the list direction to RTL */
    height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.task-list label:before {
    content: '';
    position: absolute;
    right: 0; /* Align the checkbox to the right */
    top: 4px;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 3px;
    background-color: white;
}


.task-list input[type="checkbox"]:checked + label:before {
    background-color: #007dfc;
    border-color: #007dfc;
}

.task-list input[type="checkbox"]:checked + label:before {
    content: '✔';
    position: absolute;
    font-size: 18px;
    color: white;
}

#project-calendar {
    margin-right: 25px;
  }


  #projectContribution button{
    display: block;
    width: 100%;
    height: 50px;
    font-size: 20px;
    /* background-color: #007dfc;
    color: white; */

    border: 0px none white;
    border-radius: 16px;
    cursor: pointer;
    margin-top: 50px;
    text-align: center;
  }



  #gatewayForm{
    display: flex;
    flex-direction: column;
    margin: 0px auto;
}
#gatewayForm h3{
    text-align: center;
}

#gatewayForm input {
    font-size: 18px;
    border-radius: 18px;
    margin: 25px;
    padding: 15px;
    border: 1 solid white;
}

#gatewayForm input[type="submit"] {
    border: 2px solid #007dfc;
    background-color: white;
    transition: all .7s;
}
#gatewayForm input[type="submit"]:hover {
    background-color: #007dfc;
    color: white;
    border: 1px solid white;
}


/* Index responsive! */


@media screen and (width < 1280px) {

    nav{
        display: none;
    }

    #logo {
        margin-bottom: 25px;
    }


    .container{
        max-width: 300px;
    }



    div #projects {
        flex-direction: column;
    }

    div #projects .project-card:first-child{
        margin-top: 0;
    }


    div #projects .project-card{
        margin: 25px 0;
    }
}

.btn {
	background: none;
	color: inherit;
	border: none;
	padding: 16px;
	font: inherit;
	cursor: pointer;
	outline: inherit;
    border: 1px solid rgb(199, 199, 199);
    border-radius: 8px;
    margin: 15px 0;
}