@charset "utf-8";
/*Header Starts*/
* {
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Roboto', sans-serif;
	transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, filter 0.3s ease;
}

html {
	scroll-behavior: smooth;
}

#personal-logo{
   width:100px;
   height:100px;
}

li{
    list-style-type:none;
}

a  {
    text-decoration: none;
}

input,textarea{
    width: 100%;
    background-color: #242424;
    color: white;
    outline: none;
    border: 3px solid #c0c4cc;
    border-top: none;
    border-left: none;
    border-right: none;
    height: 40px;
	transition: all 300ms ease;
}

textarea{
	resize: vertical;
	height:100px;
	margin-top:8px;

}

label{
    font-size: 14px;
    font-weight: bold;
}

input:hover, textarea:hover{
	border-color:#dcdfe6;
}

input:focus, textarea:focus {
	border-color:#f06449;
}

button{
    cursor:pointer;
}

.container{
    padding: 50px 0;
    width: 100%; 
}

p{
   line-height:1.5; 
}
section{
    background-color: rgb(245, 245, 245);
}

.title {
    font-size: 100px;
    margin-bottom: 12px;
    text-align: left;
    line-height: 1;
}

.Kobe{
	font-size:100px;
}

.blue{
    color: rgb(65, 173, 240);
}

.container{
    padding: 50px 0;
}

.row{
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 12px;
}

.click{
    cursor: pointer;
    transition: all 300ms ease;
}
.click:active{
    transform: scale(0.8);
}
.click:hover{
    transform: scale(1.1);
}

.link__hover-effect{
    position: relative;
}

.link__hover-effect:after{
    content: "";
    position:absolute;
    bottom: -3px;
    height: 3px;
    width: 0;
    right:0;
    background-color: black;
    transition: all 300ms ease;
}

.link__hover-effect--white:after{
    background-color: white;
}

.link__hover-effect--black:after{
    background-color: black;
}


.link__hover-effect:hover:after{
    left:0;
    width: 100%;
}

/*

    LANDING PAGE

*/
#landing-page {
    min-height: 100vh;
}

.header{
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width:1000px;
    padding: 0 30px;
	display:flex;
	align-items: center;
	gap:25%;
}

.header__image-container {
    display: flex;
	justify-content: center;
	border-radius:50%;
	overflow: hidden;
	width:270px;
	height: 270px;
	margin-top:50px;
	
	
}

.header__portrait {
	padding-top: 8px;
	transform: scale(1.65);
    width: 100%; 
    max-width: 190px;  
    margin-right: 20px; 
}

.header__text-container {
    flex: 2; 
}
.complex-shap{
	z-index: -100;
}

.section__title{
	z-index:-20;
}

.header__para{
    font-size: 24px;
    line-height: 2;
    max-width: 450px;
}

.social__list{
    margin-top: 16px;
    display: flex;
}

.social__link{
    background-color: rgb(65, 173, 240);
    color:white;
    padding: 6px;
    width: 32px;
    height: 32px;
    font-size: 14px;
    text-decoration: none;
    margin-right: 12px;
    display:flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.mail__btn{
    width:70px;
    height:70px;
    font-size: 32px;
    border-radius: 50%;
    border: none;
    background-color: #242424;
    color:white;
    position:absolute;
    bottom: 32px;
    right: 40px;
}

.scroll {
    position:absolute;
    bottom:20px;
    left:50%;
    transform: translate(-50%)
}

.scroll__icon{
    width:20px;
    height: 30px;
    border: 2px solid #242424;
    border-radius: 24px;
    display:flex;
    align-items: center;
    justify-content: center;
}

.scroll__icon:after{
    content:"";
    width:4px;
    height: 6px;
    background-color:#242424;
    border-radius: 2px;
    animation: scroll 1000ms infinite alternate-reverse;
}

.img__me{
    width:50px;
    height:50px;
}

@keyframes scroll{
    0% {
        transform: translateY(3px);
    }

    100%{
        transform: translateY(-3px);
    }
}
/*

    Navigation

*/

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

.nav__link--list{
    display:flex;
}

.nav__link{
    margin: 0 12px;
}

.nav__link--anchor{
    text-decoration: none;
    font-size: 16px;
    color:#242424;
    font-weight: 700;
}
.fa-adjust{
    font-size: 20px;
}
/*

    Modal

*/
.modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1100px;
    height: 700px;
    box-shadow: 0 20px 80px 0 rgb(0, 0, 0 ,0.55);
    border-radius:  20px;
    overflow: hidden;
    display:flex;
	visibility: hidden;
	z-index: -1;
}

