@import url('https://fonts.cdnfonts.com/css/akira-expanded');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&display=swap');

@keyframes slideFromTop {
    0% {top: -20%;}
    100% {top: 29%;}
}

@keyframes slideFromTop2 {
    0% {top: -20%;}
    100% {top: 35%;}
}



@keyframes appear {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

@keyframes appear_scroll {
    0% {opacity: 0;}
    60% {opacity: 1;}
}

@keyframes slideFromRight {
    0% {right: -400px;}
    50% {right: 0px;}
}

@keyframes slideFromLeft {
    0% {left: -400px;}
    50% {left: 0px;}
}

@keyframes titleShadow {
    0% {   text-shadow: 2px 2px #00000000}
    50% {   text-shadow: 2px 2px #00000000}
    100% {   text-shadow: 2px 2px #00000046}
}


* {
    margin: 0;
    padding: 0;
    font-family: "Akira expanded", sans-serif;

}

body {
    background-image: url(../res/background2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    box-sizing: border-box;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

#my_logo {
    width: 52px; 
    position: relative;
    left: 50px;
}

#my_logo_big {
    width: 550px;
    float: right;
    z-index: -1;
    animation: appear 1s ease;
}

#menu_container {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px;
    background-color: #ffffff;
}

#menu {
    display: flex;
    list-style-type: none;
    margin-left: auto;
}

#menu a{
    margin: 0px 35px 0px 35px;
    font-size: 14px;
    text-decoration: none;
    color: #252525;
    background: 
    linear-gradient(to right, #252525, #252525),
    linear-gradient(to right, rgba(255, 0, 0, 1), rgba(255, 0, 180, 1), rgba(0, 100, 200, 1));
  background-size: 100% 0.1em, 0 0.1em;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size 400ms;
}
#menu a:hover, #menu a:focus {
  background-size: 0 0.1em, 100% 0.1em;
}



.start {
    width: 100%;
    position:absolute;
    top: 29%;
    display: flex;
    justify-content:center;
    align-items: center;
    animation: slideFromTop 2s ease;
}

.start2 {
    width: 100%;
    position:absolute;
    top: 35%;
    display: flex;
    justify-content:center;
    align-items: center;
    animation: slideFromTop2 2s ease;
}

#more_button {
    position: absolute;
    top: 380px;
    transform: translateX(-370px);
}


.middle {
    width: 100%;
    height: 300px;
    background-color: #FE4A49;
    position: absolute;
    top: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.end {
        width: 100%;
        height: 400px;
        background-color: #ffffff;
        position: absolute;
        top: 130%;
        display: flex;
        align-items: center;
        justify-content: center;

}

.end2 {
    width: 100%;
    height: 700px;
    background-color: #ffffff;
    position: absolute;
    top: 130%;
    display: flex;
    align-items: center;
    justify-content: center;

}

.end h3, .end a, .end img {
    margin: 10px;

}

.end button, #tme button {
    border: 0;
    background-color: unset;
    font-weight: 600;
}




#quote {
    color: #ffffff;
    width: 1000px;
    text-align: center;
    animation: appear_scroll 1s ease;
    animation-timeline: view();
}

#title {
    width: 600px;
    color: #FE4A49;
    font-size: 50px;
    z-index: -1;
    text-shadow: 2px 2px #00000046;
    animation: titleShadow 2s linear;


}

#title2 {
    width: 800px;
    font-size: 50px;
    z-index: -1;
    color: #FE4A49;
    text-shadow: 2px 2px #00000046;
    animation: titleShadow 2s linear;

}

#title3 {
    width: 850px;
    color: #FE4A49;
    font-size: 50px;
    z-index: -1;
    text-shadow: 2px 2px #00000046;
    animation: titleShadow 2s  linear;
}

#title4 {
    width: 520px;
    color: #FE4A49;
    font-size: 50px;
    z-index: -1;
    text-shadow: 2px 2px #00000046;
    animation: titleShadow 2s  linear;

}



#aboutme {
    width: 800px;
    color: #252525;
    font-size: 30px;
    text-align: center;
    position: absolute;
    top: 150%;
    z-index: -1;
}

#contactme { 
        width: 800px;
        color: #252525;
        font-size: 30px;
        text-align: center;
        position: absolute;
        top: 150%;
        z-index: -1;
}


#contactme button {
    background-color: unset;
    border: 0;

}


#contactme button img {
    margin: 5px;

}


.socials_text {
    position: relative;
    animation: slideFromLeft 1s ease;
    animation-timeline: view();
}

