@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
}

/*---------------- scrollbar  -------------*/
::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin: 2px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(transparent,#8e9dff);
    border-radius: 10px;
    margin: 2px;
}

/*---------------- default style  -------------*/
html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ---------------navbar ---------------*/

.nav__container {
    max-width: 768px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.header {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    background-color: hsl(250, 60%, 98%);
}

.nav {
    max-width: 968px;
    height: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo,
.nav__toggle {
    color: hsl(250, 8%, 15%);
    font-weight: 700;
}

.nav__logo:hover {
    color: rgb(137, 87, 224);
}

.nav__btns {
    display: flex;
    align-items: center;
}

.theme-customization {
    font-size: 1.25rem;
    color: hsl(250, 8%, 15%);
    margin-right: 1rem;
    cursor: pointer;
}

.nav__toggle:hover,
.theme-customization:hover {
    color: rgb(137, 87, 224);
}

.nav__toggle {
    font-size: 1.1rem;
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        background-color: hsl(250, 60%, 98%);
        padding: 2rem 1.5rem 4rem;
        box-shadow: 0 -1px 4px rgba(0, 0, 0, .15);
        border-radius: 1.2rem 1.2rem 0 0;
        transition: .3s;
    }
}

.nav__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
    color: hsl(250, 8%, 15%);
    font-weight: 500;
}

.nav__link:hover {
    color: rgb(137, 87, 224);
}

.nav__icon {
    font-size: 1.2rem;
}

.nav__close {
    position: absolute;
    right: 1.2rem;
    bottom: .5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: hsl(250, 8%, 15%);
}

.show-menu {
    bottom: 0;
}

@media screen and (max-width: 350px) {
    .nav__menu {
        padding: 2rem .25rem 4rem;
    }

    .nav__list {
        column-gap: 0;
    }
}

@media screen and (min-width: 767px) {
    .header {
        top: 0;
        bottom: initial;
    }

    .nav {
        height: 4.5rem;
        column-gap: 1rem;
    }

    .nav__icon,
    .nav__close,
    .nav__toggle {
        display: none;
    }

    .nav__list {
        display: flex;
        column-gap: 2rem;
    }

    .nav__menu {
        margin-left: auto;
    }

    .theme-customization {
        margin: 0;
    }
}

