/*-----------------------------------------------------------------
Template Name  : Nuri Gündoğan - Personal Portfolio 
Original       : Evet - Personal Portfolio by HasnaaDesign
Optimized      : Sadece Home, About, Contact bölümleri
-----------------------------------------------------------------*/

/* 0. Font Import */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

/*-----------------------------------------------------------------
Table Of Contents
--------------------------------
 1. Global Styles
 2. Loading
 3. Navbar
 4. Home
 5. About Me
 6. Contact
 7. Media Queries
-----------------------------------------------------------------*/

/* --------------------------------------
   1. Global Styles
-----------------------------------------*/

* {
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #141415;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
}

a,
a:hover,
a:focus,
a:active {
    color: #fff;
    text-decoration: none;
}

/*=========== Typography ============*/
h1 { font-size: 60px; font-weight: 800; }
h2 { font-size: 50px; font-weight: 600; }
h3 { font-size: 30px; font-weight: 600; }
h4 { font-size: 18px; font-weight: 400; }
h5 { font-size: 16px; font-weight: 400; }
h6 { font-size: 15px; font-weight: 400; }

/*=========== My Classes ============*/
.main-title {
    margin-bottom: 55px;
}

.main-title h3 {
    color: transparent;
    -webkit-text-stroke: 1px #4d4d4e;
    font-weight: 800;
    letter-spacing: .7px;
    font-size: 30px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.main-title h2 {
    position: relative;
    display: inline-block;
    color: #fbf4e0;
    font-weight: 800;
    font-size: 45px;
    line-height: 1;
    letter-spacing: .7px;
    text-transform: uppercase;
    padding-bottom: 13px;
}

.main-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 65px;
    height: 2px;
    background-color: #c79864;
}