.socials {
    position: relative;
    animation: slideFromRight 1s ease;
    animation-timeline: view();
}

footer  {
    font-family: "DM Serif Text", serif;
    font-size: 18px;
    background-color:#FE4A49;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100px;
    position: absolute;
    bottom: -90%;
    padding: 50px;
    color: #ffffff;
}

#footer2  {
    font-family: "DM Serif Text", serif;
    font-size: 18px;
    background-color:#FE4A49;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100px;
    position: absolute;
    bottom: -120%;
    padding: 50px;
    color: #ffffff;
}

.end textarea {
    resize: none;
    font-family: "DM Serif Text", serif;
}

.end #message {
    position: relative;
    top: -20px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 5px;
}

.end #send {
    position: absolute;
    top: 300px;
    left: 46%;
    width: 150px;
    color: #ffffff;
    background-color: #FE4A49;
    transition: transform 0.3s ease-out;
}


.end #send:hover {
    transform: scale(1.10);
}

.middle .logos img {
    width: 80px;
    margin: 10px;
    transition: transform 0.3s ease-out;
    transform-origin: center center;
}

.middle .logos img[alt="java script"] {
    width: 70px;
    transform: translateY(5px);
}

.middle .logos img[alt="bootstrap"] {
    transform: translateY(5px);
}

.middle .logos img:hover {
    transform: scale(1.25);
}

.middle .logos {

    display: flex;
    justify-content: center;
    align-items: center;
}

.middle #learnmore {
    position: absolute;
    top: 20px;
    color: #ffffff;

}

.projects img {
    width: 520px;
    height: 270px;
}

.languages img {
    float: left;
    width: 32px;
    height: 29px;
    margin: 5px;

}



.end2 #latest {
    position: absolute;
    top: 70px;
}


.projects {
    display: flex;
    justify-content: center;
    align-items: center;
}

.projects img {
    -moz-border-radius: 0px;
    -webkit-border-radius: 8px 8px 0px 0px;
    border-radius: 8px 8px 0px 0px; 
}


 .project1, .project2 ,.project3 {
    text-align: center;
    border: 1px #252525 solid;
    margin: 15px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 8px 8px 0px 0px;
    border-radius: 8px 8px 0px 0px; 
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.project1:hover, .project2:hover, .project3:hover {
    box-shadow: 0 5px 15px rgba(19, 19, 19, 0.555);
    transform: scale(1.05);
    opacity: 0.95;
}


.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.gallery-image {
    max-width: 80%;
    max-height: 80%;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}




#value {
    position: absolute;
    top: 100px;
    color: #FE4A49;

}



#w-value {
    position: absolute;
    top: 190px;
    font-size: 20px;
    transform: translateX(400%);
    transition: transform 0.4s ease;
}

#w-value.show {
    transform: translateX(0);

}



.try {
    float: right;
    position: relative;
    right: 20px;
    top: 8px;
}

.tryit {
    font-family: "DM Serif Text", serif;
    font-size: 18px;
}

#endvalues {
    overflow-x: hidden;
}

.p-description {
    transform: translateY(10px);
}

.hr-solid {
    margin: 0px;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 8px;
    text-decoration: none;
    border: 1px solid #252525;
    transition: 0.2s ease-out;
}

.back-to-top span {
    color: #252525;
    transition: 0.2s ease-out;
}

.back-to-top:hover {
    background-color: #252525;
}

.back-to-top:hover span {
    color: #ffffff;

}


@media only screen and (max-width: 1670px) { 

    .projects img {
        width: 440px;
        height: 230px;
    }

    .languages img {
        float: left;
        width: 32px;
        height: 29px;
        margin: 5px;
    }

}




@media only screen and (max-width: 1450px) {

    
    .projects {
        width: 600px;
        display:grid;
        position: absolute;
        top: 200px;
    }

    #footer2 {
        bottom: -220%;
    }




}




@media only screen and (max-width: 1200px) {
    #my_logo_big {
        width: 350px;

    }

    #more_button {
        position: absolute;
        top: 280px;
        transform: translateX(-370px);
    }

}




