@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:Tahoma;
    text-decoration: none;
    scroll-behavior: smooth;
}
/* fonts */
h1, h2, h3 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}
body {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body{
    width: 100%;
    height: auto;
    background-color: black;
    overflow-x: hidden;
}

::-webkit-scrollbar{
    width: 10px;
}
::-webkit-scrollbar-track{
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb{
    background: #b74b4b;
    border-radius: 12px;
    transition: all 0.3s ease;
}
::-webkit-scrollbar-thumb:hover{
    background: #b74b4b;
}

/* nav-bar styling */
nav {
    width: 100%;
    height: 10vh;
    position: relative;
    z-index: 1000;
}

.nav-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    color: white;
    font-weight: bold;
    /* display: flex;
    width: 200px;
    justify-content: space-around; */
    font-size: 18px;
}

.logo span {
    color: #b74b4b;
    text-shadow: 0 0 10px #b74b4b;
}

.hamburg,
.cancel {
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    color: white;
    font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);
    z-index: 1001;
}

.hamburg {
    opacity: 1; /* საწყისად ხილვადი */
    pointer-events: auto;
}

.cancel {
    opacity: 0; /* საწყისად დაფარული */
    pointer-events: none;
}

.nav-container .links {
    display: flex;
}

.nav-container .links a {
    position: relative;
    font-size: 1.2rem;
    color: white;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 550;
    transition: 0.3s linear;
}

/* .nav-container .links a::before {
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #b74b4b;
    transition: 0.2s linear;
} */

.nav-container .links a:hover::before {
    width: 100%;
}

.nav-container .links a:hover {
    color: #b74b4b;
}

.dropdown {
    display: none;
    z-index: 1000;
    position: absolute;
    top: 10vh;
    left: 0;
    width: 100%;
    height: auto;
    backdrop-filter: blur(4px) brightness(40%);
    box-shadow: 0 0 20px black;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.dropdown.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    display: block;
}

.dropdown .links a {
    display: flex;
    color: white;
    text-decoration: none;
    justify-content: center;
    padding: 15px 0;
    align-items: center;
    transition: 0.2s linear;
}

.dropdown .links a:hover {
    background-color: #b74b4b;
}

