
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --welcome:2rem;
    --title:4rem;
    --text:1.1rem;

    --welcome-mobile:1.5rem;
    --title-mobile:2.7rem;
    --text-mobile:1.1rem;
}
body{
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: black;
}
.container{
    background-color: black;
    background-image:url('./img/back.jpg');
    width: 100%;
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: 100vh;
    background-attachment: fixed;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(0, 0, 0,0.9);
    padding:5px 20px;
    top: 0;
    width: 100%;
    position:fixed;
    z-index: 999999;
}

.list{
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.navbar  i{
    display: none !important;
}


.list a,.navbar > a{
    background-color: coral;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    font-size: 1.2rem;
    color: black;
    transition: 0.2s ease-in-out;
    box-shadow: 0 2px 2px cornflowerblue;
}
.navbar > a{
    background-color: coral;
    border-radius: 30px;
    padding: 15px;
    font-size: 1.3rem;
    box-shadow: 2px 2px 1px cornflowerblue;
    position: relative;
    right: 5px;
}
.navbar i{
  color: rgb(255, 255, 255) !important;
}
.navbar a:hover{
    background-color: cornflowerblue;
    color: white !important;
}

.left{
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.right{
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.active,.info .more{
    background-color: cornflowerblue !important;
    color: white !important;
}
.info{
    padding-top: 200px;
    padding-bottom: 100px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
.info > div{
    padding:0 30px;
    
}
.info .welcome{
    font-size: var(--welcome);
    margin-bottom: 50px;
}
.info .title{
    font-size: var(--title);
    margin-bottom: 50px;
}


.info .text{
    font-size: var(--text);
    margin-bottom: 20px;
}
.info .more{
    text-decoration: none;
    font-size: var(--text);
    padding: 5px;
    border-radius: 5px;
}
.home{
    height: 100vh !important;
}

/*about*/

.info_about{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding-top:200px;
}
.info_content{
    padding:0 50px;
    width: 80%;
}
.about_title{
    font-size: var(--title);
    margin-bottom: 50px;
}
.about_welcome{
    font-size: var(--welcome);
    margin-bottom: 50px;
}
.about_text{
    font-size: var(--text);
    margin-bottom: 50px;
}
.about_text a{
    color: coral;
    text-decoration: none;
}

/*about*/
/*project*/
.project{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: white;
    background-color: rgba(0, 0, 0,0.6);
    padding-top:200px;
}
.project_content{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.project_info{
    display: flex;
    padding: 20px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width:  500px;
    
}
.project_title{
    font-size: var(--title);
    text-align: center;
    margin-bottom: 20px;
}
.project_list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.project_list_1,.project_list_3{
    background-color: coral;
}

.project_list_2{
    background-color:cornflowerblue;
}
.contact{
    cursor: pointer;
}
.project_overview{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 15px;
    width: 80%;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 20px 30px;
}
.project_image{
    width: 100%;
    object-fit: contain;
}
.project_open{
    color: white;
    background-color: cornflowerblue;
    padding: 10px 15px;
    text-decoration: none;
    margin-top: 5px;
}
.middle{
    background-color: coral !important;
}

/*project*/

/*contact*/

.contact_box{
    display: flex;
    flex-direction: column;
    width: 100%;
    position: fixed;
    z-index: 44444;
    background-color: black;
    top: 0;
    bottom: 0;
    align-items: center;
    text-align: center;
    color: white;
    -ms-overflow-style: none;
    scrollbar-width:none;
    overflow-y: scroll;
    padding-top: 15vh;
}
.contact_box::-webkit-scrollbar { 
    display: none;
}
.contact_form{
    display: flex;
    flex-direction: column;
    background-color: white;
    justify-content: center;
    align-items: center;
    padding:100px 20px 10px;
    width: 100%;
    max-width: 500px;
}
.contact_input{
    padding:10px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 1000px;
    border: 1px solid coral;
}
textarea{
    height: 150px;
    resize: none;
}
.contact_input:focus{
   outline: none;
}
.contact_text{
    margin: 20px 0;
    font-size: var(--text);
}
.contact_text a{
   color: coral;
   text-decoration: none;
}
.contact_btn{
    background-color: black;
    width: 100%;
    max-width: 200px;
    padding: 10px;
    border:1px solid coral;
    color: coral;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
}

.contact_title{
    font-size: var(--title-mobile);
}

.hide_contact{
    display: none;
}

.talk{
    cursor: pointer;
}

/*contact*/

.alert{
    display: none;
    font-size: 1.5rem;
    position: fixed;
    top: 40%;
    width: 100%;
    max-width: 300px;
    padding: 30px 20px;
    z-index: 33;
}
.danger{
    
    background-color: white;
    border:2px solid red;
    color: red;
}
.success{
    background-color: white;
    border:2px solid green;
    color: green;
}
  @media screen and (max-width: 414px) {
    .about_title,.info .title{
        font-size: var(--title-mobile);
        margin-bottom: 25px;
    }
    .about_welcome,.info .welcome{
        font-size: var(--welcome-mobile);
        margin-bottom: 25px;
    }
    .about_text,.info .text{
        font-size: var(--text-mobile);
        margin-bottom: 25px;
    }
  
    .info{
        align-items: center;
    }
    .navbar > a{
        padding: 7px;
    }
  }
  @media screen and (min-width: 800px) {
    .container{
        background-position: bottom right;
        background-size: contain;
    }
    .info{
        align-items: center;
    }
    .info .title{
        font-size: 6rem;
        margin-bottom: 50px;
        font-weight: bold;
    }
    .info .welcome{
        font-size: 3rem;
        margin-bottom: 50px;
    }
}



@media screen and (max-width:768px) {
    .navbar  i{
        display: block !important;
    }
    .container{
        background-position: center;
    }
    .list{
        display: flex;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        width: 100%;
        background-color: white;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        background-color:rgba(0, 0, 0,0.9);
        position: fixed;
        z-index: 300;
    }
    .list a{
        width: 90%;
        margin-bottom: 5px;
        box-shadow: none;
        position: relative;
    }
    .left{
        border-bottom-left-radius: 0;
        border-top-right-radius: 10px;
    }
    .right{
        border-top-right-radius: 0;
        border-bottom-left-radius: 10px;
    }
    .hide{
        display: none !important;
    }

    .info_content{
        padding: 0 20px;
        width: 100%;
        text-align: center;
    }

    
    .project_info{
        padding: 15px;
    }
    .project_title{
        font-size: var(--title-mobile);
    }
    .project_overview{
        padding: 10px;
        width: 100%;
    }
    .project_open{
        padding: 15px 20px;
    }


 

}

@media screen and (min-width:1441px) {
    .info_about,.info{
        align-items: center;
        justify-content: center;
    }
    .info .title,.about_title{
        font-size: 7rem;
        margin-bottom: 50px;
        font-weight: bold;
    }
    .info .welcome,.about_welcome{
        font-size: 3rem;
        margin-bottom: 50px;
    }
    .info .text,.about_text{
        font-size: 1.5rem;
    }
}