@media only screen and (max-width: 1050px) {

    #title2 {
        font-size: 40px;
        text-align: center;
    }

    #title3 {
        font-size: 40px;
        text-align: center;
    }

    #title4 {
        font-size: 40px;
        text-align: center;
    }

    #aboutme {
        max-width: 700px;
    }

    #contactme {
        max-width: 400px;
    }

    .end #send {
        left: 43%;
    }



    @keyframes slideFromRight {
        0% { right: -200px; }
        50% { right: 0; }
    }
    
    @keyframes slideFromLeft {
        0% { left: -200px; }
        50% { left: 0; }
    }

    #my_logo_big {
        width: 300px;
        position: absolute;
        left: 35%;
        z-index: -10;
    }

    #more_button {
        position: absolute;
        top: 190px;
        transform: translateX(0px);
    }

    #title {
        text-align: center;
    }

    .socials_text {
        position: absolute;
        top: 10px;
        left: 0; 
    }
}



@media only screen and (max-width: 750px) {


    .gallery-image {
        max-width: 120%;
        max-height: 120%;
    }

    @keyframes slideFromRight {
        0% { right: -200px; }
        50% { right: 0; }
    }
    
    @keyframes slideFromLeft {
        0% { left: -200px; }
        50% { left: 32%; }
    }

    #my_logo_big {
        width: 300px;
        position: absolute;
        left: 30%;
        z-index: -10;
    }

    #aboutme {
        max-width: 600px;
    }

    .end #send {
        left: 40%;
    }

    #more_button {
        position: absolute;
        top: 190px;
        transform: translateX(0px);
    }

    #title {
        text-align: center;
    }

    #quote {
        font-size: 25px;
    }

    .socials_text {
        position: absolute;
        top: 50px;
        left: 55%;
    }

    .socials {
        font-size: 12px;
    }

    #menu a{
        margin: 0px 10px 0px 10px;
        font-size: 14px;
        text-decoration: none;
        color: #252525;
        background: 
        linear-gradient(to right, #252525, #252525),
        linear-gradient(to right, rgba(255, 0, 0, 1), rgba(255, 0, 180, 1), rgba(0, 100, 200, 1));
      background-size: 100% 0.1em, 0 0.1em;
      background-position: 100% 100%, 0 100%;
      background-repeat: no-repeat;
      transition: background-size 400ms;
    }
}

@media only screen and (max-width: 650px) {

    body {
        background-position: 0px 40px;
    }

    #aboutme {
        max-width: 500px;
    }

    #my_logo_big {
        width: 300px;
        position: absolute;
        left: 30%;
        z-index: -10;
    }

    .projects img {
        width: 500px;
        height: 250px;
    }

    .languages img {
        float: left;
        width: 32px;
        height: 29px;
        margin: 5px;
    }

    


    .projects {
        max-width: 500px;
        display:grid;
        position: absolute;
        top: 200px;
    }

    #more_button {
        position: absolute;
        top: 190px;
        transform: translateX(0px);
    }

    #title {
        text-align: center;
    }

    #quote {
        font-size: 22px;
    }

    .socials_text {
        position: absolute;
        top: 50px;
        left: 55%;
    }



    .socials {
        font-size: 14px;
        width: 200px;
    }

    #menu a{
        margin: 0px 10px 0px 10px;
        font-size: 14px;
        text-decoration: none;
        color: #252525;
        background: 
        linear-gradient(to right, #252525, #252525),
        linear-gradient(to right, rgba(255, 0, 0, 1), rgba(255, 0, 180, 1), rgba(0, 100, 200, 1));
      background-size: 100% 0.1em, 0 0.1em;
      background-position: 100% 100%, 0 100%;
      background-repeat: no-repeat;
      transition: background-size 400ms;
    }

    #footer2 {
        bottom: -190%;
    }
}

@media only screen and (max-width: 570px) {

    #my_logo_big {
        width: 300px;
        position: absolute;
        left: 25%;
        z-index: -10;
    }

    .gallery-image {
        max-width: 150%;
        max-height: 150%;
    }

    #value {
        position: absolute;
        top: 70px;
        color: #FE4A49;
    
    }
    
    #w-value {
        position: absolute;
        top: 160px;
        left: 145px;
        font-size: 18px;
        max-width: 400px;
    }

    .projects img {
        width: 470px;
        height: 250px;
    }

    .projects {
        max-width: 450px;
        display:grid;
        position: absolute;
        top: 200px;
    }
    
    .languages img {
        float: left;
        width: 32px;
        height: 29px;
        margin: 5px;
    }

    .start2 {
        transform: translateY(-80px);
        z-index: -1;
    }

    #aboutme {
        max-width: 420px;
        top: 120px;
    }

    #more_button {
        position: absolute;
        top: 190px;
        transform: translateX(0px);
    }

    #title {
        width: 500px;
        text-align: center;
        font-size: 43px;
    }

    #quote {
        font-size: 20px;
    }

    .socials_text {
        position: absolute;
        top: 50px;
        left: 55%;
    }

    .end textarea {
        resize: none;
        font-family: "DM Serif Text", serif;
        width: 350px;
    }

    .end #send {
        left: 35%;
    }

    .socials {
        font-size: 14px;
        width: 200px;
    }

    #menu a{
        margin: 0px 10px 0px 10px;
        font-size: 14px;
        text-decoration: none;
        color: #252525;
        background: 
        linear-gradient(to right, #252525, #252525),
        linear-gradient(to right, rgba(255, 0, 0, 1), rgba(255, 0, 180, 1), rgba(0, 100, 200, 1));
      background-size: 100% 0.1em, 0 0.1em;
      background-position: 100% 100%, 0 100%;
      background-repeat: no-repeat;
      transition: background-size 400ms;
    }

    #my_logo {
        left: 0;

    }
}


