@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300&family=Inspiration&family=Inter:wght@300&family=Montserrat:wght@700&family=PT+Mono&family=Roboto:wght@300&family=Shadows+Into+Light&family=Sora:wght@300;400;600;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Code&family=Inspiration&family=Inter:wght@300&family=Montserrat:wght@700&family=PT+Mono&family=Roboto:wght@300&family=Shadows+Into+Light&family=Sora:wght@300;400;600;800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@600&family=Fira+Code&family=Inspiration&family=Inter:wght@300&family=Montserrat:wght@700&family=PT+Mono&family=Roboto:wght@300&family=Shadows+Into+Light&family=Sora:wght@300;400;600;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;600&family=Fira+Code&family=Inspiration&family=Inter:wght@300&family=Montserrat:wght@700&family=PT+Mono&family=Roboto:wght@300&family=Shadows+Into+Light&family=Sora:wght@300;400;600;800&display=swap');

:root{
    --p: #b0bcd3;
    --a: #bdc8db;
    --title: #fafafa;
    --border: #52dee5;
    --violet: #4e54c8;
}

.about{
    position: relative;
    display: flex;
    align-items: center;
}

.circle1,.circles{
    position: absolute;
}
.circle{
    width: 35vw;
    height: 35vw;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    background: #4e54c8; 
    background: -webkit-linear-gradient(to top, #4e54c8, #8f94fb); 
    background: linear-gradient(to top, #4e54c8, #8f94fb);
}
.circle1{
    margin-left: 14vw;
}
.circles{
    display: flex;
    margin-left: 50vw;
    flex-direction: column;
}
.circle2{
    width: 23vw;
    height: 23vw;
    margin-left: 9vw;
}
.circle3{
    width: 17vw;
    height: 17vw;
    margin-top: -4vh;
}

/*---------------------------about----------------------------*/
.about-container{
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.about .about-container .img{
    width: 39%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about .about-container img{
    opacity: 0;
    width:34vw;
    z-index: 999;
    transition: all 1s ease;
    transform: translateX(15vw); 
}
.about .about-container .text{
    opacity: 0;
    width: 50%;
    display: flex;
    padding: 7vh 5vw 8.5vh 5vw;
    overflow: hidden; 
    position: relative;
    border-radius: 14px;
    margin: 8vw 1vw 8vw 6%;
    background: #19235f;
    border-radius: 12px;
    flex-direction: column;
    justify-content: center;
    transition: all 1.5s ease;
    transform: translateX(-15vw);
    box-shadow: 0 10px 20px 5px rgba(10, 8, 36, 0.5);
    background: radial-gradient(circle at 0% 100%, rgb(16, 15, 59) 0%,rgb(16, 24, 72) 20%, rgb(22, 31, 86) 40%, rgb(37, 50, 121) 100%);
}

.about .about-container .text .reflection{
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 10vw;
    z-index: 100;
    margin: auto;
    height: 100%;
    opacity: 0;
    position: absolute;
    margin-left: -70vw;
    -webkit-transform: skew(150deg);
    -moz-transform: skew(150deg);
    -ms-transform: skew(150deg);
    -o-transform: skew(150deg);
    transform: skew(150deg);
    transition: all 3s ease-in-out;
    background: rgba(255,255,255,0.5);
}

.about .about-container .text.show, 
.about .about-container .text.show h1, 
.about .about-container .text.show p, 
.about .about-container .text.show > div:last-child,
.about .about-container .img img.show{
    opacity: 1;
    transform: translateX(0);
}

.about .about-container .text.show .reflection{
    margin-left: 140vw;
    opacity: 1;
}

.about .about-container .text h1{
    opacity: 0;
    color: var(--title);
    margin-bottom: 2vh;
    transition: all 1.1s ease;
    transform: translateX(-25vw);
}

.about .about-container .text h1 span{
    color: var(--border);
    margin-right: 10px;
}

.about .about-container .text p{
    opacity: 0;
    margin-top: 2vh;
    transition: all 1.1s ease;
    transform: translateX(-25vw);
    color: var(--p);
}

.about .about-container .text > div:last-child{
    opacity: 0;
    display: flex;
    justify-content:space-around;
    transform: translateX(-5vw);
    transition: all 1.2s ease-in-out;
}

.about .about-container .text a{
    display: none;
}
/*-----------------------scroll effect-------------------------*/
body::-webkit-scrollbar {
    width: 12px;         
}
  
body::-webkit-scrollbar-track {
  background: #161d4a;     
}

body::-webkit-scrollbar-thumb {
  background-color: #3B4264;  
  background-image: linear-gradient(to top,#8e6de7,#d56de7,#5dbeff);
  border-radius: 20px;       
  border: 3px solid #161d4a;  
}

/*----------------------projects----------------------*/
.projects{
    width: 100%;
    padding: 12vh 5% 10vh 5%;
}
.projects > h1, .technologies h1, .contact > h1{
    color: var(--title);
    font-size: 32px;
    font-weight: 500;
    line-height: 28px;
}
.projects .div, .technologies .div, .contact .div{
    width: 100px;
    height: 5px;
    border-radius: 2px;
    background: var(--border);
    margin: 3vh 0;
}
.projects > div:last-child{
    width: 100%;
    display: flex;
    padding: 2vh 0;
    flex-wrap: wrap;
    justify-content: space-between;
}

.projects > div:last-child > div{
    width: 30%;
    display: flex;
    margin-top: 2vh;
    flex-direction: column;
}
.projects > div:last-child > div div{
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 20px;  
}
.projects > div:last-child > div div img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.2s ease-out;
}
.projects > div:last-child > div div img:hover{
    transform: scale(1.1);
}
.projects > div:last-child > div h1{
    font-size: 17px;
    font-weight: 400;
    line-height: 20px;
    color: var(--title);
    margin: 3vh 0 0vh 5%;
}
.projects > div:last-child > div p{
    font-size: 15px;
    font-weight: 300;
    line-height: 20px;
    margin: 2vh 0 3vh 5%;
    color: var(--a);
}
.projects > div:last-child > div a{
    gap: 5px;
    width: 80%;
    margin: 0vh 10% 6vh 10%;
    display: flex;
    padding: 2.5vh 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    border-radius: 10px;
    align-items: center;
    transition: all 0.2s;
    justify-content: center;
    border: 2px solid var(--border);
}
.projects > div:last-child > div a ion-icon, 
.projects > div:last-child > div a span{
    color: var(--border);
}

.projects > div:last-child > div a:hover{
    background: var(--border);
}
.projects > div:last-child > div a:hover ion-icon,
.projects > div:last-child > div a:hover span{
    color: var(--title);
}

/*-------------------------------technologies--------------------------------*/
.technologies{
    width: 100%;
    padding: 11vh 5vw 13vh 5vw;
    background: var(--violet);
}
.technologies > div:last-child{
    gap: 4.6vw;
    width: 90%;
    display: flex;
    margin: 0 5%;
    margin-top: 7vh;
    overflow: hidden;
    flex-wrap: nowrap;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
}
.technologies > div:last-child div{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5vh;
}
.technologies > div:last-child div img{
    width: 130px;
    max-width: 130px;
    max-height: 130px;
}
.technologies > div:last-child div span{
    color: var(--title);
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 8vh;
}
.technologies > div:last-child::-webkit-scrollbar {
    width: 6px;
}
.technologies > div:last-child::-webkit-scrollbar:horizontal {
    height: 6px;
}
.technologies > div:last-child::-webkit-scrollbar-track {
    background-color: transparentize(#ccc, 0.7);
    background: #1f2864;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    margin: 0 8vw;
}
.technologies > div:last-child::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background: transparentize(#ccc, 0.5);
    background: var(--border);
    background: var(--p);
}

/*----------------------Contact------------------------*/
.contact{
    width: 100%;
    padding: 0vh 5vw;
    padding-top: 15vh;
    padding-bottom: 2vh;
}

.contact .text{
    width: 80vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15vh 10vw 0vh 10vw;
    overflow: hidden;
}

.contact .text > div{
    flex-wrap: wrap;
}

.contact .text > div h1{
    font-size: 28px;
    font-weight: 500;
    color: var(--border);
    margin-bottom: 2vh;
}
.contact .text > div a{
    font-size: 26px;
    font-weight: 400;
    line-height: 40px;
    color: var(--title);
}
.contact .click{
    margin: 0 auto;
    width: 70px;
    display: flex;
    height: 70px;
    font-size: 19px;
    margin-bottom: 10vh;
    border-radius: 50%;
    align-items: center;
    color: var(--border);
    animation-name: slide;
    flex-direction: column;
    justify-content: center;
    animation-duration: 1.5s;
    border: 1px solid var(--border);
    animation-direction: alternate;
    animation-iteration-count: infinite;
}
.contact .click span{
    font-size: 13px;
}
@keyframes slide{
    100%{
        transform: translate(0vh, 5vh);
    }
}
.contact .reach{
    gap: 3vw;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 8vw;
}
.contact .reach a ion-icon{
    font-size: 25px;
}
.contact .reach a {
    gap: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--border);
    padding: 0.6em 1.7em;
    border-radius: .6em;
    cursor: pointer;
    transition: .1s;
    font-weight: 400;
    border: 2px solid var(--border);
} 
.contact .reach a:hover {
    transform: scale(1.1);
}

/*-------------------------footer------------------------------*/
.contact footer{
    width: 100%;
    margin-top: 15vh;
}

.contact footer h1{
    width: 100%;
    margin: 0;
    color: var(--p);
    font-size: 14px;
    font-weight: lighter;
    padding: 2vh 0;
    border-radius: calc(2vh + 14px);
    background: -webkit-linear-gradient(to right, #4e54c8, #8f94fb); 
    background: linear-gradient(to right, #484dbe, #7e83ef);
    background: linear-gradient(to right, #4a77ea, #52afe5);
    background: #161d4a;
    display: flex;
    flex-direction:row;
    justify-content: center;
    align-items: center;
}

.contact footer h1 .copyright{
    font-size: 16px;
    margin: 0 4px 0 4px;
}

/*----------------------media querias--------------------------*/
@media (max-width: 820px){
    .projects{
        padding: 7vh 5% 4vh 5%;   
    }
    .about .about-container .text{
        opacity: 0;
        width: 50%;
        display: flex;
        padding: 5vh 2vw 5.5vh 4vw;
    }
    .about .about-container .text h1{
        margin-bottom: 1vh;
    }
    .projects > div:last-child > div{
        width: 48%;
        margin-top: 0vh;
        justify-content: space-between;
    }
    .projects > div:last-child > div p{
        font-size: 14px;
    }
    .projects > div:last-child > div a{
        gap: 5px;
        width: 80%;
        margin: 0vh 10% 6vh 10%;
        display: flex;
        padding: 2vh 0;
    }
    .contact{
        padding-top: 12vh;
    }
    .contact .text{
        margin: 12vh 10vw 0vh 10vw;
    }
    .contact .click{
        display: none;
    }
    .contact .reach{
        margin-top: 4vh;
    }
    .contact footer{
        margin-top: 12vh;
    }
    .technologies{
        padding: 8vh 5vw 10vh 5vw;
    }
    .technologies > div:last-child div span{
        margin-bottom: 5vh;
    }
}

@media (max-width: 780px){
    .container .introduction header{
        margin-bottom: 8vh;
    }
    .projects{
        padding: 10vh 5% 5vh 5%;   
    }
    .about .about-container .text{
        width: 86%;
        margin: 8vw 7%; 
        padding: 6vh 6vw 7vh 6vw;
        transform: translateX(-80vw);
        backdrop-filter: blur(10px);
    }
    .about .about-container .img{
        display: none;
    }
    .about .about-container .text p{
        font-size: 14px;
    }
    .about .about-container .text h1{
        font-size: 31px;
    }
    .circle{
        width: 46vw;
        height: 46vw;
    }
    .circle1{
        margin-left: 3vw;
    }
    .circles{
        display: flex;
        margin-left: 49vw;
        flex-direction: column;
    }
    .circle2{
        width: 38vw;
        height: 38vw;
        margin-left: 10vw;
    }
    .circle3{
        width: 25vw;
        height: 25vw;
        margin-top: 0vh;
    }

    .about .about-container .text .reflection{
        width: 18vw;
        transition: all 1.5s ease-in-out;
    }
}

@media (max-width: 480px){
    .container .introduction header{
        margin-bottom: 0vh;
    }
    /*---------------------about-----------------------*/
    .about{
        margin-top: 5vh;
       
    }
    .about .about-container .text{
        margin: 2vh 4% 2vh 4%;
        border-radius: 14px;
        padding: 25px 5vw 30px 5vw;
        padding: 4.5vh 5vw 5vh 5vw;
        width: 92%;
        transition: all 1.2s ease;
        box-shadow: 0 10px 20px 5px rgba(10, 8, 36, 0);
        background: radial-gradient(circle at 0% 100%, rgb(18, 17, 68) 30%,rgb(18, 28, 82) 60%, rgb(46, 59, 135) 100%);
        background: #162066;
    }
    .about .about-container .text p{
        font-size: 14px;  
        color: var(--p);
        font-weight: 300;
        margin: 2vh 0 0vh 0;
    }
    .about .about-container .text h1{
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 0vh;
        text-align: center;
    }
    .about .about-container .text a{
        gap: 5px;
        display: flex;
        width: 90%;
        color: var(--a);
        font-size: 14px;
        font-weight: 500;
        padding: 2vh 3vw;
        border-radius: 10px;
        border-radius: 15px;
        margin: 4vh 5% 0 5%;
        align-items: center;
        justify-content: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        background: #0e0c49; 
        background: #4e54c8; 
    }
    .about .about-container .text a ion-icon{
        color: var(--p);
        color: var(--a);
        font-size: 14px;
        font-weight: 400;
    }

    /*-------------------projects----------------------*/
    .projects{
        margin-top: 12vh;
        padding: 12vh 5vw 10vh 5vw; 
        background: #4e54c8;
    }
    .projects > h1, .technologies h1, .contact > h1{
        font-size: 24px;  
        line-height: 20px;

    }
    .technologies h1 > span{
        width: 100%;
        height: 2px;
        background: #3B4264;
        border-radius: 1px;
    }
    .projects .div, .technologies .div, .contact .div{
        width: 32px;
        width: 40px;
        height: 3px;
        border-radius: 2px;
        margin: 1.5vh 0 4vh 0;  
    }
    .projects > div:last-child{
        gap: 7vh;
        width: 100%;
        padding-top: 2vh;
        flex-direction: column;
    }
    .projects > div:last-child > div:last-child{
        margin-bottom: 0vh;
        padding-bottom: 0;
        border: none;
    }
    .projects > div:last-child > div{
        width: 100%;
        display: flex;
        margin-top: 0vh;
        flex-direction: column;
        opacity: 0;
        transform: translate(-10vh, 0vh);
        transition: all 1s;
        padding-bottom: 7vh;
        border-bottom: 1px solid var(--p);
    }
    .projects > div:last-child > div.visible{
        opacity: 1;
        transform: translate(0, 0);
    }
    .projects > div:last-child > div div{
        width: 100%;
        height: 190px;
        border-radius: 15px;
    }
    .projects > div:last-child > div h1{
        margin: 2.5vh 0 0vh 5%;
    }
    .projects > div:last-child > div p{
        font-size: 14px;
        margin: 1vh 0 2vh 5%;
    }
    .projects > div:last-child > div a{
        width: 80%;
        padding: 2vh 0;
        margin: 0 10% 0vh 10%;
        border: 1px solid var(--border);
    }

    .projects > h1, .projects .div{
        opacity: 0;
        transform: translate(-10vh, 0vh);
        transition: all 1s;
    }
    .projects > h1.visible, .projects .div.visible{
        opacity: 1;
        transform: translate(0, 0);
    }
    /*-----------------------technologies----------------------*/
    .technologies{
        margin: 0vh 0 0vh 0;
        background: none;
        padding: 12vh 5vw 12vh 5vw;
        opacity: 0;
        transform: translate(-10vh, 0vh);
        transition: all 1s;
       
    }
    .technologies.visible{
        opacity: 1;
        transform: translate(0, 0);
    }
    .technologies > div:last-child{
        gap: 10vw;
        width: 88%;
        margin: 0 6%;
        margin-top: 6vh;
    }
    .technologies > div:last-child div{
        gap: 1.4vh;
    }
    .technologies > div:last-child div img{
        width: 90px;
        max-width: 90px;
        max-height: 90px;
    }
    .technologies > div:last-child div span{
        font-size: 16px;
        font-weight: normal;
        margin-bottom: 4vh;
        color: var(--a);
    }
    .technologies > div:last-child::-webkit-scrollbar-track {
        margin: 0 2vw;
    }   

    /*-------------contact--------------*/
    .contact{
        padding-top: 12vh;  
        background: var(--border);
        background: var(--violet);
        opacity: 0;
        transform: translate(-10vh, 0vh);
        transition: all 1s;
        padding-bottom: 0;
    }
    .contact.visible{
        opacity: 1;
        transform: translate(0, 0);
    }
    .contact .text{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items:flex-start;
        margin: 6vh 0 0 0;
    }
    .contact .text > div{
        margin-top: 4vh;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .contact .text > div h1{
        font-size: 19px;
        line-height: 25px;
        color: var(--border);
        font-weight: normal;
        margin-bottom: 0.5vh;
    }
    .contact .text > div > a{
        width: 100%;
        font-size: 19px;
        font-weight: 500;
        text-align: center;
    } 
    .contact .reach{
        gap: 5vw;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        padding: 0 5vw;
        margin-top: 0;
    }
    .contact .reach a {
        padding: 0em 0em;
        border-radius: 0em;
        border: 2px solid transparent;
    }
    .contact .reach a ion-icon{
        font-size: 20px;
        color: var(--title);      
    }
    .contact .reach a span{
        display: none;
    }
    /*-------------footer--------------*/
    .contact .footer{
        margin-top: 14vh;
    }

    .contact .footer h1{
        width: 100%;
        font-size: 10px;
        background: none;
        border-top: 1px solid var(--p);
        border-radius: 0px;
        padding: 0;
        height: 8vh;
    }
    
    .contact .footer h1 .copyright{
        font-size: 12px;
        margin: 0 2px 0 2px;
    }

    .contact .click{
        display: flex;
        width: 50px;
        height: 50px;
        font-size: 18px;
        margin-bottom: 2vh;
        margin-top: 2vh;
        border: none;
    }
    .contact .click span{
        font-size: 14px;
    }
    @keyframes slide{
        100%{
            transform: translate(0vh, 2vh);
        }
    }
}

@media (max-width: 370px){
    .projects > h1, .technologies h1, .contact > h1{
        font-size: 20px;  
        line-height: 20px;
    }
    .projects .div, .technologies .div, .contact .div{
        width: 32px;
        height: 3px;
        border-radius: 2px;
        margin: 1.5vh 0 4vh 0;
    }

    /*---------------Contact-----------------*/
    .contact > a, .about .about-container .text a{
        width: 90%;
        font-size: 14px;
        font-weight: 500;
        
    }
    .about .about-container .text a ion-icon{
        font-size: 14px;
        font-weight: 400;
    }

}


