*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
    font-size: 1rem;
}


body{
    padding-top: 80px;
    margin: 0 auto;
    line-height: 1.5;
    max-width: 1080px;
}
    /* Navbar tag */

 /* Navbar tag */

    .menu-toggle{
        display: none;
        font-size: 1.4rem;
        cursor: pointer;

    }


.nav-wrap{
    max-width: 800px;
    font-size: 1rem;
    font-family: Arial;
    font-weight: 50;
    display: flex;
    padding: 4px;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    
}

nav{
     position: fixed;
     top: 0.5px;
     background-color: #fff;
     padding: 4px;
      border-radius: 24px;
      transition: top 0.3s ease;
      width: 88%;
      z-index: 1000;
      
}

header{
  justify-items: center;

 
}

nav.hide{
    top: -100px;
}

nav img{
    width: 200px;
    height: auto;
}

a{
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    color: black;
    transition-duration: 0.5s ease-out;

}

.nav-wrap a:hover{
    color: rgba(44, 111, 197, 0.986);
}

.navlink{
    display: flex;
    gap: 60px;
     
}

.drop-down{
    position: relative;
}

.drop-down-content{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 250px;
    z-index: 10;
    list-style: none;
    padding: 20px;
    margin: 0px;
    line-height: 2;
    border-radius: 12px;
}

.drop-down:hover .drop-down-content{
    display: block;
}

.drop-down:hover .drop-btn{
    border-bottom: 2px solid #fff;
}

.drop-down-content li{
    border-bottom: 1px solid #f0f0f0;
}

.drop-down-content li:last-child{
    border-bottom: none;
}

.drop-down-content a{
    font-size: 0.9rem;

}



/* Animation */
@keyframes appear{
    from{
    opacity: 0;
    scale: 0.5;
    }
    to{
         opacity: 1;
        scale: 1;
    }
}



/* Types of Loans */

.loan-types-wrap{
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    padding: 0 auto;
    margin-top: 50px;
    transition: 0.5s ease-out;
    font-family: 'Arial';
    font-size: 1rem;
    justify-content: space-between;
    line-height: 1;
    
    
}

