@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
  box-sizing: border-box;
}

:root {
    --primary-color: #9379D4;
    --secondary-color: #eee6f4;
    --text-color: #673ba0;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--secondary-color);
    font-family: Roboto;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

::-webkit-scrollbar {
  display: none
}

header nav{
    display: flex;
    padding: 5px 5px 5px 70px;
    background-color: var(--primary-color);

}

header ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding-left: 100px;
    align-self: center;
    z-index: 2;
}

header ul li{
    font-size: 20px;
    font-family: "Roboto";
    color: white;
    margin: -5px;
}

header ul li a{
    transition: border-bottom 0.2s, color 0.2s, padding 0.2s, opacity 0.2s;

}

header ul li a, a:visited{
    color: white;
    text-decoration-line: none;
    border-bottom: 2px solid transparent;
    margin: -5px;
    padding: 5px;
}

header ul li a {transition-timing-function: ease-in-out;}

header ul li a:hover{
    padding: 5px;
    border-bottom: 2px solid var(--secondary-color);
}

header svg{

    position: absolute;
    z-index: 1;
    border-right-color: transparent;
}

section svg{
    position: absolute;
    z-index: -2;
    color: white;
}


section{

    padding: 40px
}

.header_body{
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
}

.header_body svg{
    color: var(--primary-color);
    fill: var(--primary-color);
    padding: 0;
    left: 0;
}

h1{
    font-family: sans-serif;
    font-size: 60px;
    display: inline;
    color: white;
    animation-name: header;
    animation-duration: 1s;
}

@keyframes header {
    from {color: transparent;}
    to {color: white;}
}

.h1 {animation-timing-function: ease;}

.mascot{
    display: inline;
    max-width: 200px;
    
    animation-name: mascot;
    animation-duration: 1s;
}

@keyframes mascot {
    0% {opacity: 0%; padding-top: 80px; rotate: -60deg;}
    50% {opacity: 100%; padding-top: 0px; rotate: 5deg;}
    100% {opacity: 100%; padding-top: 0px; rotate: 0deg;}
}  

.mascot {animation-timing-function: ease;}

.header_line{
    border: 3px solid var(--primary-color);
    border-radius: 5px;
    animation-name: moving_line;
    animation-duration: 0.5s;
}


@keyframes moving_line {
    from {width: 0%; border-color: transparent;}
    to {width: 100%;}
}

.header_line {animation-timing-function: ease;}

.header_line{
    border: 6px solid var(--primary-color);
    border-radius: 5px;
    animation-name: moving_line;
    animation-duration: 1s;
}

@keyframes moving_line {
    from {width: 0%; border-color: transparent;}
    to {width: 100%;}
}

#project_gallery{
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 40px;
    padding-top: 0px;
    justify-content: center;
    animation-name: Gallery_transparent;
    animation-duration: 1s;
}

#project_gallery a {
    text-decoration-line: none;
    transition-timing-function: ease-in-out;
    border-radius: 10px;
    transition: background-color 0.2s, color 0.2s, margin 0.2s, padding 0.2s;
}


#project_gallery a:hover{
    background-color: var(--primary-color);
    color: white;
    margin: -20px;
    padding: 15px;
    cursor: crosshair;
}

#project_gallery a:hover p {
    color: white;
}

#project_gallery a p{
    text-decoration-line: none;
    color: var(--text-color);
    font-size: large;
}

#gallery_responsive{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 0;
    pointer-events: none;
}

#gallery_responsive a:hover{
    cursor: crosshair;
}

.gal_column{
    flex: 25%;
    max-width: 25%;
    padding: 0 10px;
}

.gal_column img {
    margin-top: 20px;
    vertical-align: middle;
    width: 100%;
}

@keyframes Gallery_transparent {
    from {opacity: 0%; padding-top: 80px;}
    to {opacity: 100%; padding-top: 0px;}
}  

@media (max-width: 1200px) {

    #project_gallery{
        grid-template-columns: auto;
    }


    nav{
        display: block !important;
    }

    header nav{
        padding: 0;
    }

    header nav a img{
        display: block;
        width: 200px !important;
        margin: auto;
    }

    nav ul{
        display: block;
        padding: 0;
    }

    nav ul li{
        font-size: 30px;
        padding-bottom: 30px;
        text-align: center;

    }

    .header_body svg {
        color: var(--primary-color);
        padding: 0;
        left: 0;
        max-width: 75%;
    }

    .header_body{
        gap: 60px;
        align-items: none;
        justify-content: none;
    }

    .gal_column {
        -ms-flex: 100%;
        flex: 50%;
        max-width: 100%;

    }

    .project_title{
        text-align: center;
    }

    .proj_section{
        padding: 70px !important;
    }
    
    .proj_txt{
        width: 100% !important;
        max-width: 100% !important;
    }
    
    #about{
        padding: 0 5px 0 5px !important;
    }

    .proj_layer_justimg{

        justify-content: center !important;
    }

    #tos{
        padding: 0 80px 100px 80px !important;
        width: 100% !important;
    }

}

