html{
    overflow-x: hidden;
}

body {
    background-image: url('img/bg.webp');
    background-position: 100% 0%;
    background-size: contain;
    background-repeat: no-repeat;
    padding-left: 22%;
    padding-top: 124px;
    overflow-x: hidden;

}

.list {
    display: flex;
    list-style: none;
    padding-left: 0;
}

.list li {
    position: relative;
    padding-left: 15px;
    padding-right: 10px;
    font-family: "Montserrat", sans-serif;

}

.list li::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background-color: #d80b3d;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

p {
    font-family: "Montserrat", sans-serif;
}

.italic {
    font-family: "DM Serif Display", serif;
    color: #d80b3d;
    font-style: italic;
    font-size: 24px;
}

h1 {
    font-size: 30px;
    font-family: "DM Serif Display", serif;
}

.team__person img {
    width: 100px;
    height: 100px;
}

.team__person {
    display: flex;
    align-items: center;
    margin-right: 5px;
    padding-right: 20px;
    min-width: 320px;
}

.team {
    display: flex;
    margin-top: 68px;
}


header {
  margin-bottom: 68px;
}

h1 {
    margin: 0;
}

.linkedin {
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    background-color: #6ca6c9;
    border-radius: 30px;
    padding: 12px 18px;
    font-family: "Montserrat", sans-serif;
    text-decoration: unset;
    display: flex;
    align-items: center;
    width: max-content;
    transition: .5s all;
}

.linkedin:hover {
    background-color: #6ca6c9b3;
}

.linkedin svg {
    margin-left: 15px;
}

h3 {
    font-size: 16px;
    font-family: "DM Serif Display", serif;
    margin: 0;
    margin-bottom: 5px;
    font-weight: 400;
}

.team__details a {
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    color: #6ca6c9;
    text-decoration: unset;
}

.team__details {
    margin-left: 20px;
}

.team__details a svg {
  position: absolute;
  top: 5px;
  transform: translateX(-10px);
  opacity: 0;
  transition: .5s all;
}

.team__details a:hover {
  padding-left: 20px;
}

.team__details a:hover svg {
  transform: translateX(0);
  opacity: 1;
  left: 0;
}

.team__details a {
  position: relative;
  overflow: hidden;
  overflow: hidden;
  padding-left: 0;
  transition: .5s all;
}

@media screen and (min-width: 767px ) and (max-width: 160px ) {
    body {
        padding-left: 15%;
    }
}


@media screen and (min-width: 767px ) and (max-width: 1920px ) {
    body {
        padding-top: 80px;
    }
}


@media screen and (min-width: 767px ) and (max-width: 992px ) {
    body {
        padding-left: 40px;
    }
}

@media screen and (max-width: 767px ) {
    body {
        padding-left: 24px;
        margin-left: 0;
        padding-top: 44px;
         background-image: url('img/bg-mobile.webp');
    }

    .list li {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .list {
        flex-flow: wrap;
    }

    header {
        margin-bottom: 46px;
    }

    p {
        font-size: 14px;
        margin-top: 30px;
    }

    .linkedin {
        margin-top: 20px;
    }

    h3 {
        font-size: 14px;
    }

    .team__details a {
        font-size: 12px;
    }

    .team {
        margin-top: 46px;
        flex-flow: column;
        margin-bottom: 30px;
    }

    .team__person {
        margin-bottom: 10px;
    }

    .logo svg {
        width: 182px;
    }

    p br {
        display: none;
    }

}