.home,
.home-content,
.home-content .main-text,
.language,
.home-content .home-socials{
    display:flex;
}

.home,
.home-content,
.home-content .main-text{
    flex-direction: column;
}

.home{
    width:100%;
    min-height:70vh;
    position:relative;
    align-items: center;
    justify-content: flex-start;

}


.nav{
    position: relative;
    height:100px;
    width:var(--width);
}

.language{
    width:170px;
    height:80px;
    align-items: center;
    justify-content: center;
    position:absolute;
    right:0px;
    top:0px;
    z-index: 1;
}

.language img{
    width:30px;
    height:20px;
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
} 

.language span{
    margin:10px;
}

.language input[type="checkbox"]{
    position:relative;
    width:60px;
    height:30px;
    -webkit-appearance: none;
    background: var(--grn);
    outline:none;
    border-radius:20px;
    box-shadow: inset 0 0 5px rgba(0,0,0,.2);
    transition:.5s;
    cursor:pointer;
}

.language input[type="checkbox"]:before{
    content:'';
    position:absolute;
    width:30px;
    height:30px;
    border-radius:20px;
    top:0;
    left:0;
    background: var(--wht);
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
    transition: .5s;

}
.language input:checked[type="checkbox"]:before{
    left:30px;
}
.white-panel{
    border-bottom: 3px solid var(--grn);
    position:relative;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    
}
.home-panel{
    width: 90%;
    height: calc(var(--height) * 0.8);
    background:url(../pics/IMG4.jpg);                
    background-size: cover;
    background-position: center;
    color:var(--bl);
    margin-bottom:50px;
}


 .home-content{
    width:500px;
    height:100%;
    position:relative;
    padding:30px;
}


.home-content .main-text{
    justify-content: center; 
    align-items: flex-start;
    height:calc(100% - 160px);
    padding:20px;
}

.home-content .home-socials{
    width:100%;
    height:80px;
    align-items: center;
    justify-content: center;
}
.home-content .home-socials .icon{
    color:var(--grn);
    font-size: 20pt;
    margin-right:20px;
    cursor:pointer;
}

