@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@200;400&family=Itim&family=Montserrat&family=PT+Sans+Narrow&family=Poppins&family=Roboto+Condensed&family=Unbounded&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@1,300&family=Mukta:wght@300&family=Noto+Sans&family=Signika+Negative&display=swap');

* {
    margin: 0;
    padding: 0;
    list-style: none;
}

a,
a:hover,
a:visited,
a:active {
    color: white;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #34345e;
}

/* Header */

header {
    background-color: #1f1f38;
    color: white;
    position: fixed;
    width: 100%;
    z-index: 1;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Roboto Condensed', sans-serif;
    height: 9vh;
}

nav h2 {
    margin: 0 20px;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin: 0 30px;
    font-size: 18px;
}

nav ul li:hover {
    font-weight: bolder;
    cursor: pointer;
    transition-duration: 0.3s;
}

/* Nav bar for mobile */

.navbar-mobile {
    left: 50%;
    transform: translateX(-50%);
    bottom: 1rem;
    position: fixed;
    backdrop-filter: blur(6px);
    border-radius: 15px;
    display: none;
}

.navbar-mobile ul {
    display: flex;
    gap: 0.9rem;
    padding: 1rem;
}

.navbar-mobile ul li i {
    padding: 0.4rem;
    border-radius: 50%;
    font-size: 20px;
    color: #FFFFFF;
}

.navbar-mobile ul li i:hover {
    color: #4db5ff;
    transition-duration: 0.4s;
}

/* Home Page */

.home-root {
    display: flex;
    justify-content: center;
    font-family: 'Itim', cursive;
    color: white;
}

.home-root-1 {
    margin: 200px 100px 0px 100px;
}

.home-root-1 span {
    color: #FFDEAD;
}

.actions {
    margin: 60px 0;
    width: 250px;
    display: flex;
    justify-content: space-between;
}

.actions input {
    padding: 14px;
    border-radius: 7px;
    border: solid 2px #4db5ff;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
}

.action-1 {
    background-color: #34345e;
    color: white;
}

.action-1:hover {
    cursor: pointer;
    background-color: white;
    color: black;
    border: white 2px solid;
    transition-duration: 0.6s;
}

.action-2 {
    background-color: #4db5ff;
    color: white;
}

.action-2:hover {
    cursor: pointer;
    background-color: white;
    color: black;
    border: white 2px solid;
    transition-duration: 0.6s;
}

.home-root-2 {
    margin: 130px 90px 0px 90px;
}

.home-root img {
    width: 370px;
    height: 370px;
    border-radius: 50%;
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto 0 auto;
}

.about-img img {
    width: 290px;
    height: 370px;
    border-radius: 7px;
    object-fit: cover;
}

.about-info {
    color: white;
    text-align: justify;
    font-family: 'Unbounded', cursive;
    width: 40vw;
    margin: 0px 0px 0px 35px;
}

.about-info span {
    color: #FFDEAD;
}

/* Skills Page */

.skills-content {
    display: flex;
    justify-content: center;
}

.skills-content-left {
    width: 30vw;
    background-color: #2c2c6c;
    border-radius: 15px;
    border: 1px solid #2c2c6c;
    margin: 40px 20px 0 20px;
}

.skills-content-left:hover {
    background-color: #34345e;
    transition-duration: 0.7s;
    border-color: #4cb0f9;
}

.skills-left-heading {
    text-align: center;
    color: #4cb0f9;
    font-size: 20px;
    font-family: 'Roboto Condensed', sans-serif;
    margin: 25px 0;
}

.skills-frontend {
    display: grid;
    grid-template-columns: auto auto;
}

.skills-frontend-content {
    color: white;
    display: flex;
    gap: 0.5rem;
    margin: 20px 20px;
}

.skills-content-right {
    width: 30vw;
    background-color: #2c2c6c;
    border-radius: 15px;
    border: 1px solid #2c2c6c;
    margin: 40px 20px 0 20px;
}

.skills-content-right:hover {
    background-color: #34345e;
    transition-duration: 0.7s;
    border-color: #4cb0f9;
}

.skills-right-heading {
    text-align: center;
    color: #4cb0f9;
    font-size: 20px;
    font-family: 'Roboto Condensed', sans-serif;
    margin: 25px 0;
}

