@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #ececec;
    --second-bg-color: #ffffff;
    --text-color: rgb(23, 23, 24);
    --second-color: #181717;
    --main-color: #c95722;
    --transparent-color: (0, 0, 0, 0.1);
    --big-font: 5rem;
    --h2-font: 3rem;
    --p-font: 1.1rem;
    --p-small-font: 0.9rem;
}

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background-color: #ececec;
}

body::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: var(--main-color);
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/*----- Dark/Light Theme Button -----*/
.theme-btn {
    font-size: 1.3em;
    cursor: pointer;
    padding-left: 15px;
    z-index: 10001;
}

.theme-btn .bi-brightness-high-fill {
    display: none;
}

.dark-theme {
    --bg-color: #1c1c1d;
    --second-bg-color: #161616;
    --text-color: #ffffff;
    --second-color: #ececec;
    --main-color: #c95722;
}

.dark-theme .logo {
    font-weight: 500;
}

.dark-theme .one {
    font-weight: 400;
    border: solid 1px var(--text-color);
}

.dark-theme .two {
    font-weight: 400;
}

.dark-theme .home-text h1 {
    font-weight: 400;
}

.dark-theme .home-text h3 {
    font-weight: 300;
}

.dark-theme .home-text h3 span {
    font-weight: 400;
}

.dark-theme .btn,
.dark-theme .btn2 {
    font-weight: 400;
}

.dark-theme .about-text h2,
.dark-theme .main-text h2 {
    font-weight: 600;
}

.dark-theme .box {
    box-shadow: #8b8b8b85 0px 1px 8px -1px, rgba(0, 0, 0, 0.3) 0px 1px 1px -1px;
}

/*----- Header ----- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    padding: 22px 15%;
    border-bottom: 1px solid transparent;
    transition: all .45s ease;
    box-shadow: none;
}

.logo {
    color: var(--second-colorr);
    font-size: 36px;
    font-weight: 600;
    position: relative;
    transition: 0.2s ease-in-out;
}

.logo:hover {
    opacity: 0.8;
}

.logo::before {
    position: absolute;
    content: ' ';
    width: 30%;
    height: 4px;
    background-color: var(--main-color);
    bottom: 7px;
}

span {
    color: var(--main-color);
}

.navlist {
    display: flex;
}

.navlist a {
    color: var(--second-color);
    font-size: 18px;
    font-weight: 500;
    margin: 0 25px;
    transition: all .45s ease;
}

.navlist a:hover {
    color: var(--main-color);
}

.navlist a.active {
    color: var(--main-color);
}

#menu-icon {
    font-size: 30px;
    color: var(--second-color);
    z-index: 10001;
    cursor: pointer;
    margin-left: 25px;
    display: none;
}

header.sticky {
    background: var(--bg-color);
    padding: 12px 15%;
    height: 10vh;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/*----- Home ----- */
section {
    padding: 160px 15% 120px;
}

.home {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url(../img/background.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.slide {
    margin-bottom: 20px;
}

.one {
    display: inline-block;
    margin-right: 15px;
    height: 32px;
    padding: 0 15px;
    line-height: 32px;
    font-size: 22px;
    font-weight: 600;
    border-radius: 5px;
    border: solid 2px var(--second-color);
    background: transparent;
    color: var(--text-color);
}

.two {
    display: inline-block;
    color: var(--second-color);
    font-size: 22px;
    font-weight: 600;
}

.home-text {
    text-align: center;
}

.home-text h1 {
    font-size: 4.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--second-color);
    line-height: 1.1;
    margin: 0 0 8px;
}

.home-text h3 {
    color: var(--second-color);
    margin: 0 0 35px;
    font-size: 3.3rem;
    font-weight: 400;
    line-height: 1.3;
}

.home-text h3 span {
    font-weight: 500;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: transparent;
    border-radius: 30px;
    border: solid 2px var(--second-color);
    color: var(--text-color);
    font-size: 1.2rem;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all .45s ease;
}

.btn:hover {
    transform: scale(0.9);
}

.btn2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--second-color);
    margin-left: 35px;
}

.btn2 span i {
    border: solid 2px var(--second-color);
    height: 55px;
    width: 55px;
    background: transparent;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 50%;
    margin-right: 15px;
    transition: all .45s ease;
}

.btn2 span i:hover {
    transform: scale(0.9);
}

.home-div {
    position: relative;
    width: 100%;
}

/*----- About ----- */
.about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 1.5rem;
}

.about-img img {
    max-width: 430px;
    height: 430px;
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--main-color) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.about-text h2 {
    font-size: var(--h2-font);
    font-weight: 700;
    line-height: 1;
}

.about-text h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.7;
    margin: 15px 0 30px;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--second-color);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.socials {
    display: flex;
    align-items: center;
    justify-content: left;
    margin-top: 5em;
}

.btn-socials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-right: 20px;
}

.btn-socials:nth-child(6) {
    margin-right: 0px;
}

