@import url('https://fonts.googleapis.com/css2?family=Spartan:wght@600&display=swap');
html,body
{
    width: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden; 
}

html{
    scroll-behavior:smooth;
}
.header {
    height: 50px;
    position: fixed;
    width: 100%;
    z-index: 3;
    background-color: #313131;
    left: 0;
    top: 0;
}
.main-navigation{
    display: flex;
    position: fixed;
    top:0;
    
}

.logo{
    width:20%;
    display:flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
}
.logo img{
    width:20%;
    border: 2px solid white;
    border-radius: 50px;
}
.navlist{
    background-color: #313131;
    margin:0;
    padding:0;
    display: flex;
    align-items: center;
}

.navlist li{
    list-style: none;
    padding: 25px 25px;
    cursor: pointer;
}

.navlist li a{
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-family: 'Spartan', sans-serif;
    font-weight: 600;
}

.navlist li a:hover{
    color: blue;
}

.background{
    background: url('../img/bg2.jpg');
    background-size: cover;
    background-blend-mode: darken;
}

.firstsection{
    height: 100vh;
}
.box-main{
    display: flex;
    justify-content: center;
    align-content: center;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    max-width:100%;
    margin:auto;
    height:50%;

}
.fhalf{
    max-width: 50%;
    display: flex;
    padding-top: 415px;
    align-content: center;
    justify-content: center;
    flex-direction: column;
}

.sechalf{
    width:30%;
    padding: 30px;
}

.sechalf img{
    width:85%;
    padding: 180px 71px;
    border-radius: 50%;
}

.big1 {
    display: inline-block;
  	overflow: hidden;
 	animation: typing 3.6s steps(26, end);
    white-space: nowrap;
    font-size: 50px;
    font-weight: 700;
}

.small1 {
    display: inline-block;
  	overflow: hidden;
 	animation: typing 3.52s steps(73, end);
    white-space: nowrap;
    font-size: 20px;
    font-weight: 400;
}

@keyframes typing {
    from { 
        width: 0% 
    }
    to { 
        width: 100% 
    }
}

/*
.btn{
    margin: 5px;
    padding:5px 12px;
    vertical-align: middle;
    background: none;
    cursor: pointer;
    border: 2px solid white;
    border-radius: 25px;
}
.btn a{
    text-decoration: none;
    color: white;
    font-size: 15px;
}
*/
.title1{
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 800;
    font-size: 50px;
    margin-top: 10px;
    margin-bottom: 0;
}

.workdesc{
    display: flex;
    flex-direction: column;
}
.container1{
    display:flex;
    padding-top: 0px;
    align-items: center;
    justify-content: space-evenly;
    max-width: 70%;
    margin: auto;
    /*margin-top: 4px;
    margin-left: 100px;
    margin-right: 100px;*/
}
.container1 img{
    width:15%;
    padding: 8px;
}

.text-big1{
    font-weight: 800;
    font-size: 30px;
    color: #0c0c0c;
    padding-bottom: 3px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.time1{
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    color: #313131;
}

.desc1{
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
}

.container2{
    display:flex;
    padding-top: 25px;;
    align-items: center;
    justify-content: space-evenly;
    max-width: 70%;
    margin: auto;
}
.container2 img{
    width:15%;
    padding: 8px;
}

.text-big2{
    font-weight: 800;
    font-size: 30px;
    color: #0c0c0c;
    padding-bottom: 3px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.time2{
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    color: #313131;
}

.desc2{
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
}
.btn1, .btn2{
    margin: 5px;
    padding:5px 12px;
    vertical-align: middle;
    background: none;
    cursor: pointer;
    border: 2px solid black;
    border-radius: 25px;
    transition: background-color 0.2s ease-in-out;
    white-space: nowrap;
}

.btn1 a,.btn2 a{
    text-decoration: none;
    color: black;
    font-size: 15px;
}

.btn1 a:hover, .btn2 a:hover{
    color: #313131;
}
.title2{
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 800;
    font-size: 50px;
}

.projectsdesc{
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    padding-top: 20px;
    align-items: center;
    justify-content: space-evenly;
    max-width: 70%;
    font-weight: 500;
    margin: auto;
}

.projectsdesc a{
    color:black;
}

.projectsdesc a:hover{
    color: blue;
    cursor: pointer;
}

.title3{
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 800;
    font-size: 50px;
}

.linksdesc{
    display: flex;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 22px;
    padding-top: 4px;
    padding-bottom: 20px;
    align-items: center;
    justify-content: space-evenly;
    max-width: 70%;
    font-weight: 500;
    margin: auto;
}
.list{
    list-style-type: none
}
.linksdesc a{
    cursor: pointer;
    color: black;
}
.linksdesc a:hover{
    color: blue;
}
.footer {
    padding-top: 0.8rem;
    padding-bottom: 2.0em;
    background-color: #414141;
    color: #fff;
}
.text {
    text-align: center;
    font-family:  'Spartan', sans-serif;
    font-size: 15px;
}

.last-container {
    width: 100%;
    padding-right: 1.5rem;
}
.row {
    display: flex;
    margin-right: -1.5rem;
    margin-left: -1.5rem;
}

.left-end{
    padding-left: 300px;
}
h4 {
    margin-block-start: 1.33em;
    margin-block-end: 1.33em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: 600;
}
.right-end{
    padding-left: 60px;
}

.contacts{
    padding-left: 5px;
}

.contacts img{
    width:6%;
}

.menus{
    display:none;
    position: absolute;
    cursor: pointer;
    right: 15px;
    top:30px;
}
.line{
    width:33px;
    background-color: black;
    height:4px;
    margin:5px 5px;
}

/*
@media only screen and (max-width: 1205px){
    .big1{
        font-size: 2rem;
    }
    .small1{
        font-size: 0.8rem;
    }
    .sechalf img{
        margin-top:50px;
    }
    .contacts img{
        width:8%;
    }
}
*/

@media only screen and (max-width: 1225px)
{
    .logo img{
        width:80%;
        margin-bottom: 13px;
    }
    .navlist{
        flex-direction: column;
        transition: all 0.2s ease-out;
    }
    
    .box-main{
        flex-direction:column-reverse; 
        align-items: center;
        justify-content: center;
        padding-top:34%;
    }
    .fhalf{
        padding-top:0;
        max-width: 100%;
    }
    .big1{
        font-size: 1.8rem;
    }
    .small1{
        font-size: 0.63rem;
    }
    .sechalf{
        padding:0;
    }
    .sechalf img{
        width:95%;
        padding: 0;
    }
    .container1,.container2{
        flex-direction: column;
    }
    .container1 img, .container2 img
    {
        width: 50%;
    }
    .menus{
        display:block;
    }
    .row{
        flex-direction: column;
    }
    .left-end,.right-end{
        padding-left: 0;
    }
    .h-nav-resp{
        height:100px;     
    }
    .v-class-resp{
        overflow: hidden;
    }
}