*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    overflow-x:hidden;
}
:root{
    --Dark-Blue: hsl(233, 26%, 24%);
    --Lime-Green: hsl(136, 65%, 51%);
    --Bright-Cyan: hsl(192, 70%, 51%);

    
     --Grayish-Blue: hsl(233, 8%, 62%);
    --Light-Grayish-Blue: hsl(220, 16%, 96%);
     --VeryLight-Gray: hsl(0, 0%, 98%);
     --White: hsl(0, 0%, 100%);
}
nav{
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 11px;
}
nav .icon{
    transform: translateX(30px);
}
nav ul{
    display: flex;
    width: 30%;
    cursor: pointer;
    height: inherit;
    list-style: none;
    color: var(--Grayish-Blue);
}
nav ul .mobile{
    display: flex;
    height: inherit;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

nav ul li:hover{
   height: inherit;
   padding-top: 15px;
color: var(--Dark-Blue);
border-bottom: 2px solid var(--Lime-Green) ;
}
.btnInvite{
   height: 30px;
    width: 120px;
    border: none;
    padding: 5px;
    border-radius: 20px;
    font-size: 11px;
    background: linear-gradient(100deg,var(--Lime-Green) ,var(--Bright-Cyan));
color: white;
cursor: pointer;

}


.btnInvite:hover{
    filter: brightness(115%);
}
.sOne{
    width: 100%;
    height: 450px;
    display: flex;
    background-color: var(--VeryLight-Gray);

}
.sOne .leftSide{
    width: 40%;
    height: inherit;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    margin-left:160px ;
    
}
.sOne .leftSide h1{
    width: 80%;
    font-size: 40px;
    font-weight: 100;
    color: var(--Dark-Blue);
    margin-bottom: 10px;
}
.sOne .leftSide .s1text{
    width: 80%;
    margin-bottom: 20px;
    color: var(--Grayish-Blue);
}
.sOne .rightSide{
    width: 60%;
    height: inherit;
    overflow-x: hidden;
    background-image:  url(images/bg-intro-desktop.svg);
    background-repeat: no-repeat;
    background-size:900px;
    background-position:-30px -190px ;
    overflow-y: visible;
    

}
.sOne .rightSide .img1 {
    width: 60%;
 
    position: absolute;
    top: 40px;
    right: 0;
    height: 500px;
}
.sOne .rightSide .img1 img{

    width: 80%;
    height: 100%;
    float: right;
   object-position: 70px -210px;
    object-fit:cover;
     z-index: 3;

    
}
.img2{
    display: none;
    position: absolute;
    top: 40px;
    right: -170px;
    height: 500px;
    width: 50%;
    text-align: right;
    background-image: url(images/image-mockups.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 70%; 
 
}
.sTwo{
    width: 100%;
    height: auto;
    background-color: var(--Light-Grayish-Blue);
    padding-left:160px;
    
}

.sTwo h1{
    color: var(--Dark-Blue);
    font-weight: 100;
  padding-top:70px ;
}
.sTwo .s2text{
    width: 47%;
    color: var(--Grayish-Blue);
    margin:20px 0;
}
.sTwo .control{
    display: flex;
    width: 82%;
    justify-content: space-evenly;
    align-items: start;
    height: auto;
    padding-bottom: 70px;
}
.sTwo .control .insideControl{
    margin-right:20px;
    
}

.sTwo .control h3{
margin: 15px 0 20px 0;
font-weight: 100;
color: var(--Dark-Blue);
}
.sTwo .control .text{
    color: var(--Grayish-Blue);
    font-weight: 100;
    font-size: 15px;
}
.sThree{
    width:100%;
    height: 500px;
    background-color: var(--VeryLight-Gray);   
    padding-left: 160px;
}
.sThree h1{
    font-weight: 100;
    color: var(--Dark-Blue);

    padding-top:60px;
}
.sThree .articles{
    width:82%;
    display: flex;
    margin-top: 25px;
    justify-content: space-between;
    cursor: pointer;
    
}

.sThree .articles .artContent{
    width:23%;
   background-color: white;
   overflow: hidden;
    border-radius:5px;
    box-shadow: 0px 0px 1px black ;
    max-height: 350px;
    overflow-y: auto;
}

.sThree .articles .artContent:hover{
    transition: linear 0.5s;
    scale: 1.1;
    box-shadow: 0px 0px 5px black ;
   }


.sThree .articles .artContent .artImg{
    width: 100%;
    height: 170px;
}
.sThree .articles .artContent .artImg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sThree .articles .artContent .info{
    padding:20px 0 15px 20px;
}
.sThree .articles .artContent .info .author{
font-size: 11px;
color: var(--Grayish-Blue);
cursor: pointer;

}
.sThree .articles .artContent .info .title{
font-weight: 300;
color:var(--Dark-Blue);
font-size: 15px;
width: 80%;
margin: 10px 0;
cursor: pointer;
}
.sThree .articles .artContent .info .title:hover{
    color: var(--Lime-Green)
}
.sThree .articles .artContent .info .artText{
color: var(--Grayish-Blue);
font-size: 13px;
cursor: pointer;
}
.sFour{
    width: 100%;
    height: 200px;
    background-color: var(--Dark-Blue);
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.sFour .leftSide{
    height: inherit;

    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 60px;
}
.sFour .leftSide img{
    filter: brightness(500%);
   
}
.sFour .leftSide .media{
    display: flex;
    justify-content: space-between;
    width: 150px; 
    cursor: pointer;
}
.sFour .leftSide .media img:hover{
filter:invert(100%);
}
.sFour .middle{
    display: flex;
    height: 100px;
    width: 400px;
    justify-content: space-around;
    flex-wrap: wrap;
  
}
.sFour .middle .insideMD{
    width: 50%;
    color:var(--Light-Grayish-Blue);
    font-weight: 100;
    cursor: pointer;
    
}
.sFour .middle .insideMD:hover{
    color: var(--Lime-Green);
}
.sFour .rightSide{
    height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
   row-gap: 30px;
   align-items: end;
}
.sFour .rightSide .copyRights{
    color:var(--Grayish-Blue);
}

@media all and (max-width:717px) {
    nav{
        width: 100%;
        height: 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 11px;
    
    }
    nav .icon{
        margin-left: 15px;
    }

    nav ul{
        display: none;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 40px;
        left: 0;
        z-index: 3;
        transition: linear .5s;
        opacity: 0;
        background: linear-gradient(to bottom,hsla(233, 26%, 24%, 0.930),rgba(255, 255, 255, 0.305));
    }
    nav ul .mobile{
        width: 80%;
        margin: 20px auto;
        height: auto;
        text-align: center;
        background-color: white;
        color: black;
        border-radius: 5px;
     

        display: block;
        
    } 
    nav ul .mobile li{
        font-size: 20px;
        text-transform: capitalize;
        padding: 6px;
        color: var(--Dark-Blue);
    }
    nav ul .mobile li:first-child{
        padding-top: 30px;
    }
    nav ul .mobile li:last-child{
        padding-bottom: 30px;
    }
    nav .menu{
        width: 20px;
        height: 20px;
        background-image: url(images/icon-hamburger.svg);
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 15px;
    }
  
    nav .btnInvite{
      display: none;
    }


    .img2{
       display: block;
        top: 40px;
        right: 0;
        height: 300px;
        width: 100%;
        background-size: 90%;
        background-position: 50% -140px; 
    }
    .sOne{
        width: 100%;
        height: 600px;
        display: flex;
        flex-direction: column-reverse;
        background-color: var(--VeryLight-Gray);
     
        
    }
    .sOne .leftSide{
        width: 100%;
        align-items: center;
        flex-direction: column;
        margin-left:0px ;
        height: 50%;
        
    }
    .sOne .leftSide h1{
        width: 80%;
        text-align: center; 
    }
    .sOne .leftSide .s1text{
        width: 80%;
      text-align: center;
    }
    .sOne .rightSide{
       
        width:100%;
        height: 50%;
    background-image: url(images/bg-intro-mobile.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position:0px -30px ;
}
    .sOne .rightSide .img1 img{
        display: none;   
    }

    .sTwo{
        
        height: auto;
      
        padding-left:0;
        text-align: center;
    }
    
    .sTwo h1{
      padding-top:40px;
      width: 50%;
      margin: 0 auto;
    }
    .sTwo .s2text{
        width: 80%;
       
        margin:20px auto;
        text-align: center;
    }
    .sTwo .control{
        display: flex;
        width: 100%;
        flex-direction: column;
        height: auto;
       
     
    }
    .sTwo .control .insideControl{
        margin-right:0;
        margin-bottom: 30px;
    }
  
    .sTwo .control .text{
       width: 80%;
       margin: 0 auto;
    }



    .sThree{
        width:100%;
        height: auto;
  
        padding-left:0;
    }
    .sThree h1{
      
    margin-top: 0 auto;
    text-align: center;
        padding-top:40px;
    }
    .sThree .articles{
        width:100%;
        display: flex;
         flex-direction: column;
         align-items: center;
       height: auto;
       
    }
    
    .sThree .articles .artContent{
        width:80%;
        height: auto;
        overflow-y: auto;
        margin-bottom: 30px;
    }
    
    .sThree .articles .artContent:last-child{
        margin-bottom: 70px;
    }




    .sFour{
        height: auto;
        flex-direction: column;
    }

    .sFour .leftSide{
       margin-top: 30px;
        row-gap: 20px;
    }
    .sFour .middle{

        flex-direction: column;
        height: auto;
        width: 100%;
        align-items: center;
        flex-wrap: nowrap;
      margin: 30px auto;
    }
    .sFour .middle .insideMD{
        width: fit-content;
      margin-bottom: 15px;
        
    }
 
    .sFour .rightSide{
        height: auto;
       row-gap: 20px;
       align-items: center;
       margin-bottom: 30px;
    }
  
 
    
}