.btn-socials span i {
    height: 65px;
    width: 65px;
    background: #ffffff;
    color: #000;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 33px;
    border-radius: 50%;
    transition: all .45s ease;
}

.btn-socials span i:hover {
    transform: scale(0.9);
}

/*----- Skills ----- */
.services {
    background: var(--second-bg-color);
}

.main-text {
    text-align: center;
}

.main-text p {
    color: var(--second-color);
    font-size: 15px;
    margin-bottom: 15px;
}

.main-text h2 {
    font-size: var(--h2-font);
    font-weight: 700;
    line-height: 1;
}

.main-text span {
    color: var(--main-color);
    position: relative;
    transition: 0.2s ease-in-out
}

/*.main-text span::before {
    position: absolute;
    content: ' ';
    width: 65%;
    height: 5px;
    background-color: var(--main-color);
    bottom: 6px;
}*/

.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, auto));
    align-items: center;
    gap: 2.5rem;
    margin-top: 5rem;
}

.box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    max-height: 300px;
    min-height: 200px;
    text-align: center;
    background: var(--bg-color);
    padding: 35px 45px;
    box-shadow: var(--second-color) 0px 1px 5px -8px, rgba(0, 0, 0, 0.3) 0px 2px 3px -1px;
    border-radius: 8px;
    transition: all .45s ease;
}

.s-icons i {
    font-size: 36px;
    color: var(--second-color);
}

.box h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
}

.box:hover {
    transform: translateY(-8px);
}

/*----- Portfolio ----- */
.portfolio-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, auto));
    align-items: center;
    gap: 2.5rem;
    margin-top: 5rem;
}

.row {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.row img {
    max-width: 350px;
    min-width: 100%;
    min-height: 375px;
    max-height: 375px;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}

.layer {
    width: 100%;
    height: 0%;
    background: #181717ee;
    position: absolute;
    border-radius: 10px;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 0 40px;
    transition: height 0.5s;
}

.layer h5 {
    color: #ffffff;
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 15px;
}

.layer p {
    color: #ffffff;
    font-size: 1.1em;
    font-weight: 500;
    line-height: 1.8;
}

.layer .word-box {
    color: #000;
    display: inline-block;
    background-color: #dbdada;
    padding: 2px 5px;
    margin: 0 3px 8px 0;
    border-radius: 4px;
    font-size: 0.9rem;
}

.layer i {
    color: var(--main-color);
    margin-top: 20px;
    font-size: 22px;
    background: #dbdada;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.row:hover img {
    transform: scale(1.1);
}

.row:hover .layer {
    height: 100%;
}

/*----- Contact ----- */
.contact {
    background-color: var(--second-bg-color);
}

.contact .content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 5rem;
}

.contact-left h2 {
    font-size: 1.9em;
    font-weight: 700;
    margin-bottom: 40px;
}

.contact-left h2 i {
    margin-right: 10px;
}

.contact-list li {
    margin-bottom: 80px;
}

.contact-list li h3 {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-list li h3 i {
    color: var(--main-color);
    font-size: 1.3em;
    margin-right: 8px;
}

.contact-list li span {
    margin-left: 40px;
    font-size: 1.2em;
}

.contact-list li span a {
    color: var(--second-color);
}

.contact-list li span a:hover {
    color: var(--main-color);
}

.contact-form input,
.contact-form textarea {
    border: none;
    color: #000;
    border: 2px solid #AAA;
    background: #faf7f7d2;
    /*#c957221a #F8EDE3*/
    font-size: 1em;
    margin-bottom: 20px;
    padding: 12px 35px 35px 20px;
    border-radius: 8px;
    outline: none;
}

.contact-form textarea {
    width: 100%;
    resize: none;
    height: 20vh;
}

::placeholder {
    color: #000;
}

.contact-form .first-row input {
    width: 100%;
}

.contact-form .second-row {
    display: flex;
    justify-content: space-between;
}

.contact-form .second-row input {
    width: 48%;
}

.contact-form .btn-contact {
    display: inline-block;
    padding: 12px 28px;
    background: #ececec;
    border: solid 2px var(--bg-color);
    border-radius: 5px;
    color: #000;
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    transition: all .45s ease;

}

.contact-form .btn-contact:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 8px rgba(0, 0, 0, 0.08);
}

/*----- End ----- */
.end {
    letter-spacing: 1px;
    text-align: center;
    padding: 17px 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    background-color: var(--bg-color);
}

.last-text p {
    color: var(--second-color);
    font-size: var(--p-font)
}

/*----- Top ----- */
#top {
    position: fixed;
    bottom: 0;
    padding: auto;
    margin: 5rem;
}

#top.hide-top {
    display: none;
}

#top.show-top {
    display: block;
}

#top i {
    padding: 15px 17px;
    border-radius: 50%;
    font-size: 18px;
    color: #000;
    background: #f7f5f5;
    border: solid 2px var(--second-color);
}