@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&family=PT+Serif:wght@400;700&family=Poppins:wght@400;600&display=swap');

* {
    box-sizing: border-box;
  }

body{
    background: #FAFAFA;
}

a {
    text-decoration: none;
    color: #70cbd3;
}

.main{
    width: 980px;
    max-width: 70%;
    margin: 100px auto;
    display:flex;
    gap: 5px;
   
}  

.logo {
    width: 120px;
    height: 120px;
}

.item{
    
    flex-basis: 50%;
}

.right-section{
    padding-left: 30px;
    padding-right: 50px;
}
.team-members{
    max-width:70%;
    width: 980px;
    margin:0 auto;
    display:flex;
    flex-wrap: wrap;
    JUSTIFY-CONTENT:SPACE-BETWEEN;
    gap: 50px;
}

.team{
    flex-grow: 1;
}
.member-1{
    margin-bottom:95px;
}
.member-2{
    margin-top: 95px;
}
.member-3{
    margin-bottom:95px;
}
.member-4{
    margin-bottom:95px;
}
.member-5{
    margin-top:95px;
}
.member-6{
    margin-bottom: 95px;
}

.main-title{
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 48px;
    letter-spacing: -0.045em;
    color: #3d60ac;
    margin-top: 12px;
}
.main-title a{
    color: #3d60ac;
}

.secondary-title{
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    text-transform: uppercase;
}

.description{
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 27px;
}

.team img{
    width: 250px;
    max-width: 100%;
    border-radius: 16px;
    border: solid #70cbd3 4px;
    background-color: #3d60ac;
}

.team:nth-child(odd) img {
    border: solid #70cbd3 4px;
    background-color: #3d60ac;
}

.team:nth-child(even) img {
    border: solid #3d60ac 4px;
    background-color: #70cbd3;
}

.name{
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 27px;
}

.role {
    font-family: 'PT Serif', serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 27px;
}

.role-1 {
    line-height: 37px;
    font-style: italic;
}

.role-2 {
    line-height: 17px;
}
.role-2:before {
    content: ">";
    position: relative;
    border-left: solid 4px #3d60ac;
    padding-left: 6px;
    padding-right: 6px;
}

.position{
    font-family: 'PT Serif', serif;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
    vertical-align: top;
    writing-mode: vertical-rl;
    font-weight: 500;
    border-radius: 4px;
    padding: 8px 0px;
    color: #3d60ac;
    border: solid #3d60ac 1px;
    background-color: #70cbd3;
}

.team:nth-child(odd) .position {
    color: #70cbd3;
    border: solid #70cbd3 1px;
    background-color: #3d60ac;
}

.team:nth-child(even) .position {
    color: #3d60ac;
    border: solid #3d60ac 1px;
    background-color: #70cbd3;
}

.footer-text{
    margin-top: 10%;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #4f4f4fa8;
}

.footer-text a{
    color: #70cbd3;
    font-weight: 600;
}

.username{
    font-weight:bold;
}
  
  @media screen and (min-width : 300px) and (max-width : 600px) {
    .main{
        margin-top: 80px;
        margin-bottom:50px;
        max-width:100%;
        display: block;
    }
    .main-title{
        padding-left: 0%;
        margin-bottom: 20px;
    }
    .right-section{
        padding-left: 4%;
    }
    .description{
        font-size:16px;
    }
    img{
        width: 80%;
    }
    .name{
        font-size:14px;
        margin:0;
    }
    .role{
        font-size:12px;
        margin:0;
    }
    .position{
        font-size:10px;
    }
    .team-members{
        gap:unset;
        max-width:98%;
        padding: 5%
    }
    .team{
        flex-basis:50%;
    }
    .member-1{
        margin-bottom:0px;
        padding-right:3%;
    }
    .member-2{
        margin-top: 55px;
        padding-left:3%;
    }
    .member-3{
        margin-bottom:0px;
        padding-right:3%;
    }
    .member-4{
        margin-top:55px;
        margin-bottom:0;
        padding-left:3%;
    }
    .member-5{
        margin-top:0px;
        padding-right:3%;
    }
    .member-6{
        margin-top: 55px;
        padding-left:3%;
    }
    .footer-text{
        font-size:12px;
        margin-top: 100px;
    }
  }

  @media screen and (min-width : 600px) and (max-width : 1024px) {
    .main{
        margin-top: 80px;
        margin-bottom:50px;
        max-width:90%;
        display: block;
    }
    .main-title{
        padding-left: 0%;
        margin-bottom: 20px;
    }
    .right-section{
        padding-left: 4%;
        max-width: 90%;
    }
    .name{
        font-size:16px;
        margin:0;
    }
    .role{
        font-size:14px;
        margin:0;
    }
    .position{
        font-size:12px;
    }
    img{
        width:70%;
    }
    .team-members{
        gap:unset;
        max-width:98%;
        padding: 7%
    }
    .team{
        flex-basis:50%;
    }
    .member-1{
        margin-bottom:0px;
        padding-right:4%;
    }
    .member-2{
        margin-top: 75px;
        padding-left:4%;
    }
    .member-3{
        margin-bottom:0px;
        padding-right:4%;
    }
    .member-4{
        margin-top:75px;
        margin-bottom:0;
        padding-left:4%;
    }
    .member-5{
        margin-top:0px;
        padding-right:4%;
    }
    .member-6{
        margin-top: 75px;
        padding-left:4%;
    }
    .footer-text{
        font-size:12px;
        margin-top: 100px;
    }
  }

  @media screen and (min-width : 1026px) and (max-width : 1350px){
    .main{
        margin-top: 80px;
        margin-bottom:50px;
        max-width:80%;
        }
    .main-title{
        padding-left: 0%;
        margin-bottom: 20px;
    }
    .right-section{
        padding-left: 4%;
    }
    .name{
        font-size:16px;
        margin:0;
    }
    .role{
        font-size:14px;
        margin:0;
    }
    .position{
        font-size:12px;
    }
    img{
        width:80%;
    }
    .team-members{
        gap:unset;
        max-width:98%;
        padding: 3%;
    }
    .team{
        flex-basis: 33.333%;
    }
  }
