/* Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

/* Var */
:root {
    --main-dark-color: #222;
    --main-white-color: #f2f2f2;
    --main-green-color: #2c6b28;
    --main-red-color: #c71616;
    --main-yellow-color: #fabc1e;
    --main-pink-color: #FA26A0;
    --main-blue-color: #0e6acf;
    --secondary-green-color: #259E84;
    --secondary-yellow-color: #FFE339;
    --secondary-white-color: #FFE5B4;
    --third-yellow-color: #FFE5B4;
    --fourth-yellow-color: #D6B75A;
}

/* Rest */
*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    background: var(--main-dark-color);
    color: var(--main-white-color);
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style-type: none;
}

/* Default Position */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
}

header {}

main {
    flex-grow: 1;
}

footer {}

/* Home Text */
.wrapper {
    display: flex;
}

.wrapper .static-txt {
    color: #fff;
    font-size: 60px;
    font-weight: 400;
}

.wrapper .dynamic-txts {
    margin-left: 15px;
    height: 90px;
    line-height: 90px;
    overflow: hidden;
}

.dynamic-txts li {
    list-style: none;
    background-image: linear-gradient(to right, var(--main-yellow-color), var(--secondary-yellow-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 60px;
    font-weight: 500;
    position: relative;
    top: 0;
    animation: slide 12s steps(4) infinite;
}

@keyframes slide {
    100% {
        top: -360px;
    }
}

.dynamic-txts li span {
    position: relative;
    line-height: 90px;
    margin-right: 16px;
}

.dynamic-txts li span::after {
    top: 0;
    content: "";
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--main-dark-color);
    border-left: 2px solid var(--main-yellow-color);
    animation: typing 3s steps(10) infinite;
}

@keyframes typing {

    40%,
    60% {
        left: calc(100% + 8px);
    }

    100% {
        left: 0;
    }
}

/* Other */

.gradiant-text {
    background-image: linear-gradient(to right, var(--secondary-yellow-color), var(--main-yellow-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradiant-text-reverse {
    background-image: linear-gradient(to right, var(--main-yellow-color), var(--secondary-yellow-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradiant-pill-fr {
    background-image: linear-gradient(to right, #002656, #ffffff, #ED2939);
    color: var(--main-dark-color);
    padding: 2px 2px;
    border-radius: 3px;
}

.gradiant-pill {
    background-image: linear-gradient(to right, var(--secondary-yellow-color), var(--main-yellow-color));
    color: var(--main-dark-color);
    padding: 2px 2px;
    border-radius: 3px;
}

.gradiant-pill-green {
    background-image: linear-gradient(to right, var(--secondary-green-color), var(--main-green-color));
    color: var(--main-white-color);
    padding: 4px 5px;
    border-radius: 15px;
}

.gradiant-pill-white {
    background-image: linear-gradient(to right, var(--main-white-color), var(--secondary-white-color));
    color: var(--main-dark-color);
    padding: 4px 5px;
    border-radius: 15px;
}

p {
    text-align: justify;
}

.text-align-end {
    text-align: end;
}


.c-3-yellow {
    color: var(--third-yellow-color);
}

.c-4-yellow {
    color: var(--fourth-yellow-color);
}

.c-laravel {
    color: #E3372C;
}

.c-bootstrap {
    color: #6D2BEF;
}

.c-react {
    color: #58C4DC;
}

.c-vuejs {
    color: #3EAF7C;
}

.c-flutter {
    color: #50BBEB;
}

.c-js {
    color: #EAD41C;
}

.c-php {
    color: #808BB6;
}

.c-html {
    color: #F25320;
}

.c-css {
    color: #1A6DB1;
}

.c-git {
    color: #E44C30;
}

.c-mysql {
    color: #11748C;
}

.c-mangodb {
    color: #00E15F;
}

.c-linux {
    color: #020204;
}

.c-docker {
    color: #228EE1;
}

.c-vegas {
    color: #3E67F7;
}

.c-photoshop {
    color: #A8BFED;
}

.c-discord {
    color: #7289DA;
}

.c-linkedin {
    color: #0077B5;
}

.bcg-dark {
    background-color: var(--main-dark-color);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.border-gradiant {
    background: linear-gradient(var(--main-dark-color), var(--main-dark-color)) padding-box,
        linear-gradient(to right, var(--main-yellow-color), var(--secondary-yellow-color)) border-box;
    border: 1px solid transparent;
}

.border-bottom-gradiant {
    background: linear-gradient(var(--main-dark-color), var(--main-dark-color)) padding-box,
        linear-gradient(to right, var(--main-yellow-color), var(--secondary-yellow-color)) border-box;
    border-bottom: 1px solid transparent;
}

.border-top-gradiant {
    background: linear-gradient(var(--main-dark-color), var(--main-dark-color)) padding-box,
        linear-gradient(to right, var(--main-yellow-color), var(--secondary-yellow-color)) border-box;
    border-top: 1px solid transparent;
}

.emoji {
    width: 24px;
    height: 24px;
}

.project-card {
    cursor: pointer;
    width: 300px;
    height: 350px;
    background: linear-gradient(var(--main-dark-color), var(--main-dark-color)) padding-box,
        linear-gradient(to right, var(--main-yellow-color), var(--secondary-yellow-color)) border-box;
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 1rem;
    margin: 1rem;
    transition: all .2s ease-in-out;
    will-change: transform;
}

.project-card p {
    text-overflow: ellipsis;
    overflow: hidden;
}

.project-card:hover {
    transform: scale(1.05);
}