*{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

header{
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
}

h1{
    font-size: 200%;
}

h2{
    text-align: center;
    color: mediumslateblue;
}


.header{
    width: 100%;
    height: 100%;
    padding: 2% 5%;
    font-size: 180%;
    color: mediumslateblue;
}

.estate{
    text-align: center;
    background-color: mediumslateblue;
    padding: 20px;
    color: white;
    font-weight: 700px;
}


nav{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.nav-links ul li {
    display: inline-block;
    margin: 8px 12px;
    font-size: 18px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.nav-links ul li a {
    text-decoration: none;
    color: rgb(104,100,100);
}

.nav-links ul li a::after{
    content: "";
    width: 0%;
    height: 2px;
    background-color: mediumslateblue;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li a:hover::after{
    width: 100%;
}

body{
    overflow-x: hidden;
}

.cards-box {
    display: inline-block;
    width: 25%;
    border-radius: 5px;
    margin: 40px;
    box-shadow: 2px 2px 10px black;
    min-height: 40px;
    padding: 0 10px;
}


h1 {
    text-align: center;
}

.title {

    text-align: center;
    padding: 5px;
    font-size: 10px;
}

.title h3 {
    background: mediumslateblue;
    color: #fff;
    font-weight: 700;
    border: 3px solid bisque;
}

.des {
    text-align: center;
    padding: 4px;
}

.des p {
    padding-top: 80px;
}

.card {
    flex-basis: 31%;
    justify-content: space-between;
    text-align: center;
    padding-top: 0;
    margin-bottom: 20%;
}

.text-bx {
    padding-top: 120px;
}

.text-bx p {
    font-weight: 600;
    text-align: center;
    background: mediumslateblue;
    color: #fff;
    border: 5px solid bisque;
}

.notice{
    text-align: center;
    background-color: mediumslateblue;
    padding: 20px;
    color: black;
    font-weight: 700px;
}

.header2 {
    height: 100%;
    width: 100%;
    min-height: 60vh;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4, 9, 30, 0.7)),url(/images/students.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    justify-content: center;
    animation: change 10s infinite ease-in-out;
    overflow-y: scroll;
}

@keyframes change {
    0%
    {
        background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(/house\ for\ sale.jpg);
    }
   20%
{
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(/5\ bedroom\ duplex.jpg);
}
   40%
{
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(/duplex\ for\ sale.jpeg);
}
  60%
{
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(/sell\ your\ properties.jpg);
}
   80%
{
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(/house\ for\ rent.webp);
}
   100%
{
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(/3bedroomnbungalow.jpg);
}

}

.frame {
    width: 90%;
    margin: 40px auto;
    text-align: center;
}

button {
    margin: 20px;
}

.custom-btn {
    width: 130px;
    height: 40px;
    color: #fff;
    border-radius: 5px;
    padding: 10px 25px;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    box-shadow: inset 2px 2px 2px 0px rgba(255,255, 255,.5),
    7px 7px 20px 0px rgba(0,0,0,.1), 
    4px 4px 5px 0px rgba(0,0,0,.1);
    outline: none;
} 

.frame{
    width: 90%;
    margin: 40px auto;
    text-align: center;
    margin-top: 220px;
}

.btn-5 {
    width: 130px;
    height: 40px;
    line-height: 42px;
    padding: 0;
    border: none;
    background: mediumslateblue;
  background: linear-gradient(0deg, rgba(83, 66, 122) 0%, rgb(83, 66, 122) 100%);
  }
  .btn-5:hover {
    color: rgb(243, 243, 148);
    background: transparent;
     box-shadow:none;
  }
  .btn-5:before,
  .btn-5:after{
    content:'';
    position:absolute;
    top:0;
    right:0;
    height:2px;
    width:0;
    background: rgb(238, 238, 165);
    box-shadow:
     -1px -1px 5px 0px #fff,
     7px 7px 20px 0px #0003,
     4px 4px 5px 0px #0002;
    transition:400ms ease all;
  }
  .btn-5:after{
    right:inherit;
    top:inherit;
    left:0;
    bottom:0;
  }
  .btn-5:hover:before,
  .btn-5:hover:after{
    width:100%;
    transition:800ms ease all;
  }

  footer {
    width: 100%;
    background-color: black;
  }
  .footer .col {
    width: 190px;
    height: auto;
    float: left;
    box-sizing: border-box;
    padding: 20px;
  }
  .footer .col h2 {
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 17px;
    padding: 10px 0;
    color: #FF0063;
    text-transform: uppercase;
  }
  .footer .col ul {
    list-style-type: none;
    padding: 0;
  }
  .footer .col ul li {
    color: white;
    font-size: 12px;
    padding: 5px 0px;
  }
  .address ul li {
    display: inline-block;
    padding-right: 5px !important;
  }
  
  .footer .col ul li:hover {
    cursor: pointer;
    color: lightgray;
    font-weight: bold;
  }
  .clearfix {
    clear: both;
  }
   