body.modal--open {
    overflow: hidden;
}

.modal__half {
    width: 50%;
    flex-grow:1;
    padding: 40px 72px;
    position: relative;
}

.modal__about{
    background-color:rgb(245, 245, 245);
    display:flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 72px;
	transform: translateX(-100%); 
    transition: transform 0.5s;
}

.modal__lanuages{
    display:flex;
    justify-content: center;
    flex-wrap: wrap;
}

.modal__lanuage{
    width: 25%;
    padding: 16px;
    position: relative;
    display:flex;
    flex-direction: column;
    align-items: center;
}

.modal__lanuage--img{
    width:100%;
}

.modal__contact{
    background-color:#242424;
    color:white;
	transform: translateX(100%); 
    transition: transform 0.5s;
}

.modal__title{
    font-size:26px;
}

.modal__sub-title{
    margin: 12px 0 24px 0;
}

.modal__para{
    margin-bottom: 12px;
    line-height: 1.75;
}

.lanuage__name{
   position: absolute;
   bottom:-10px;
   transform:scale(0);
   transition: all 300ms ease;
}

.modal__lanuage:hover .lanuage__name{
    transform: scale(1);
}

.modal__lanuage:hover{
    filter:brightness(80%);
    transform: scale(0.9);
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;  
    pointer-events: none;  
    transition: opacity 300ms ease-out; 
}

.modal__overlay--active {
    opacity: 1;
    pointer-events: all;
    z-index: 1001; /* This is to ensure the overlay is above everything else */
}


.modal__overlay--loading{
    background-color: #242424;
    font-size: 80px;
	
}

.modal__overlay--success{
    background-color: #4bb543;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    padding: 28px;
}

.modal__exit{
    position:absolute;
    top:30px;
    right:40px;
    color:#fff;
    font-size: 36px;
    z-index:100;
}

.modal--open .modal{
	z-index:1;
	box-shadow: 0 20px 80px 0 rgb(0, 0, 0 ,0.55);
	visibility: visible;
}

.modal--open .modal__about {
    transform: translateX(0); /* Slide to original position */
}

.modal--open .modal__contact {
    transform: translateX(0); /* Slide to original position */
}

.about-me--links{
	display: flex;
	gap:16px;
	
}

.social-link {
    display: flex;  /* added */
    justify-content: center;  /* added */
    align-items: center;  /* added */
    width: 28px;
    height: 28px;
    border-radius: 75%;
    background-color: rgb(65, 173, 240);
    font-size: 16px;
    color: white;
    text-decoration: none;  /* optional: remove the underline from the link */
}


.fa-spinner{
    animation: spinner 950ms infinite linear;
}
@keyframes spinner{
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

.form__item{
	margin-bottom: 20px;
}

.form__submit{
	font-weight:bold;
	color:white;
	background-color:rgb(65, 173, 240);
	max-width: 240px;
	width:50%;
	padding: 12px 24px;
	border: 2px solid rgb(65, 173, 240);
	border-radius:10px;
	font-size:16px;
	transition: all 300ms ease;
}

.form__submit:hover{
	border-color:#fff;
	background-color: transparent;
}

.form__submit:active{
	border-color:#f06449;
}

.dark-theme .title,
.dark-theme .section__title,
.dark-theme .section__sub-title,
.dark-theme .nav__link--anchor,
.dark-theme .fa-adjust,
.dark-theme .header__para{
	color:white;
}
.dark-theme section {
	background-color:#242424;
	border: #242424;
}

.dark-theme #personal-logo {
	filter: invert(1);;
}
.dark-theme .scroll__icon {
	border-color:white;
}

.dark-theme .scroll__icon:after,
.dark-theme .link__hover-effect--black:after {
	background-color:white;
}

.dark-theme .link__hover-effect--white:after {
	background-color:white;
}

.dark-theme .mail__btn{
	background-color:white;
	color: #242424;
}
/*

    PROJECTS

*/

.section__title{
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
}