.main-btn {
    position: relative;
    display: inline-block;
    min-width: 155px;
    color: #fff;
    padding: 16px 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    background-color: #c79864;
    border: 1px solid #c79864;
    border-radius: 4px;
    outline: none;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.main-btn:hover {
    color: #c79864;
    background: transparent;
}

.no-padding {
    padding: 0;
}

.page-content {
    margin-left: 80px;
    position: relative;
}

section {
    position: absolute;
    background: #2a2a2e;
    top: 24px;
    left: 24px;
    width: calc(100% - 48px);
    height: calc(100vh - 48px);
    height: calc(100dvh - 48px);
    z-index: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    opacity: 0;
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

section.active {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    z-index: 1;
}

::-webkit-scrollbar {
    width: 5px;
    height: 7px;
}

::-webkit-scrollbar-track {
    border-radius: 20px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #36363a;
}

/* --------------------------------------
   2. Loading
-----------------------------------------*/

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background: #2a2a2e;
}

.preloader .loading-inner {
    position: relative;
    left: 50%;
    top: 50%;
    width: 130px;
    height: 130px;
    margin: -65px 0 0 -65px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #c79864;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.preloader .loading-inner:before,
.preloader .loading-inner:after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #c79864;
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}

.preloader .loading-inner:after {
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --------------------------------------
   3. Navbar
-----------------------------------------*/

.vertical-nav {
    position: fixed;
    top: 24px;
    left: 24px;
    width: 80px;
    height: calc(100vh - 48px);
    height: calc(100dvh - 48px);
    background: #2a2a2e;
    border-right: 2px solid #2c2d32;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    z-index: 9999;
}

.vertical-nav .logo {
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    font-size: 50px;
    font-weight: 800;
    background-color: #c79864;
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    font-family: 'Open Sans', sans-serif;
}

.vertical-nav .toggle-menu {
    background-color: #2c2d32;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    padding: 0 23px;
    border: none;
    outline: none;
    cursor: pointer;
}

.vertical-nav .toggle-menu .bar {
    display: block;
    width: 34px;
    height: 2px;
    background-color: #c79864;
}

.vertical-nav .toggle-menu .bar:nth-child(2) {
    width: 20px;
    margin: 8px 0;
    margin-left: 7px;
}

.vertical-nav.menu-active .toggle-menu .bar:first-child {
    transform: rotate(45deg) translate(6px, 7px);
}

.vertical-nav.menu-active .toggle-menu .bar:nth-child(2) {
    transform: scale(0);
}

.vertical-nav.menu-active .toggle-menu .bar:last-child {
    transform: rotate(-45deg) translate(7px, -8px);
}

.vertical-nav .copyright {
    position: absolute;
    letter-spacing: .8px;
    bottom: -55px;
    color: #fff;
    font-size: 15px;
    white-space: nowrap;
    margin: 0;
    line-height: 80px;
    transform-origin: left top;
    transform: rotate(-90deg);
}

.vertical-nav .copyright a {
    color: #c79864;
}

.vertical-nav .mini-menu {
    position: absolute;
    top: 0;
    left: 80px;
    width: calc(100vw - 128px);
    visibility: hidden;
    opacity: 0;
    background: url('../content/bg-over.png') repeat #2a2a2e;
    margin: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition-duration: .6s;
    overflow-y: auto;
}

.vertical-nav.menu-active .mini-menu {
    visibility: visible;
    opacity: 1;
    transform: scaleX(1);
}

.vertical-nav .mini-menu > ul li {
    font-size: 60px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    opacity: 0;
    transform: translateY(35px);
}

.vertical-nav.menu-active .mini-menu > ul li {
    opacity: 1;
    transform: translateY(0);
}

.vertical-nav.menu-active .mini-menu > ul li:first-of-type {
    transition-delay: .2s;
}

.vertical-nav.menu-active .mini-menu > ul li:nth-of-type(2) {
    transition-delay: .35s;
}

.vertical-nav.menu-active .mini-menu > ul li:nth-of-type(3) {
    transition-delay: .5s;
}

.vertical-nav .mini-menu > ul li a {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
}

.vertical-nav .mini-menu > ul li a:hover {
    color: #fff;
}

/* --------------------------------------
   4. Home
-----------------------------------------*/

.home .vheight {
    height: calc(100vh - 48px);
    height: calc(100dvh - 48px);
}

.home .home-img {
    position: relative;
    background-size: cover;
}

.home .home-img:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../content/pattern.png') center center repeat;
    opacity: .09;
}

.home .area-bg {
    background: url('../content/bg-over.png') repeat #2a2a2e;
}

.home .home-intro {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.home .home-intro .home-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home .home-intro h1 {
    font-family: 'JetBrains Mono', monospace;
    color: #fbf4e0 !important;
    -webkit-text-stroke: 0 !important;
    font-size: 45px;
    letter-spacing: -1.5px;
    font-weight: 700;
    text-transform: lowercase;
    margin-bottom: 15px;
    display: block;
    width: 100%;
    text-align: center;
    line-height: 1.2;
}

.home .home-intro h1::before {
    content: "> ";
    color: #c79864;
    margin-right: 10px;
}

.home .home-intro .home-text p {
    position: relative;
    color: #fff;
    font-size: 24px;
    letter-spacing: .3px;
    text-align: center;
    margin: 0;
}

.home .home-intro .social-icons {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 0;
    padding-left: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.home .home-intro .social-icons li {
    display: inline-block;
    margin: 0;
}

.home .home-intro .social-icons li a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    border: 1px solid #c79864;
    color: transparent;
    -webkit-text-stroke: 1px #c79864;
    transition-duration: .2s;
}

.home .home-intro .social-icons li a:hover {
    color: #c79864;
}

.home .home-intro .main-btn {
    position: absolute;
    bottom: 20px;
    right: 10px;
}

/* --------------------------------------
   5. About Me
-----------------------------------------*/

.about-me {
    position: relative;
    padding-top: 60px;
    color: #fff;
}

.about-me .main-title {
    text-align: center;
}

.about-me .main-title h2:after {
    left: 50%;
    margin-left: -32.5px;
}

.about-me .about-image {
    padding: 7px;
    background: linear-gradient(-50deg, rgba(170, 170, 170, .1) 45%, transparent 25%);
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

.about-me .about-image img {
    opacity: .65;
}

.about-me .about-image img:hover {
    opacity: 1;
}

.about-me .about-info {
    margin-top: 36px;
}

.about-me .about-info h3 {
    position: relative;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: .7px;
    line-height: 1.6;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.about-me .about-info h3:before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    height: 2px;
    width: 91px;
    background-color: #c79864;
}

.about-me .about-info > p {
    color: #d8d7d6;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-me .about-info .personal-info {
    padding: 30px 25px 15px;
    border: 2px solid #2e2e31;
    border-radius: 4px;
    background: url('../content/bg-over.png') repeat #2a2a2e;
    margin-bottom: 25px;
}

.about-me .about-info .personal-info p {
    font-size: 15px;
    color: #d8d7d6;
    letter-spacing: .4px;
    margin-bottom: 15px;
}

.about-me .about-info .personal-info p span {
    font-size: 16px;
    font-weight: 600;
}

/* --------------------------------------
   6. Services
-----------------------------------------*/

.services {
    padding-top: 60px;
}

.services .main-title h2 {
    font-size: 30px;
    letter-spacing: 1px;
}

.services .service {
    background: #2c2d32;
    padding: 25px 35px;
    border: 1px solid #303033;
    border-radius: 4px;
    margin-bottom: 30px;
}

.services .service:hover {
    border: 1px solid #c79864;
    box-shadow: 0 0 20px rgba(0, 0, 0, .12);
}

.services .service .number {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    font-size: 6vw;
    font-weight: 600;
    opacity: 0;
    color: rgba(255, 255, 255, .02);
    -webkit-text-stroke: 1px rgba(255, 255, 255, .03);
    transform: translate(-50%, -50%) rotate(-45deg) scale3d(1, 1.15, 1.15);
}

.services .service:hover .number {
    opacity: 1;
}

.services .service .service-icon i:before {
    font-size: 45px;
    color: #c79864;
    opacity: .9;
    margin-left: 0;
}

.services .service h4 {
    position: relative;
    z-index: 1;
    display: inline-block;
    color: #fff;
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    margin-top: 10px;
    font-weight: 600;
    text-transform: capitalize;
}

.services .service p {
    position: relative;
    z-index: 1;
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 15px;
    font-weight: 400;
    color: #d8d7d6;
}

/* --------------------------------------
   7. Skills
-----------------------------------------*/

.skills {
    background: url('../content/bg-over.png') repeat #2a2a2e;
    color: #fff;
    border: 2px solid #2e2e31;
    border-radius: 4px;
    margin-top: 30px;
    padding-top: 50px;
    padding-bottom: 10px;
}

.skills .progress-container {
    position: relative;
    margin-bottom: 50px;
}

.skills .progress-container .percent {
    position: absolute;
    top: -5px;
    width: 42px;
    height: 32px;
    line-height: 31px;
    text-align: center;
    font-size: 15px;
    color: #c79864;
    border: 1px solid #c79864;
    border-radius: 4px;
}

.skills .progress-container .percent:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    padding: 4px;
    background: url('../content/bg-over.png') repeat #2a2a2e;
    border: 1px solid #c79864;
    border-color: transparent #c79864 #c79864 transparent;
    transform: translateX(-50%) rotate(45deg);
}

.skills .progress-container h4 {
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 17px;
}

.skills .progress-container .progress {
    height: 1px;
    background-color: #303135;
}

.skills .progress-container .progress .progress-bar {
    width: 0;
    background-color: #c79864;
    transition: all 1.2s ease-in-out;
}

/* --------------------------------------
   8. Contact
-----------------------------------------*/

.contact {
    padding-top: 60px;
    padding-bottom: 60px;
    overflow: hidden;
}

.contact .main-title {
    text-align: center;
}

.contact .main-title h2:after {
    left: 50%;
    margin-left: -32.5px;
}

.contact .contact-box {
    position: relative;
    padding: 30px 25px;
    background-color: #2c2d32;
    border: 1px solid #323335;
    border-radius: 4px;
    margin-bottom: 30px;
}

.contact .contact-box.two,
.contact .contact-box:hover {
    border: 1px solid #c79864;
}

.contact .contact-box:last-of-type {
    margin-bottom: 0;
}

.contact .contact-box .icon-box i:before {
    position: absolute;
    top: 27px;
    right: 25px;
    border-radius: 50%;
    font-size: 50px;
    color: #c79864;
    opacity: .9;
}

.contact .contact-box .title-box {
    display: inline-block;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .3px;
    text-align: center;
    border-radius: 24px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.contact .contact-box .content-box p {
    font-size: 13px;
    line-height: 20px;
    font-weight: 600;
    color: #fbf4e0;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.contact .contact-box .content-box p:last-child {
    margin-top: 3px;
}

.contact .contact-form {
    position: relative;
}

.contact .contact-form .form-group {
    margin-bottom: 35px;
}

.contact .contact-form .form-group .form-control {
    color: #fff;
    background-color: #2c2d32;
    border: 1px solid #323335;
    border-radius: 4px;
    outline: none;
    box-shadow: none;
    height: 45px;
    padding: 12px;
}

.contact .contact-form .form-group textarea.form-control {
    height: 150px;
    resize: none;
    padding-top: 18px;
}

.contact .contact-form .form-group .form-control:focus {
    border: 1px solid #c79864;
}

.contact .contact-form .contact-btn {
    min-width: 175px;
    cursor: pointer;
}

.contact .contact-form .form-message {
    position: absolute;
    left: 0;
    bottom: -57px;
    width: 100%;
    color: #fff;
    border-radius: 5px;
    font-size: 15px;
    padding: 12px;
    text-transform: uppercase;
}

.contact .contact-form .form-message.success {
    background-color: #37983b;
}

.contact .contact-form .form-message.error {
    background-color: #f54033;
}

/* --------------------------------------
   7. Media Queries
-----------------------------------------*/

/* Large devices (desktops, less than 1200px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .home .home-intro .home-text p {
        font-size: 20px;
        letter-spacing: 0;
    }
    
    .about-me .about-info {
        margin-top: 0px;
    }
    
    .about-me .about-info .personal-info {
        padding: 30px 18px 15px;
    }
    
    .about-me .about-info .personal-info p span {
        font-size: 14px;
    }
    
    .about-me .about-info .personal-info p {
        font-size: 14px;
        letter-spacing: 0;
    }
    
    .services .service {
        padding: 25px 20px;
    }
    
    .services .service h4 {
        font-size: 15px;
    }
    
    .services .service p {
        font-size: 14px;
    }
    
    .contact .contact-box .icon-box i:before {
        right: 20px;
        font-size: 42px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .home {
        overflow-y: auto;
    }
    
    .home .home-intro .home-info {
        padding: 125px 0;
    }
    
    .about-me .about-image {
        margin-right: 110px;
        margin-left: 110px;
        margin-bottom: 40px;
    }
    
    .about-me .about-info {
        margin-top: 0;
    }
    
    .contact .contact-boxes {
        margin-bottom: 40px;
    }
}

/* Small Devices (Tablet/Büyük Telefonlar) */
@media (max-width: 767.98px) {
    .main-title h2 {
        font-size: 40px;
    }
    
    .home {
        overflow-y: auto;
    }
    
    .home .home-intro .home-info {
        padding: 0 10px;
    }
    
    .home .home-intro h1 {
        font-size: 24px !important;
        white-space: normal;
        word-break: break-word;
    }
    
    .terminal-wrapper {
        font-size: 0.9rem !important;
    }
    
    .home .home-intro .home-text p {
        font-size: 18px;
    }
    
    .about-me .about-image {
        margin-right: 80px;
        margin-left: 80px;
        margin-bottom: 40px;
    }
    
    .about-me .about-info {
        margin-top: 0;
    }
    
    .about-me .about-info .personal-info p span {
        font-size: 15px;
    }
    
    .services .main-title h2 {
        font-size: 26px;
    }
    
    .services .service {
        padding: 25px 20px;
    }
    
    .services .service h4 {
        font-size: 18px;
    }
    
    .services .service p {
        font-size: 14px;
    }
    
    .contact .contact-boxes {
        margin-bottom: 40px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .page-content {
        margin-left: 0;
    }
    
    .main-title h2 {
        font-size: 26px;
    }
    
    .main-title h3 {
        font-size: 22px;
    }
    
    /* Navbar */
    .vertical-nav {
        width: 0;
        border: none;
    }
    
    .vertical-nav .logo {
        display: none;
    }
    
    .vertical-nav .toggle-menu {
        background-color: #242425;
        border: 1px solid #2c2d32;
        position: relative;
        z-index: 9999;
        width: 55px;
        height: 55px;
        line-height: 55px;
        padding: 0 13px;
    }
    
    .vertical-nav .toggle-menu .bar {
        width: 30px;
    }
    
    .vertical-nav .toggle-menu .bar:nth-child(2) {
        width: 16px;
    }
    
    .vertical-nav .copyright {
        display: none;
    }
    
    .vertical-nav .mini-menu {
        left: 0;
        z-index: 999;
        width: calc(100vw - 48px);
        justify-content: start!important;
        text-align: left!important;
        overflow: hidden;
    }
    
    .vertical-nav .mini-menu ul {
        margin-left: 6vw;
    }
    
    .vertical-nav .mini-menu > ul li {
        font-size: 54px;
    }
    
    /* Home */
    .home .home-intro .home-info {
        padding: 100px 0;
    }
    
    .home .home-intro h1 {
        font-size: 20px !important;
    }
    
    .home .home-intro .home-text p {
        font-size: 16px;
        line-height: 1.7;
    }
    
    /* About Me */
    .about-me .about-image {
        padding: 0;
        margin: 0;
        margin-bottom: 40px;
    }
    
    .about-me .about-info h3 {
        font-size: 18px;
    }
    
    .about-me .about-info .personal-info {
        padding: 25px 15px 10px;
    }
    
    .about-me .about-info > p,
    .about-me .about-info .personal-info p {
        font-size: 14px;
    }
    
    /* Services */
    .services .main-title h2 {
        font-size: 22px;
    }
    
    /* Skills */
    .skills .progress-container h4 {
        font-size: 14px;
    }
    
    /* Contact */
    .contact .contact-box .icon-box i:before {
        top: 16px;
        font-size: 34px;
    }
}
