/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  ul {
    list-style: none;
  }
  
  a {
    text-decoration:none;
    color: inherit;
  }
  /* KEYFRAMES */
  @keyframes fade-in {
    0%{
opacity:0;
transform: translateY(15px);
    }
    100%{
        opacity:1;
        transform: translateY(0px);
    }
    
  }
  input, button{
    border: none;
    font: inherit;
  }
  
/* BASE STYLES */
html {
    overflow-x: hidden;
    --accent-color: #11a2f3;
    --accent-color-dark:#0d8fda;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    color: #292C33;
    background-color: #EEEFF3;
    overflow-x: hidden;
    position: relative;

  }
  
  .bg {
    position: absolute;
    z-index: -1;
  }
/* HEADER */
.header{
    display:flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px;
    animation: fade-in 0.4s;

}
  .logo {
   color: rgba(255,255,255,0.7);
   font-size: 30px;
  }

  .nav{

  }
  .links{
    display: flex;
    column-gap:45px;
  }
  .link{
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    text-transform:uppercase;
    letter-spacing: 1px;
    transition: all0.2s;

  }
  .link:hover{
    color: rgba(255,255,255,0.7);

  }
  .link--btn {
    color:white;
    background-color:var(--accent-color);
    padding: 10px 18px;
    transition: all 0.2s;
    border-radius: 3px;
  }

  .link--btn:hover {
    background-color: var(--accent-color-dark);

  }

  /* MAIN */

  .main{
    max-width: 1150px;
    background-color: white;
    margin: 0 auto;
    border-radius: 5px;
    margin-bottom: 35px;
    box-shadow: 0 4px 44px rgba(0,0,0,0.7);
    animation: fade-in 0.4s 0.1s backwards;
    overflow: hidden;
  }

  /* INTRO */
  .intro{
    display: flex;
    background-color: #000;
  }

.search{
    flex: 1;
    background-color: #f3f3f5fa;
    padding-bottom: 15px;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

  }
  
  .first-heading{
    font-size: 39px;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.1;
    max-width: 383px;
  }

  .emphasis{
    font-style: italic;
    font-weight: 700;
    text-decoration: underline;
  }

  .form{
    width: 383px;
    position: relative;
  }

  .input {
height: 61px;
width: 100%;
padding-left: 53px;
font-size: 17px;
border-radius: 2px;
margin-bottom: 12px;
  }

  .input-icon{
    font-size: 17px;
    color: #adb4c2;
    position: absolute;
  }
.input-icon:nth-of-type(1) {
    top: 22px;
    left:22px;
}

.input-icon:nth-of-type(2) {
    top: 95px;
    left:22px;
}

  .btn{
    width: 100%;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: white;
    border-radius: 2px;
    background: var(--accent-color);
    height: 61px;
    transition: all 0.2;
  }

  .btn:hover{
    cursor: pointer;
    background: var(--accent-color-dark);

  }
  .photos{
    display: flex;
  }

  .photo-1{
display: block;
  }

  .photo-2{
display:block;
  }

  /* CREDENTIALS */
  .credentials{
display:flex;
align-items: center;
justify-content: space-around;
padding: 35px 0;
border-bottom: 1px solid #f2f3f8;


  }

  .seen-text{
font-size: 20px;
font-weight: 500;
color: #ccd0d9;
text-transform: uppercase;
letter-spacing: 1.5px;
  }

  .credential{

  }
  
  /* HOW SECTION */
  .how {
display:flex;
flex-direction: column;
align-items: center;
padding: 65px 0 85px;
  }

  .second-heading{
    font-size:32px;
    color:#292c33;
    text-transform: capitalize;
    font-weight: 500;
    position: relative;

  }

  .second-heading::after{
    content: '';
    height: 3px;
    width: 54px;
    display: block;
    background: var(--accent-color);
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    margin-top: 10px;
  }

  .steps{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    padding: 80px 0;

  }

  .step{
max-width: 215px;
text-align: center
;
  }

  .step-icon{
    height: 65px;
    width: 65px;
    background: black;
    border-radius: 5000px;
    color: white;
    line-height:65px;
    margin-bottom: 21px;
    font-size: 22px;
  }

  .step:nth-child(1) .step-icon{
    background-color: #fdf6d3;
    color:#5fca36;
  }
  .step:nth-child(2) .step-icon{
    background-color: #ffdeec;
    color:#da196a;
  }
  .step:nth-child(3) .step-icon{
    background-color: #e9e5ff;
    color:#4d31e4;
  }



  .third-heading{
    font-size: 23px;
    color: #3d4048;
    font-weight:500;
    margin-bottom: 10px;
  }

  .text{
    color: #74777d;
    font-size: 18px;
  }

  .more{
    color: var(--accent-color);
    padding-bottom:  5px;
    border-bottom:  1px solid var(--accent-color);
    transition: all 0.2s;
  }

  .more:hover{
    color: var(--accent-color-dark);

  }

  .more-icon{
    font-size: 14px;
    transition: all 0.2s;
  }

  .more:hover .more-icon {
    transform:  translateX(3px);
  }

  /* FOOTER */

  .footer{
display:flex;
justify-content: space-between;
max-width: 1200px;
margin: 0 auto;
color: #a1a4b0;
padding: 0 25px;
padding-bottom: 50px;
  }

  .copyright{
    font-size: 14px;

  }

  .legal-list{
display: flex;
column-gap: 35px;
  }

  .legal-item{

  }

  .legal-link{
    font-size: 14px;
    text-transform: capitalize;
  }

  /* MEADIA QUERIES */
  @media (max-width: 1200px){
    .main{
        margin-left:25px;
        margin-right: 25px;
    }

    .photo-1{
        display:none;
    }
  }

  @media (max-width: 965px){
    .search{
        padding: 40px 0 50px;
    }
    .photo-2{
        display: none;
    }

    .credential:nth-of-type(1){
        display: none;
    }
    .credentials{
        justify-content: space-evenly;
    }
    .how{
        padding: 50px 0 65px;
    }
    .steps {
        padding: 60px 0;
        max-width: 500px;
        flex-wrap: wrap;
        row-gap: 35px;
    }
  }

  @media (max-width:600px){
    .main{
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;

    }

    .credential:nth-of-type(2) {
        display: none;
    }
    .steps{
        flex-direction: column;
        align-items: center;
    }

    .footer{
        flex-direction: column;
        align-items: center;
        row-gap:20px


    }
  }

  @media (max-width:470px){
    .header{
        flex-direction: column;
        align-items: center;
        row-gap: 35px;
        margin-bottom: 15px;
    }

    .first-heading{
        max-width: initial;
        padding: 0 20px;
        font-size: 34px;

    }
    .form{
        width: 100%;
    }
    .input{
        border-radius: 0;
    }
  }