@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
/* font-family: 'Poppins', sans-serif; */
/*   random images:      https://source.unsplash.com/random    */
/* API from https://randomuser.me */
/* Number of displayed users: https://randomuser.me/api?results=50 */
/**********************************************
                Global styles
**********************************************/
*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --white: #ffffff;
  --silver: #cccccc;
  --grey: #333333;
  --black: #000000;
  --blue: #0d6efd;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #d63384;
  --red: #dc3545;
  --brown: #663300;
  --orange: #fd7e14;
  --gold: #ff9900;
  --yellow: #ffc107;
  --green: #198754;
  --teal: #20c997;
  --cyan: #0dcaf0;
  --font-family: 'Poppins', sans-serif;
  --font-size: 1rem;
  --font-weight: 400;
  --line-height: 1.5;
  --body-color: var(--black);
  --body-bg: var(--white);
  --gutter-x: 1.5rem;
  --gutter-y: 0;
  --breakpoint-576: 576px;
  --breakpoint-768: 768px;
  --breakpoint-992: 992px;
  --breakpoint-1200: 1200px;
  --breakpoint-1400: 1400px;
}
a {
  text-decoration: none;
  color: inherit;
}
ul li {
  list-style: none;
}
body {
  position: relative;
  min-height: 100vh;
  padding-bottom: 50px;
  font-family: var(--font-family);
  font-size: var(--font-size);
  font-weight: var(--font-weight);
  line-height: var(--line-height);
  color: var(--white);
  background-color: var(--purple);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  user-select: none; /* turns off the blue color when something is clicked */
  scroll-behavior: smooth; /* slows down the scroll */
}
/**********************************************
                    Layout
**********************************************/
/* <576px-100%; ≥576px-540px; ≥768px-720px; ≥992px-960px; ≥1200px-1140px; ≥1400px-1320px */
.container {
  width: 100%;
  padding-right: calc(var(--gutter-x) * 0.5);
  padding-left: calc(var(--gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}
/* It's 100% on all resolutions */
.container-fluid {
  width: 100%;
  padding-right: calc(var(--gutter-x) * 0.5);
  padding-left: calc(var(--gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--gutter-y));
  margin-right: calc(-0.5 * var(--gutter-x));
  margin-left: calc(-0.5 * var(--gutter-x));
}
.col-1,
.col-2,
.col-3,
.col-4,
.col-6 {
  flex: 0 0 auto;
  padding-right: calc(var(--gutter-x) * 0.5);
  padding-left: calc(var(--gutter-x) * 0.5);
  margin-top: var(--gutter-y);
}
/* 1/12 */
.col-1 {
  width: 8.33333333%;
}
/* 1/6 */
.col-2 {
  width: 16.66666667%;
}
/* 1/4 */
.col-3 {
  width: 25%;
}
/* 1/3 */
.col-4 {
  width: 33.33333333%;
}
/* 1/2 */
.col-6 {
  width: 50%;
}
/**********************************************
                Specific styles
**********************************************/
/* Header */
.my-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  min-height: 50px;
  color: var(--silver);
  background-color: var(--grey);
}
.logo {
  margin-left: 10px;
  font-size: 1.5rem;
  transition: 0.2s ease all;
}
.logo:hover {
  transform: scale(1.01);
  text-shadow: 1px 1px 1px var(--silver);
}

/* Search container */
.search-container {
  max-width: 400px;
  margin: 100px auto;
  border-radius: 5px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, .3);
  overflow: hidden;
}
.search-header {
  padding: 30px 20px;
  background-color: var(--grey);
}
.title {
  margin: 0;
}
.subtitle {
  display: inline-block;
  margin: 5px 0 20px;
  opacity: .8;
}
.search-header input {
  background-color: rgba(0, 0, 0, .3);
  border: 0;
  border-radius: 50px;
  color: var(--white);
  font-size: 14px;
  padding: 10px 15px;
  width: 100%;
}
.search-header input::placeholder {
  color: var(--silver);
}
.search-header input:focus {
  outline: none;
}
.user-list {
  max-height: 500px;
  overflow-y: auto;
}
.user-list li {
  display: flex;
  width: 100%;
  height: 100px;
  padding: 20px;
}
.user-list img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 1px solid var(--silver);
  border-radius: 50%;
}
.user-list .user-info {
  margin-left: 15px;
}
.user-list .user-info h4 {
  margin: 8px 0 10px;
  color: var(--black);
}
.user-list .user-info p {
  font-size: 13px;
}
.user-list li:not(:last-of-type) {
  border-bottom: 1px solid var(--silver);
}
.user-list li.hide {
  display: none;
}

/* Footer */
.my-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50px;
  text-align: center;
  color: var(--silver);
  background-color: var(--grey);
}
.my-footer span {
  text-shadow: 1px 1px 1px var(--body-color);
}
.my-footer span:hover {
  color: var(--green);
}
/**********************************************
                Helper classes
**********************************************/
.list-reset {
  list-style: none;
  padding: 0;
  margin: 0;
}
.clearfix:before,
.clearfix:after {
  content: ' ';
  display: table;
}
.clearfix:after {
  clear: both;
}
/*********************************************
               @media Queries
*********************************************/
/* @media print {} */

@media all and (min-width: var(--breakpoint-576)) {
  .container {
    max-width: 540px;
  }
}
@media all and (min-width: var(--breakpoint-768)) {
  .container {
    max-width: 720px;
  }
}
@media all and (min-width: var(--breakpoint-992)) {
  .container {
    max-width: 960px;
  }
}
@media all and (min-width: var(--breakpoint-1200)) {
  .container {
    max-width: 1140px;
  }
}
@media all and (min-width: var(--breakpoint-1400)) {
  .container {
    max-width: 1320px;
  }
}