@media screen and (min-width: 992px) {
    .nav__container {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---------------------home section ---------------------*/
.home__section {
    position: relative;
    top: 80px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 99px;
}

.home__content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.home__name {
    display: flex;
    height: 15%;
    justify-content: center;
    font-size: 1.9rem;
}

.home__quote {
    height: 15%;
    font-size: 23px;
}

.home__quote pre {
    font-family: 'Poppins', sans-serif;
    margin: 1rem;
}

.home__photo__container {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (min-device-width: 1105px) and (max-device-width: 1207px) {
    .home__photo__container img {
        height: 90%;
        width: 90%;
    }

    .home__name {
        font-size: 1.5rem;
    }

    .home__quote {
        font-size: 19px;
    }
}

@media screen and (min-device-width: 567px) and (max-device-width: 1107px) {
    .home__name {
        font-size: 1.5rem;
    }

    .home__quote {
        font-size: 19px;
    }

    .home__photo__container img {
        height: 85%;
        width: 85%;
    }

    .home__section {
        gap: 28px;
    }

    .home__content {
        gap: 30px;
    }
}

@media screen and (min-device-width: 567px) and (max-device-width: 767px) {
    .home__section {
        top: 0;
    }
}

@media screen and (min-device-width: 215px) and (max-device-width: 567px) {
    .home__section {
        top: 0;
    }

    .home__name {
        font-size: 1.2rem;
    }

    .home__quote {
        font-size: 15px;
    }

    .home__photo__container img {
        height: 85%;
        width: 85%;
    }

    .home__section {
        gap: 20px;
    }

    .home__content {
        gap: 30px;
    }
}

/* ----------about section  ----------*/

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

.header_text {
    display: flex;
    justify-content: center;
    font-size: 2em;
}

.all__button {
    /* background-color: rgb(248,247,253); */
    padding: 10px 15px;
    border-radius: 10%;
}

.about__container {
    display: flex;
    flex-wrap: wrap;
}

.gif__section {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    width: 50%;
}

.about__gif__container {
    height: 60%;
}

.about__gif__container img {
    width: 100%;
    height: 110%;
}

.about__text__container {
    padding: 0 14%;
}

.about__text__container p {
    padding: 1%;
}

.skill__section {
    width: 29%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 3% 0 0 3%;
}

.skill__container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill__section h3 {
    margin-top: 2em;
    width: 90%;
    border-bottom: 2px solid hsl(250, 60%, 98%);
}

.skill__container button {
    padding: .7rem;
    background-color: hsl(250, 60%, 98%);
    outline: none;
    border: 0;
    border-radius: 10%;
    margin: 1em 0 0 0;
}

@media screen and (min-device-width: 215px) and (max-device-width: 1277px) {
    .gif__section {
        width: 100%;
    }

    .skill__section {
        width: 100%;
        padding: 18%;
        padding: 0 0 0 3%;
    }

    .skill__section h3 {
        margin-top: 0;
    }
}

@media screen and (min-device-width: 215px) and (max-device-width: 380px) {
    .skill__section h3 {
        margin-top: 50px;
    }
}

/* ----------project section  ----------*/

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

.project__main__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    border-radius: 10%;
    border-color: blueviolet;
}

.poject__container {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    width: 350px;
    padding: 15px;
    background-color: hsl(250, 60%, 98%);
}

.poject__container h3 {
    margin: 15px;
}

.poject__container img {
    height: 155px;
    width: 320px;
    border-radius: 5px;
}

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

.project__tech button {
    outline: none;
    border: 0;
    border-radius: 10%;
    margin: 1rem;
    padding: .6em;
}

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

.project__links button {
    padding: 1em 1.3em;
    margin: 1rem;
    outline: none;
    border: 0;
    background-color: hsl(250, 81%, 92%);
    color: black;
    border-radius: 3px;
    font-weight: bold;
}

.project__links button:hover {
    border: 1px solid hsl(251, 78%, 84%);
}

.poject__container:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 50px rgba(0, 0, 0, .2);
    transition: all 0.4s ease;
}

/* ----------contect section  ----------*/

.contect__section {
    display: flex;
    margin-top: 2rem;
    flex-direction: column;
}

.contect__section__2 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2em;
    margin-top: 10px;
}

.contect__email {
    padding: 5px 0;
}

.contect__resume {
    border: 2px solid hsl(251, 87%, 88%);
    padding: 5px 0;
    border-radius: 10px;
    background-color: hsl(250, 81%, 92%);
}

.contect__resume__a {
    padding: 2em;
    color: black;
}

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

.contect__social__media {
    display: flex;
    justify-content: center;
    margin: 3rem;
}

.contect__social__media h1 {
    border-radius: 15px;
    background-color: hsl(250, 60%, 98%);
    padding: .5rem 1rem;
    margin: .5rem;
}

.contect__social__media a {
    color: rgb(98, 98, 98);
}

.contect__social__media h1:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 50px rgba(0, 0, 0, .2);
    transition: all 0.4s ease;
    background-color: #fff;
}

.contect__social__media h1:hover .fa-linkedin {
    color: #007bb6;
}

.contect__social__media h1:hover .fa-github {
    color: #171515;
}

.contect__social__media h1:hover .fa-instagram {
    color: #bc2a8d;
}

.contect__social__media h1:hover .fa-twitter {
    color: #1DA1F2;
}

.contect__text {
    display: flex;
    justify-content: center;
    margin: 2% 3% -1% 3%;
    font-weight: 500;
}

.contect__text p {
    font-size: 1.3em;
}

/* ----------footer section  ----------*/
.footer__section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2em;
}

.footer__copyright {
    padding-top: 1.2em;
}

.last__line {
    display: flex;
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    margin: 1%;
}

.footer__photo__container {
    display: flex;
    justify-content: center;
    background-color: red;
}

.footer__photo__container img {
    width: 100%;
}

@media screen and (min-device-width: 215px) and (max-device-width: 760px) {
    .footer__photo__container {
        margin-bottom: 50px;
    }
}