.project__img{
    width:100%;
    transition: transform 0.5s ease-in-out, filter 1s ease-in-out;
}

.project__wrapper{
    width: 90%; 
    margin: 0 auto;
    margin-bottom: 100px;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 20px 80px 0 rgb(0,0,0,0.45);
    overflow: hidden;
}

.project__wrapper:hover .project__description{
    opacity: 1;
    transform: translateY(-50%);
}

.project__wrapper:hover .project__img{
    transform: scale(1.07);
    filter: blur(5px);
}

.project__wrapper:hover .project__wrapper--bg{
    opacity: 0.7;
}

.project__description{
    position: absolute;
    top:50%;
    left:90px;
    transform: translateY(100%);
    opacity: 0;
    transition: opacity 300ms, transform 450ms ease;
    color:white;
    max-width: 550px;
}

.project__wrapper--bg{
    position:absolute;
    top:0;
    left: 0;
    width:100%;
    height: 100%;
    background-color: #1c1d25;
    opacity: 0;
    transition: all 450ms ease;
    transition: opacity 0.5s ease-in-out;
}

.project__description--title {
    font-size: 40px;
}

.project__description--sub-title {
    margin-top: 8px;
}

.project__description--link{
    color: white;
    font-size: 20px;
    margin-right: 16px;
}

.project__description-links{
    display:flex;

}

.project__description{
    margin: 16px 0;
}


/*
    Footer
*/

footer {
	position: relative;
    background-color:#242424;
	height:5%;
    display:flex;
    padding: 2% 0;

}

.footer__container {
    margin: 0 auto;
}

.footer__row{
    display:flex;
    flex-direction:column;
    align-items: center;
}

.footer__logo-img{
    width: 90px;
    height: 90px;
    filter: invert(1);
}

.footer__social--list{
    width: 100%;
    max-width: 500px;
    display:flex;
    justify-content: space-around;
    margin-bottom: 28px 0;
}

.footer__social--link, .footer__copyright{
    margin-top: 28px;
    color:white;
}

/* Shapes */

.shape{
	position:fixed;
}

.shape--0{
	top: 15vh;
	left:5vw;
}

.shape--1{
	top: 15vh;
	left:50vw;
}

.shape--2{
	top: 15vh;
	left:80vw;
}

.shape--3{
	top: 50vh;
	left:5vw;
}

.shape--4{
	top: 50vh;
	left:50vw;
}

.shape--5{
	top: 50vh;
	left:80vw;
}

.shape--6{
	top: 80vh;
	left:5vw;
}

.shape--7{
	top: 80vh;
	left:50vw;
}

.shape--8{
	top: 80vh;
	left:80vw;
}

/* Small phones, tablets, large smart phones */
@media(max-width: 1024px){
	
	#personal-logo{
		width: 68px;
		height: 68px;
	}
	
	.header__image-container{
	    display:none;
		
	}
	
	.modal__exit{
		filter:invert(1);
	}
	
	.section__title{
		font-size:30px;
	}
	
	.mail__btn{
		width:50px;
		height:50px;
	}
	.header{
		display:flex;
	 	flex-direction: row;
		align-items: center;
	}
	
	.shape{
		display:none;
	}
     .header__para{
		font-size:13.5px
	}
	 .title{
		font-size:25px;
	}
	
	.header__para {
		font-weight: bold;
	}
	.Kobe{
		font-size:18.5px;
	}
	
	.project__description{
		font-size:14px;
		font-weight:bold;
	}
	
	.project__img{
		width:100%;
		height:350px;
	}
	
	 .project__wrapper {
        position: relative;
    }

    .project__description {
        position: absolute;
        top: 45%;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .project__description--title, 
    .project__description--sub-title, 
    .project__description--para, 
    .project__description-links {
        text-align: center;
 
    }
	
	.modal {
		top:0;
		left:0;
		transform: none;
		height: auto;
		width:100%;
		flex-direction: column;
		border-radius: 0;
	}
	.modal__half{
		width:100%;
		height:50%;
	}
	
	.modal__about {
        transform: translateY(-100%);
    }

    .modal__contact {
        transform: translateY(100%);
    }

    .modal--open .modal__about {
        transform: translateY(0);
    }

    .modal--open .modal__contact {
        transform: translateY(0);
    }
	
	.form__submit{
		
	}
	

	
}