.skills-other {
    display: grid;
    grid-template-columns: auto auto;
}

.skills-other-content {
    color: white;
    display: flex;
    gap: 0.5rem;
    margin: 20px 20px;
}

/* Projects Page */

.portfolio-container {
    width: 80vw;
    margin: 6vh auto 0 auto;
    display: grid;
    grid-template-columns: auto auto auto;
    row-gap: 3vh;
}

.projects-cards {
    margin: auto;
    position: relative;
}

.portfolio-container .projects-cards img {
    aspect-ratio: 16/9;
    width: 25vw;
    border-radius: 15px;
    box-sizing: border-box;
}

.portfolio-container .projects-cards .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 99%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    font-family: 'Signika Negative', sans-serif;
    background-color: rgba(0, 0, 0, 0.7);
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.portfolio-container .projects-cards:hover .project-overlay {
    opacity: 1;
}

.portfolio-container .projects-cards .project-overlay h3,
.portfolio-container .projects-cards .project-overlay p {
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
    width: 90%;
}

.portfolio-container .projects-cards .project-overlay a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.portfolio-container .projects-cards .project-overlay a:hover {
    background-color: #4db5ff;
    color: #FFFFFF;
}

.projects-disclaimer{
    display: flex;
    justify-content: center;
    margin: 20px 10px 0px 10px;
    font-family: 'PT Sans Narrow', sans-serif;
    color: white;
    text-align: center;
}

.projects-disclaimer span {
    color: #E97451;
}

/* Review page */

.review-items {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 40px 0 0 0;
    flex-wrap: wrap;
}

.review-card {
    width: 300px;
    color: #FFFFFF;
    background-color: #2c2c6c;
    border-radius: 15px;
    border: 1px solid #2c2c6c;
    margin: 10px;
    text-align: center;
    font-family: 'PT Sans Narrow', sans-serif;
    padding: 20px;
}

.review-card:hover {
    background-color: #34345e;
    transition-duration: 0.7s;
    border-color: #4cb0f9;
}

.client-photo i {
    font-size: 28px;
    padding: 0 0 15px 0;
}

.review-text {
    padding: 10px;
}

.client {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.star {
    font-size: 15px;
    color: #f8c63d;
}

/*Upwork Contracts*/
.upwork-proof{
    display: flex;
    justify-content: center;
    margin: 40px auto 0 auto;
    max-width: 80vw;
}

.upwork-proof img{
    aspect-ratio: 16/9;
    width: 50vw;
    border-radius: 5px;
}

/* Contact Page */

.contact-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-card {
    width: 300px;
    background-color: #2c2c6c;
    border-radius: 15px;
    border: 1px solid #2c2c6c;
    margin: 10px;
    text-align: center;
    font-family: 'PT Sans Narrow', sans-serif;
    padding: 20px;
}

.contact-card .fa-envelope,
.fa-instagram,
.fa-whatsapp,
.fa-telegram {
    color: white;
    font-size: 25px;
    margin: 10px 0;
}

.contact-card h2 {
    color: white;
    margin: 10px 0;
}

.contact-card h4 {
    color: #8f8f9c;
    margin: -3px 0;
}

.contact-card div {
    margin: 25px 0 0 0;
}

.contact-card a {
    color: #4cb0f9;
}

.contact-card:hover {
    background-color: #34345e;
    transition-duration: 0.7s;
    border-color: #4cb0f9;
}

/* Call for Contact */
.contact-call {
    display: flex;
    justify-content: center;
}

.contact-call h3 {
    font-family: 'Unbounded', cursive;
    color: white;
    font-size: 3rem;
    margin: 20vh 0;
    width: 50vw;
}

/* Footer */

footer {
    background-color: #4db5ff;
    height: 30vh;
    border-radius: 30px 30px 0 0;
}

.social ul {
    display: flex;
    justify-content: center;
}

.social ul li {
    margin: 30px 10px 0 10px;
    transition-duration: 0.4s;
}

.social ul li:hover {
    margin: 20px 10px 0px 10px;
    transition-duration: 0.4s;
}

.social .fa-brands {
    color: #0f1626;
    font-size: 35px;
}

.copyright {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    margin: 30px 0;
}