* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

:root {
    --color-primary: #0CAFFF;
    --color-secondary: #7CB9E8;
    --color-warning: #6F00FF;
    --color-danger: #641005;
    --color-danger-variant: rgba(247, 88, 64, 0.4);
    --color-white: #fff;
    --color-light: #e3e9ee;
    --color-black: #000;
    --color-bg: #012169;
    --color-bg1: #033bbd;
    --color-bg2: #0CAFFF;
   
    --container-width-lg: 76%;
    --container-width-md: 90%;
    --container-width-sm: 94%;
   
    --transition:all 400ms ease;
}   

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.7;
    color: var(--color-white);
    background: var(--color-bg);
}

.container {
    width: var(--container-width-lg);
    margin: 0 auto;
}

section {
    padding: 6rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

h1, h2, h3, h4, h5 {
    line-height: 1.2;
}

h1 {
    font-size: 2.4rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.3rem;
}

a {
    color: var(--color-white);
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.btn {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-black);
    padding: 1rem 2rem;
    border: 1px solid transparent;
    font-weight: 500;
    transition: var(--transition);
}

.btn:hover {
    background: transparent;
    color: var(--color-white);
    border: var(--color-white);
}

.btn-primary {
    background: var(--color-bg2);
    color: var(--color-white);
}

/*============= NAVBAR ============*/
nav {
    background: var(--color-bg1);
    width: 100vw;
    height: 5rem;
    position: fixed;
    top: 0;
    z-index: 11;
}

.nav__container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav__container img {
    inline-size: 4.5rem;
}

 .nav__menu li{
    display: inline-block;
    list-style: none;
    margin: 20px 30px;
 }

 .nav__menu li a {
    text-decoration: none;
    font-size: 18px;
    position: relative;
 }

 .nav__menu li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #2db9ff;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
 }

 .nav__menu li a:hover::after {
    width: 100%;
 }





/*============= HEADER ============*/
header {
    max-width: 100vw;
    height: 100vh;
    position: relative;
    top: 0;
    background: linear-gradient(var(--color-primary-variant), #011441);
    overflow: hidden;
    margin-top: 7rem;
}

.header__container {
    display: grid;
    grid-template-columns: 43% 53%;
    gap: 4%;
    margin-top: 2rem;
    position: relative;
}

.header__image-bg {
    background: #1d60fd;
    height: 22rem;
    width: 16rem;
    position: absolute;
}

.header__image-lg {
    width: 29rem;
    position: relative;
    top: 1rem;
    left: 1rem;
    filter: saturate(0)
    brightness(0.3);
    transition: var(--transition);
}

.header__image-sm {
    width: 25rem;
    height: 25rem;
    overflow: hidden;
    position: absolute;
    left: 10rem;
    top: 14rem;
    transition: var(--transition);
}

.header__left:hover .header__image-sm {
    opacity: 0;
}

.header__left:hover .header__image-lg {
    filter: saturate(1) brightness(1);
    border: 1rem solid #1d60fd;
    left: 0;
    top: 0;
}

.header__head {
    display: flex;
    gap: 5rem;
    align-items: flex-start;
}

.empty {
    height: 3.5rem;
    width: 18rem;
    background: var(--color-bg);
    border-radius: calc(3.5rem / 2);
    box-shadow: inset 0 1rem 1rem rgba(2, 0, 26, 0.3);
    border: 1px solid var(--color-bg1);
}

.header__tag {
    color: #0CAFFF;
    margin-top: 1rem;
}

.header__right h1 {
    margin-top: 2rem;
    margin-left: 5rem;
    font-size: 4rem;
}

.header__right h1 span{
    color: #0CAFFF;
}

.header__right p {
    margin-top: 5rem;
    margin-left: 5rem;
    font-size: 2rem;
    width: 25rem;
} 

.software-icons{
    margin-top: 3.5rem;
    margin-left: 5rem;
}

.software-icons img{
    inline-size: 3.5rem;
    margin-right: 25px;
    display: inline-block;
    transition: var(--transition)
}

.software-icons img:nth-child(1) {
    inline-size: 4.2rem;
}

.software-icons img:nth-child(2) {
    inline-size: 4.2rem;
}

.software-icons img:nth-child(3) {
    inline-size: 4.2rem;
}

.software-icons img:hover{
    box-shadow: 0 2rem 2rem  rgba(0, 1, 27, 0.6);
    transform: translateY(-20px);
}


/*============= HEADER ============*/




#about__me {
    padding: 80px 0;
}