.box-shadow, .fix-flip, .rental, .refinance, .purchase,  .slide {
    background-color: #fff;
    border-radius: 24px;
    border: 1px solid #fff;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    padding: 25px;
    margin: 10px;
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0;
    transform: translateY();
    animation: appear linear forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

h3{
    font-family: Arial;
    font-size: 1.6rem;
    text-align: center;
    line-height: 0.9;

}
   

.fix-flip img, .rental img, .refinance img, .purchase img{
    width: 80px;
    height: auto;
    margin: 0 auto;
}


.fix-flip:hover, .rental:hover, .refinance:hover, .purchase:hover{
    border: 2px solid rgba(44, 111, 197, 0.986);
}

.loan-type-btn{
    max-width: 200px;
    font-size: 1rem;
    padding: 4px 8px;
    border-radius: 16px;
    background-color: rgba(44, 111, 197, 0.986);
    text-align: center;
    margin: 14px auto;
    transition: 0.5s all;
    
}

.loan-type-btn a{
    color: #fff;
}

.loan-type-btn:hover{
    background-color: rgb(12, 2, 61);

}

.more-info{
    text-align: center;

}

.more-info a{
    color: rgba(44, 111, 197, 0.986);
    font-size: 1.2rem;
    font-family: 'Arial Narrow';
    transition: 0.5s all;

}

.more-info a:hover{
    color: rgb(12, 2, 61);
}

/*  Getting Funded */

.getting-loan-wrap{
    max-width: 100%;
    height: 90vh;
    margin-top: 50px;
    background-color: rgba(44, 111, 197, 0.986);
    color: #fff;
    justify-items: center;
    font-family: 'Arial';

}

.check-list li::marker {
    content: "✔";
    color: #05488b;
    font-size: 1.1rem;
  }


/* Footer tag */

  .footer-wrap{
    max-width: 100%;
    background-color: rgba(178, 245, 245, 0.500);
    margin-top: 80px;
    display: grid;
    grid-template-columns: 450px 1fr 1fr;
    padding-bottom: 40px;
    padding-top: 40px;
    padding-left: 80px;
    padding-right: 80px;
    justify-content: space-between;
    gap: 40px;
    font-family: Arial;
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateY();
    animation: appear linear forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;

  }

  .footer-symbols{
    display: flex;
    gap: 5px;
    
  }

  .footer-symbols img{
    border: solid;
    border-radius: 80px;
    border-color: rgba(178, 245, 245, 0.500);
  }
  /* footer company tag */
  .company{
    display: flex;
    flex-direction: column;
    gap: 12px;
    
  }

  .company a{
    font-size: 1rem;
    color: #000;
    transition: 0.3s all ease-in-out;
  }

  .company a:hover{
    color: rgba(44, 111, 197, 0.986);
    text-decoration: underline;
  }

  h6 {
    font-size: 1.4rem;
    color: rgba(44, 111, 197, 0.986);

  }


  .span-time{
    color: rgba(44, 111, 197, 0.986);
    margin-left: 80px;
  }

  .span-sun{
    color: rgb(241, 182, 18);
    margin-left: 230px;
  }

    /* copyright */
    .copyright{
        text-align: center;
        color: rgba(44, 111, 197, 0.986);
        font-size: 1rem;
        font-family: arial;
        font-style: italic;
        background-color: rgba(178, 245, 245, 0.500);
        padding-bottom: 40px;

    }

    footer hr{
        border-color:  rgba(74, 142, 231, 0.973);
        
    }


    
    /* Mobile Responsiveness */

    @media (min-width: 320px) and (max-width: 599px){
        /* body */
    body{
    max-width: 480px;
    overflow-x: hidden;
    overflow-y: auto;
}

html{
    font-size: 1rem;
}

 /* Navbar tag */

/* Navbar tag */


.menu-toggle{
    display: block;
    color: #05488b;
    font-size: 2rem;
    cursor: pointer;

}


/* transform to X */

.menu-toggle.active span:nth-child(1){
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2){
    opacity: 0;
}

.menu-toggle.active span:nth-child(3){
    transform: rotate(-45deg) translate(7px, -6px);
}



.navlink{
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
    flex-direction: column;
    padding: 20px;
    transition: all 0.3s ease;
    gap: 20px;
}

.navlink a {
    display: block;
    padding: 0;
}

.navlink.active{
    display: flex;
}



header img{
    width: 180px;
    height: auto;
}

nav{
    width: 100%;
}

.nav-wrap a{
    font-size: 1rem;
}

.drop-down-content{
    display: none;

}

.drop-down.active .drop-down-content{
    display: block;
}


  /* Loan Types */

.loan-types-wrap{
    display: block;
    margin-left: 10px;
    margin-right: 10px;
    
}

.box-shadow, .fix-flip, .rental, .refinance, .purchase,  .slide {
    margin: 30px 10px;
   
}

.fix-flip span, .rental span, .refinance span, .purchase span{
    font-size: 1rem;
    font-family: Arial;
    font-weight: 50;
    color: rgba(0, 0, 0, 0.726)
    line-height: 1.5;

}

.fix-flip img, .rental img, .refinance img, .purchase img{
    margin-left: 80px;
}

.more-info a{
    margin: 0 70px;

}

  
    /* Footer tag */

  .footer-wrap{
    margin-top: 40px;
    display: block;
    padding: 40px 16px;
    font-family: Arial;
    font-size: 1rem;
    line-height: 1.5;

  }

   .footer-symbols{
    display: flex;
    gap: 0px;
    
  }

  .footer-symbols img{
    width: 80px;
    border: solid;
    border-radius: 80px;
    border-color: rgba(178, 245, 245, 0.500);
   margin-left: 16px;
  }

  /* footer company tag */
  h6 {
    font-size: 1.2rem;
    color: rgba(44, 111, 197, 0.986);
    margin-top: 20px;

  }


  .span-sun{
    color: rgb(241, 182, 18);
    margin-left: 220px;
  }

   /* copyright */
    .copyright{
        padding: 20px;

    }


    }


    
     /* Mobile Responsiveness Max 768px */

    @media (min-width: 600px) and (max-width: 820px){

      body{
      max-width: 768px;
      overflow-x: hidden;
      overflow-y: auto;
}

html{
  font-size: 1.1rem;
}

/* Navbar tag */


nav{
    width: 100%;
}


.menu-toggle{
    display: block;
    color: #05488b;
    font-size: 2rem;
    cursor: pointer;

}


/* transform to X */

.menu-toggle.active span:nth-child(1){
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2){
    opacity: 0;
}

.menu-toggle.active span:nth-child(3){
    transform: rotate(-45deg) translate(7px, -6px);
}



.navlink{
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
    flex-direction: column;
    padding: 20px;
    transition: all 0.3s ease;
    gap: 20px;
}

.navlink a {
    display: block;
    padding: 0;
}

.navlink.active{
    display: flex;
}



header img{
    width: 180px;
    height: auto;
}


.nav-wrap a{
    font-size: 1rem;
}

.drop-down-content{
    display: none;

}

.drop-down.active .drop-down-content{
    display: block;
}

/* Types of Loans */

.loan-types-wrap{
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
   
    
}


/* footer company tag */

  .footer-wrap{
    display: block;
    align-content: center;
    text-align: center;
  }

  .footer-symbols{
    justify-content: center;
  }
 
    }