@media only screen and (max-width: 500px) {


    .gallery-image {
        max-width: 160%;
        max-height: 160%;
    }

    .start2 {
        transform: translateY(-80px);
        z-index: -1;
    }


    #aboutme {
        max-width: 370px;
        top: 105px;
        font-size: 25px;
    }

    .projects {
        max-width: 420px;
        display:grid;
        position: absolute;
        top: 200px;
    }

    #w-value {
        position: absolute;
        top: 160px;
        left: 120px;
        font-size: 18px;
        max-width: 400px;
    }

    .projects img {
        width: 420px;
        height: 210px;
    }

    
    .languages img {
        float: left;
        width: 32px;
        height: 29px;
        margin: 5px;
    }



    #title2 {
        font-size: 35px;
        text-align: center;
    }

    #title3 {
        font-size: 35px;
        text-align: center;
    }

    #title4 {
        font-size: 35px;
        text-align: center;
    }

    @keyframes slideFromLeft {
        0% { left: -200px; }
        50% { left: 25%; }
    }

    body {
        background-position: 0px 60px;
    }

    .end #send {
        left: 32%;
    }


    #my_logo_big {
        width: 300px;
        position: absolute;
        left: 18%;
        z-index: -10;
    }

    .end textarea {
        resize: none;
        font-family: "DM Serif Text", serif;
        width: 300px;
    }
    
    #contactme {
        max-width: 350px;
    }

    #more_button {
        position: absolute;
        top: 190px;
        transform: translateX(0px);
    }

    #title {
        width: 380px;
        text-align: center;
        font-size: 35px;
    }

    #quote {
      
        font-size: 18px;
    }

    .socials_text {
        position: absolute;
        top: 50px;
        left: 50%;
    }



    .socials {
        font-size: 14px;
        width: 200px;
        top: 20px;
    }

    #menu a{
        margin: 0px 5px 0px 5px;
        font-size: 12px;
        text-decoration: none;
        color: #252525;
        background: 
        linear-gradient(to right, #252525, #252525),
        linear-gradient(to right, rgba(255, 0, 0, 1), rgba(255, 0, 180, 1), rgba(0, 100, 200, 1));
      background-size: 100% 0.1em, 0 0.1em;
      background-position: 100% 100%, 0 100%;
      background-repeat: no-repeat;
      transition: background-size 400ms;
    }

    #my_logo {
        width: 52px; 
        position: relative;
        left: 0px;
    }

}




@media only screen and (max-width: 430px) {
    #menu a{
        margin: 0px 2px 0px 2px;
        font-size: 11px;
        text-decoration: none;
        color: #252525;
        background: 
        linear-gradient(to right, #252525, #252525),
        linear-gradient(to right, rgba(255, 0, 0, 1), rgba(255, 0, 180, 1), rgba(0, 100, 200, 1));
      background-size: 100% 0.1em, 0 0.1em;
      background-position: 100% 100%, 0 100%;
      background-repeat: no-repeat;
      transition: background-size 400ms;
    }

    .projects {
        max-width: 390px;
        display:grid;
        position: absolute;
        top: 200px;
    }

    #w-value {
        position: absolute;
        top: 160px;
        left: 85px;
        font-size: 18px;
        max-width: 400px;
    }


    .projects img {
        width: 380px;
        height: 180px;
    }

    

    .languages img {
        float: left;
        width: 32px;
        height: 29px;
        margin: 5px;
    }

 }

 @media only screen and (max-height: 740px) { 
    #footer2 {
        bottom: -210%;

    }

 }


