/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;400;700;800;900&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap');

body{
    height:100vh;
    background-image: url(../img/agm_bg.jpg);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Open Sans', sans-serif;
    margin:0;
}
.box{
    height:99vh;
    width:98vw;
    margin:auto;
    padding:0;
    display:flex;
    align-items: flex-end;
    justify-content: space-between;     
}
.box .right, .box .left{
    color:#fff;
    display: flex;
    flex-direction: column;
    letter-spacing: 1px;
    margin-bottom:20px;
}
.box .left .agm { 
    display:flex;
    align-items: center;
    flex-direction: row;
    color:#fff;  
}

.box .left .agm .logo{
    width: 150px;
    padding: 0;
    margin-bottom: 20px;
    margin-right: 10px;
}
.box .left .agm .logo img{
    width:100%;
}

.box .left .agm p{
    margin:0;
    font-size: 30px;
}
.box .left .mail, .box .left .dir{
    margin:2px;
}
.box .left .mail a{
    text-decoration: none;
    color:#fff;
}

.box .left .agm .tit{
    margin-right:10px;
}
.box .left .agm .tit2{
    margin-bottom: 0px;
}

.box .right{
    display: flex;
    flex-direction:column;
    flex-wrap: wrap;  
    min-width: 300px;
    margin: 0 20px 20px;
}
.box .icons{
    margin: 0 0px;
    padding:0 0px;
    transition:0.3s;
}
.box .icons a{
    color:#ccc;  
}
.box .right .portfolio{
    display:flex;
}
.box .right .PRT{
    margin: 50px 0px;
    padding:0 0px;
    display:flex;
    flex-direction: column;
    color:#ccc;
    transition: 0.3s;     
}
.box .right .socialNetwork{
    display:flex;
    justify-content: space-between;  
}
.box .right .SN .titleSN{ 
    color:#ccc;
}
.icons:hover{
    font-size:1.1em;
    transition:0.3s;
}
@media (max-width:1190px){
   .box .left .agm {
       flex-direction: row;
       margin:0;
   }
   .box .left .agm .logo{
       width:130px;
   }
   .box .left .agm p{
       font-size: 30px;
   }
}
@media (max-width:1056px){
    
    .box .left .agm .logo{
        width:120px;
    }
    .box .left .agm p{
        font-size: 25px;
    }
 
 }
@media (max-width:960px){
    .box {
        align-items: center;
    }
    .box .left{
        margin-top:500px;
    }
    .box .right .titlePort, .box .right .titleSN{
        text-align: right;
    }
  
    .box .right .SN .socialNetwork,  .box .right .portfolio{
        flex-direction: column;
        align-items: flex-end;
    }
    .box .right .SN .socialNetwork .yt{
        margin-right:-8px;
    }
    /* new lines to titles*/
    .right span{
        display:block;
    }
    body{

        background-position: 0% 0%;
    }  
}
@media (max-width:750px){
    body{
        background-image: url(../img/agm2.jpg);
        background-size:cover;
        background-position: 0% 0%;
    }
    .box .right .portfolio i {
        font-size: 5em;
    }

}
@media (max-width:650px){
    .box .right{
        min-width: 50px;       
    }  
}
@media (max-width:440px){
    .box {
        flex-direction: column-reverse;
        justify-content: space-around;
        align-items:flex-end;
    }
    .box .left{
        margin-top: -120px;
        width:100%;
        align-content: flex-start;
    }

}
@media (max-width:420px){
    
    .box .left .agm .logo{
        width:100px;
    }
    .box .left .agm p{
        font-size: 20px;
    }
    .box {
        justify-content: space-around;
    }
}