@media (min-width: 1200px) {

    h1{
        padding-left: 200px;
    }
    
}

#project_gallery a img{
  max-width: 300px;
  height: auto;
}

.social_media{
    padding: 20px;
}

footer .social_media ul{
    list-style: none;
    display: flex;
    max-width: 50%;
    padding: 10px;
    justify-content: space-evenly;
    margin: auto;
}


footer .social_media ul a img{
    transition: border-bottom 0.2s, background-color 0.2s;
    color: var(--primary-color);
    border-radius: 3px;
    border-bottom: 5px solid transparent;
}

footer .social_media ul a img:hover{
    border-bottom: 5px solid var(--primary-color);

}



.footer_line{
    border: 6px solid var(--primary-color);
    border-radius: 5px;
    width: 60%;
    animation-name: moving_line_f;
    animation-duration: 0.2s;
}

.footer_line {animation-timing-function: ease;}

@keyframes moving_line_f {
    from {width: 0%; border-color: transparent;}
    to {width: 60%;}
}

footer p{
    font-size: 20px;
    color: var(--primary-color);
    text-align: center;
}

.footer_txt{
    padding: 20px;
    text-align: center;
    color: var(--text-color);
    margin: auto;
    font-size: 10px;
}

/* Contact */

#contact{
    display: flex;
    color: white;
    gap: 100px;
    justify-content: center;
    flex-wrap: wrap;
    background-color: var(--primary-color);
}

form{
    padding: 60px 80px 60px 80px;
    width: 600px;
    font-family: "Roboto";
    background-color: var(--secondary-color);
    border-radius: 10px;
}

.contact_left{
    font-size: 30px;
    font-weight: bold;
}

form label{
    font-family: "Roboto";
    width: 100%;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: bold;
}



form input{
    font-family: "Roboto";
    width: 100%;
    padding: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 15px;
    border: none;
    color: var(--text-color);
    border-radius: 10px;
    background-color: white;

    border: 3px solid var(--primary-color);
    outline: none;
}

textarea{
    width: 100%;
    resize: none;
    font-size: 15px;
    padding: 20px;
    color: var(--text-color);
    border: none;
    border-radius: 10px;
    margin-top: 20px;
    background-color: white;

    border: 3px solid var(--primary-color);
    outline: none;
}



button[type=submit]{
    background-color: #a382eb;
    color: white;
    margin-top: 50px;
    font-size: 20px;
    transition-timing-function: ease-in-out;
    transition: background-color 0.2s;
    border: none;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    
}

button[type=submit]:hover{
    background-color: #c5b6e6;
}

button[type=submit]:active{
    background-color: #9b85cb;

}



/* About Me */
 
#about{
    padding: 0 200px 100px 200px;
    margin-bottom: 60px;
}

#about p{
    padding: 40px;
    color: var(--text-color);
    font-size: large;
    line-height: 30px;
    font-weight: 450;
}

/* terms of service */

#tos{
    padding: 0 150px 100px 150px;
    color: var(--text-color);
    width: 75%;
}

#tos p{
    line-height: 30px;
    font-weight: 450;
    padding-bottom: 20px;
}

/* Project Details */


.project_title{
    font-size: 60px;
    font-weight: bold;
}

.project_title, .project_description{
    padding: 0;
    color: var(--text-color);
    animation-name: header_project;
    animation-duration: 1s;
}

@keyframes header_project {
    from {opacity: 0%; }
    to {opacity: 100%; }
}  

.proj_section{
    padding: 0px 150px 100px 150px;
}

.proj_txt{
    max-width: 50%;
    color: var(--text-color);
    word-spacing: 2px;
    line-height: 20px;

}

.proj_layer{
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-between;
}

.proj_img{
    max-width: 500px;
    height: auto;
    justify-self: center;
}

.proj_img img{
    max-width: 100%;
    height: auto;
}

.proj_img p{
    color: var(--text-color);
}

.proj_layer_justimg{
    padding-top: 80px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.proj_layer_justimg img{
    max-width: 300px;
}

.proj_two_img_layer{
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    padding-top: 50px;
}