.row__abt {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: -2rem;
}

.about__image {
    flex-basis: 35%;
}

.about__image img{
    width: 100%;
    border-radius: 20px;
    margin-left: 8rem;
}

.about__info {
    flex-basis: 55%;
    margin: 30px;
    margin-right: -4rem;
}

.about__info h1 {
    margin-bottom: 3rem;
}

.abt__info {
    width: 40rem;
    font-kerning: 20px;
    font-size: 1.2rem;
}

.title {
    font-size: 5rem;
    font-weight: 600;
    color: #fff;
}

.click-titles {
    display: flex;
    margin: 20px 0 40px;
    margin-top: 3rem;
}

.click-links {
    margin-right: 6rem;
    font-size: 23px;
    font-weight: 600;
    cursor: pointer;
    position: relative;  
}

.click-links::after {
    content: '';
    width: 0;
    height: 4 px;
    background: #2db9ff;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s ;  
}

.click-links.active-link::after {
    width: 50%;
}

.click-contents ul li {
    list-style: none;
    margin: 10px 0;   
}

.click-contents ul li span {
    color: #2db9ff;
    font-size: 1.1rem;
    font-weight: 500;
}

.click-contents {
    display: none;
}

.click-contents.active-tab {
    display: block;
} 


/*-------------------- Services ----------------*/

#services{
    padding: 50px 0;
}

.sub-title {
    font-size: 4rem;
}
.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    grid-gap: 40px;
    margin-top: 80px;
}

.services-list div{
    background: #0536aa;
    padding: 40px;
    font-size: 13px;
    font-weight: 400;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}

.services-list div i{
    font-size: 4.5rem;
    margin-bottom: 30px;
}

.services-list div h2{
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
}

.services-list div p {
    font-size: 15px;
}

.services-list div a{
    text-decoration: none;
    color: #020269;
    font-size: 16px;
    margin-top: 45px;
    border-radius: 0.7rem;
    display: flex;
}

.services-list div:hover{
    background: #0CAFFF;
    transform: translateY(-10px);
}


/*-------------------- My Works ----------------*/

#portfolio {
    padding: 50px 0;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
    margin-top: 50px;
    margin-bottom: 20px;
}
.work {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.work img {
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}
.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(8, 1, 41, 0.822),#0CAFFF);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
 transition: height 0.5s;
}

.layer h3 {
    font-weight: 500;
    margin-bottom: 20px;
}

.layer a {
    margin-top: 20px;
    color: #0536aa;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}
.work:hover img {
    transform: scale(1.1);
}
.work:hover .layer {
    height: 100%;
}
.see {
    justify-content: center;
    margin-right: -55rem;
}
.btn {
    display: flex;
    margin: 60px auto;
    width: fit-content;
    border: 1px solid #0CAFFF;
    padding: 18px 40px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.5s;
}
.btn:hover {
    background: #0CAFFF;
}


















/*============= FOOTER ============*/
footer {
    background: var(--color-bg1);
    padding-top: 4rem;
    font-size: 1rem;
    padding: 3rem;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5rem;
}

.footer__container > div h4 {
    margin-bottom: 1.7rem;
}

.footer__1 p {
    margin: 0 0 2rem;
}

footer ul li {
    margin-bottom: 0.7rem;
}

footer ul li a{
    color: #fff;
    text-decoration: none;
    position: relative;
}

footer ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #0CAFFF;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

footer ul li a:hover::after{
    width: 100%;
}

.social-icons{
    margin-top: 20px;
}

.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #020269;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover{
    color: #fbfbfc;
    transform: translateY(-10px);
}

.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    font-weight: 300;
}