.cancel {
    position: absolute;
    top: 10px;
    right: 15px;
}
.nav-container .links{
    display: flex;
}
.nav-container .links a{
    position: relative;
    font-size: 1.2rem;
    color: white;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 550;
    transition: 0.3s linear;
}
.nav-container .links a::before{
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    /* background-color: #b74b4b; */
    transition: 0.2s linear;
}
.nav-container .links a::before{
    width: 100%;
}
.nav-container .links a:hover{
    color: #b74b4b;
}
.dropdown{
    z-index: 100;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: auto;
    backdrop-filter: blur(4px) brightness(40%);
    box-shadow: 0 0 20px black;

    /* დაიმალოს დეფოლტად */
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;

    transition: transform .25s ease, opacity .25s ease;
}
.boxes {
    width: 100%;
}
.dropdown.open{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.menu {
  display: none; /* დამალულია ნაგულისხმევად */
  list-style: none;
}

.menu.show {
  display: block; /* გამოჩნდება როცა class="show" დაემატება */
}
.dropdown .links a{
    display: flex;
    color: white;
    text-decoration: none;
    justify-content: center;
    padding: 15px 0;
    align-items: center;
    transition: 0.2s linear;
}
.dropdown .links a:hover{
    background-color: #b74b4b;
}
section{
    width: 100%;
    min-height: 85vh;   
}
section .main-container{
    display: flex;
    justify-content: space-between;
    padding-left: 100px;
    align-items: center;
}
.main-container .image{
    width: 600px;
    height: 64vh;
    border-radius: 100%;
    overflow: hidden;
    box-shadow: 0 0 50px #b74b4b;
    margin: 10%;
}
.main-container .image img{
    width: 100%;
}
.main-container .image:hover{
    animation: animate 1.5s ease-in-out infinite;
}
@keyframes animate {
    0%{
        scale: 1;
    }

    50%{
        scale: 1.05;
    }

    100%{
        scale: 1;
    }
}
.main-container .content{
    color: white;
    width: 40%;
}
.content h1{
    /* font-size: clamp(1rem, 1rem + 5vw,1.8rem); */
}
.content h1 span{
    color: #b74b4b;
    text-shadow: 0 0 10px #b74b4b;
}
.content .typewrite{
    font-size: clamp(1rem, 1rem + 5vw,2.5rem);
    font-weight: 600;
}
.content .typewriter-text{
    color: #b74b4b;
    text-shadow: 0 0 10px #b74b4b;

}
.content p{
    font-size: clamp(0.4rem, 0.2rem + 9vw, 1rem);
    margin: 10px 0;
    color: white;
}

.social-links i{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 0.2rem solid #b74b4b;
    border-radius: 50%;
    color: #b74b4b;
    margin: 5px 15px;
    font-size: 1.5rem;
    transition: 0.2s linear;
}
.social-links i:hover{
    scale: 1.3;
    color: black;
    background-color: #b74b4b;
    filter: drop-shadow(0 0 10px #b74b4b);
}
.content button{
    width: 50%;
    height: 6vh;
    margin: 30px;
    background-color: #b74b4b;
    color: white;
    border: none;
    outline: none;
    font-size: 120%;
    font-weight: 700;
    border-radius: 5px;
    transition: 0.2s linear;
}
.content button:hover{
    scale: 1.1;
    color: #b74b4b;
    border: 2px solid #b74b4b;
    background-color: transparent;
    font-weight: 700;
    box-shadow: 0 0 40px #b74b4b;
}
/* about section styling */
.section .content{
    width: 80%;
    margin: 0px auto;
    font-family: sans-serif;
}
.about .about-details{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
section .title{
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}
section .title span{
    color: white;
    font-size: 30px;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

section .title span::before,
section .title span::after{
    content: "";
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #b74b4b;
    left: 0;
    bottom: 0;
}

section .title span::after{
    bottom: -7px;
    width: 70%;
    left: 16%;
    transition: translateX(-50%);
}
.about .about-details .left{
    width: 45%;
    margin: 10%;
}
.about .left img{
    height: 400px;
    width: 400px;
    object-fit: cover;
    height: 400px;
    width: 400px;
    object-fit: cover;
    border-radius: 50%;
    margin-left: 25%;
}

.about-details .right{
    width: 45%;
}

section .topic{
    color: white;
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 10px;
}
.about-details .right p{
    text-align: start;
    color: white;
    width: 90%;
}
section .button{
    margin: 16px 0;
}
section .button button{
    outline: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 25px;
    font-weight: 400;
    background-color: #b74b4b;
    color: #fff;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.4s ease;
}
section .button button:hover{
    border-color: #b74b4b;
    background-color: #fff;
    color: #b74b4b;
}
.skills{
    background:black;
}
.skills .content{
    padding: 40px 0;
}
.skills .skills-details{
    
    width: 45%;
}
.container-flex{
    display: flex;
    justify-content: space-around;
}
.skills-details .text{
    width: 50%;
}
.skills-details p{
    color: white;
    text-align: justify;
}
.container-flex .skills-details .experience{
    display: flex;
    align-items: center;
    margin: 0 10px;
}
.skills-details .experience .num{
    color: white;
    font-size: 80px;
}
.skills-details .experience .exp{
    color: white;
    margin-left: 20px;
    font-size: 18px;
    font-weight: 500;
    margin: 0 6px;
}
.container-flex .boxes{
    width: 45%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row;
}
.container-flex .box{
    width: calc(100% / 2 - 20px);
    margin: 20px 0;
}
.container-flex .boxes .topic{
    font-size: 20px;
    color:#b74b4b;
}
.container-flex .boxes .per{
    font-size: 60px;
    color: #b74b4b;
}
.services .boxes{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.services .boxes .box{
    margin: 20px 0;
    width: calc(100% / 3 - 20px);
    text-align: center;
    border-radius: 12px;
    padding: 30px 10px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.12);
    cursor: default;
    color: white;
    transition: all 0.4s ease;
}
.services .boxes .box:hover{
    background: #b74b4b;
    color: #fff;
}
.services .boxes .box .icon{
   height: 50px; 
   width: 50px;
   background: #b74b4b;
   border-radius: 50%;
   text-align: center;
   line-height: 50px;
   font-size: 18px;
   color: #fff;
   margin: 0 auto 10px auto;
   transition: all 0.4s ease;
}
.boxes .box:hover .icon{
    background-color: #fff;
    color: #b74b4b;
}
.services .boxes .box:hover .topic,
.services .boxes .box:hover p{
    color: white;
    transition: all 0.4s ease;
}

.services .boxes .box:hover .topic,
.services .boxes .box:hover p{
    color: #fff;
} 


/* contact me Css */
.contact .content{
    margin: 0 auto;
    padding: 30px 0;
    
}
.contact .text{
    width: 80%;
    text-align: center;
    margin: auto;
}

footer{
    background:#b74b4b;
    padding: 15px 0;
    text-align: center;
    font-family: sans-serif;
}
footer .text .span{
    font-size: 17px;
    font-weight: 400;
    color: #fff;
}
footer .text span a{
    font-weight: 500;
    color: #fff;
}
footer .text span a:hover{
    text-decoration: underline;
}

.scroll-button a{
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: #fff;
    background: #b74b4b;
    padding: 7px 12px;
    font-size: 18px;
    border-radius: 6px;
    box-shadow: rgba(0,0,0,0.15);
    display: none;
}
@media(max-width: 1000px){
    .about .about-details{
        justify-content: center;
        flex-direction: column;
    }
    .about .about-details .left{
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .about-details .right{
        width: 90%;
        margin: 40px 0;
    }
    .services .boxes .box{
        margin: 20px 0;
        /* width: calc(100% / 2 - 20px); */
    }
}
@media(max-width:900px){
    .about .left img{
        height: 350px;
        width: 350px;
    }
}
@media(max-width:968px){
    .nav-container .links {
        display: none;
    }
    .hamburg {
        opacity: 1; /* ხილვადი 968px-ზე და ქვემოთ */
        pointer-events: auto;
    }
    .cancel {
        opacity: 0; /* დაფარული 968px-ზე და ქვემოთ */
        pointer-events: none;
    }

    nav .logo{
        position: absolute;
        top: 16px;
        left: 15px;
        font-size: 1.5rem;
    }
    section .main-container{
        padding-left: 0px;
        display: flex;
        flex-direction: column;
    }
    section .main-container .image{
        width: 400px;
        height: auto;
    }
    .nav-container .links{
        display: none;
    }
    .hamburg,
    .cancel{
        opacity: 1;
        pointer-events: visible;
}
.main-container .content{
    margin-top:20px;
    width: 80%;
}
.social-links i{
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
}
.main-container .image{
    z-index: -1;
    width: 50%;
    height: 60%;
}
.about .left img{
    height: 35vh;
    width: 300px;
    margin-right: 25%;
}

.container-flex{
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.container-flex .text{
    width: 100%;
    margin-bottom: 50px;
}
.container-flex .boxes{
     align-items: center;
    justify-content: center;
    flex-direction: column;
    /* width: 100%; */
}
.container-flex .boxes .box{
    margin: 20px 0;
    width: 100%;
}
.services .boxes .box{
    margin: 20px 0;
    width: 100%;
}
.contact .text{
    width: 100%;
}
/* Hidden by default */
.dropdown {
    display: none;
}

/* Show when active */
.dropdown.active {
    display: block;
}
.social-links{
    margin-left: 10%; 
    margin-top: 10%;
}
/* .btn{
   margin-left: 20%; 
} */
.typewrite label{
    font-size: 25px;
}
.typewrite span{
    font-size: 18px;
}
.typewrite label{
    font-size: 18px;
}
.hamburg{
    opacity: 0;
    pointer-events: none;
}
}


@media(max-width:500px){
    .about .left img{
        height: 35vh;
    }
    .nav-container .links {
        display: none;
    }
    /* .hamburg,
    .cancel {
        opacity: 0;
        pointer-events: none; /* გასწორდა visible-დან auto-ზე */
    */
    .btn{
        margin-left: 5%; 
    }
   .boxes {
            width: auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            flex-direction: row;
            background-color: #000;
            padding: 20px;
        }

        .box {
            width: calc(50% - 20px); /* 50% თითოეულ ხაზზე, მინუს მარჯინი */
            margin: 20px 10px;
            box-sizing: border-box;
            text-align: center;
            padding: 20px; /* შიგნით სივრცე teksti-სთვის */
        }

        .box .topic {
            font-size: 20px;
            color: #b74b4b;
            margin-bottom: 10px;
        }

        .box .per {
            font-size: 60px;
            color: #b74b4b;
        }
        .about .about-details .left {
        display: flex;
        justify-content: center;
        width: 88%;
        }
        section .topic {
        color: white;
        font-size: 18px;
        font-weight: 500;
        margin-bottom: 10px;
        margin-left: 10%;
        } 
        .about-details .right p {
        text-align: start;
        color: white;
        width: 90%;
        margin-left: 10%;
        }
        .skills .skills-details {
            width: 80%;
        }   
        .container-flex .skills-details .experience {
            display: none;
        }
    /* საასასსაას */
    .content button {
        width: 80%;
    }
    .main-container .image{
        width: 50%;
        height: 60%;
        margin-bottom: 0px;
    }
    .main-container .content{
        width: 80%;
    }
    .main-container .button{
        margin-top: 15px;
    }
    .skills-details .boxes .per{
        font-size: 50px;
        color: #b74b4b;
    }
    .about-details .right {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .section .button button{
        width: 100px;
        font-size: 8px;
        font-weight: 200;

    }
    /* .hamburg {
        opacity: 1;
        pointer-events: visible;
    }
    .cancel {
        opacity: 1;
        pointer-events: visible;
    }
    */
    

}
@media (max-width: 450px) {
    .social-links {
        /* margin-left: 10%; */
        margin-top: 10%;
    }
}

@media(max-width:400px){
    .content button {
        margin-left: 0;
    }
    .social-links {
        margin-left: 0;
    }
    .about .left img{
        height: 35vh;
    }
    .nav-container .links {
        display: none;
    }
    /* .hamburg,
    .cancel {
        opacity: 1;
        pointer-events: auto; /* გასწორდა visible-დან auto-ზე */
    */
    .social-links{
        width: 100%;
        margin-left: 5%;
    }
    
    .btn{
        margin-left: 5%; 
    }
   .boxes{
        width: 400px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        flex-direction: row;
        background-color: #000;
        padding: 20px;
    }

        .box{
            width: calc(50% - 20px); /* 50% თითოეულ ხაზზე, მინუს მარჯინი */
            margin: 20px 10px;
            box-sizing: border-box;
            text-align: center;
            padding: 20px; /* შიგნით სივრცე teksti-სთვის */
        }

        .box .topic {
            font-size: 20px;
            color: #b74b4b;
            margin-bottom: 10px;
        }

        .box .per {
            font-size: 60px;
            color: #b74b4b;
        }

    .content button {
        width: 80%;
    }
    .main-container .image{
        width: 50%;
        height: 60%;
        margin-bottom: 0px;
    }
    .main-container .content{
        width: 80%;
    }
    .main-container .button{
        margin-top: 15px;
    }
    .skills-details .boxes .per{
        font-size: 50px;
        color: #b74b4b;
    }
    .about-details .right {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .section .button button{
        width: 100px;
        font-size: 8px;
        font-weight: 200;

    }
    section .topic {
    color: white;
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 10px;
    margin-left: 10%;
    }
    .about-details .right p {
        text-align: start;
        color: white;
        width: 90%;
    }
    .skills .skills-details {
        width: 80%;
    }
    .container-flex .skills-details .experience {
        display: none;
    }
    .typewrite label {
            font-size: 18px;
        }
/* .hamburg {
        opacity: 1;
        pointer-events: auto;
    }
    .cancel {
        opacity: 0;
        pointer-events: none;
    } */











/* ბურგერი დაკორექტირებული */
/* nav-bar styling */
    nav {
        width: 100%;
        height: 10vh;
        position: relative;
        z-index: 1000;
    }

    .nav-container {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
    }

    .logo {
        color: white;
        font-size: 2rem;
        font-weight: bold;
    }

    .logo span {
        color: #b74b4b;
        text-shadow: 0 0 10px #b74b4b;
    }

    /* .hamburg,
    .cancel {
        cursor: pointer;
        position: absolute;
        right: 15px;
        top: 10px;
        color: white;
        font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);
        z-index: 1001;
        transition: opacity 0.3s ease; /* გლუვი გადასვლა */


    .nav-container .links {
        display: flex;
    }

    .nav-container .links a {
        position: relative;
        font-size: 1.2rem;
        color: white;
        margin: 0 20px;
        text-decoration: none;
        font-weight: 550;
        transition: 0.3s linear;
    }

    .nav-container .links a::before {
        position: absolute;
        content: "";
        bottom: -3px;
        left: 0;
        width: 0%;
        height: 3px;
        background-color: #b74b4b;
        transition: 0.2s linear;
    }

    .nav-container .links a:hover::before {
        width: 100%;
    }

    .nav-container .links a:hover {
        color: #b74b4b;
    }

    .dropdown {
        z-index: 1000;
        position: absolute;
        top: 10vh;
        left: 0;
        width: 100%;
        height: auto;
        backdrop-filter: blur(4px) brightness(40%);
        box-shadow: 0 0 20px black;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.25s ease;
        display: none; /* დაფარული საწყისად */
    }

    .dropdown.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        display: block; /* გახსნისას ჩანს */
    }

    .dropdown .links a {
        display: flex;
        color: white;
        text-decoration: none;
        justify-content: center;
        padding: 15px 0;
        align-items: center;
        transition: 0.2s linear;
    }

    .dropdown .links a:hover {
        background-color: #b74b4b;
    }
}
/* მედია კვირები */
@media (max-width: 968px) {
    .nav-container .links {
        display: none;
    }
    .hamburg {
        display: block; /* ჩანს მხოლოდ 968px-ზე და ქვემოთ */
    }
    .cancel {
        display: none; /* საწყისად დაფარული */
    }
    .dropdown {
        display: none; /* დაფარული, სანამ JavaScript არ გააქტივებს */
    }
}
