body {
    background-color: white;
    margin: 0;
    font-family: "Comfortaa", sans-serif;
}
header {
    background-color: white;
    height: 100px;
    padding: 1px;
    box-shadow: 0px 1px 5px 1px gray;
}
ul {
    list-style: none;
}
li {
    font-size: 32px;
    margin: 0 30px;
}
a {
    text-decoration: none;
    color: black;
}

h1 {
    font-size: 35px;
    color: white;
    margin: 0;
}
h4 {
    color: white;
    margin: 3px;
}
p {
    color: #c4d1db; 
    margin: 15px 0 0 0;
}
.flex-container {
    display: flex;
}

header img {
    float: left;
    margin-left: 150px;
    height: 100%;
}
a:hover {
    color: #305775;
}
i {
    color: white;
    font-size: 32px;
    padding: 0 25px;
}
a:hover i {
    color: #c4d1db;
}
a:hover h1 {
    color: #c4d1db;
}

nav {
    text-align: center;
    width: 100%;
    height: 100%;
}
header ul {
    margin-top: 30px;
    float: right;
    display: flex;
}
header i {
    color: black;
}


/* OH BOY IT'S TIME FOR THE DROPDOWN MENU */
nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
}
nav ul li:hover > ul {
    display: contents;
}
nav ul ul li {
    display: list-item;
    position: relative;
    padding: 0;
    font-size: 24px;
}
header ul ul div {
    background-color: white;
    border-radius: 10px;
    padding: 5px;
}

aside {
    background-image: url(images/Edited/architecture-building-country-home-1884269-cropped.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    height: 432px;
    background-size: cover;
    background-repeat: no-repeat;
}
aside nav {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

aside nav ul {
    background-color: white;
    height: 75px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 700px;
    border-radius: 10px;
}
aside nav h1 {
    padding-top: 200px;
}
.homes .flex-container {
    display: flex;
    flex-direction: column;
}
.homes section {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid black;
    background-color: #5e7d97;
    margin-top: 25px;
    width: 90%;
    height: 300px;
}
.homes img {
    width: 450px;
    height: 300px;
}
.homes section div {
    padding: 50px 15px;
}
.homes a {
    color: #305775;
    font-size: 18px;
}
.homes a:hover {
    color: #67b1f2;
}
.homes p {
    font-size: 24px;
}
.homes ul {
    list-style: circle;
}
.homes li {
    font-size: 18px;
    padding: 0;
    color: white;
}
.yapping {
    background-color: #c4d1db;
    margin: 0;
    padding: 25px;
    color: #4f5e78;
    box-shadow: 0 5px 5px 0px #4f5e78;
}
.agents section {
    background-color: #5e7d97;
    width: 16%;
    padding: 5px;
    margin: 3px;
}
.agents img {
    width: 100%;
}
.agents p {
    padding: 10px;
}

.contact {
    background-color: #4f5e78;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    padding: 10px;
    margin-top: 40px;
}
.contact li {
    font-size: 17px;
}
.contact h3 {
    color: #648fb6;
}
.contact h2 {
    color: #c4d1db;
}
.contact a {
    color: #67b1f2;
}
.contact a:hover {
    text-decoration: underline;
}
.contact img {
    width: 200px;
    float: right;
    border-radius: 10px;
    border: 1px solid #11355a;
}

form {
    margin-left: auto;
    margin-right: auto;
    width: 25%;
    padding: 25px;
    margin-top: 30px;
    background-color: #4f5e78;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
}
form input {
    background-color: #648fb6;
    color: white;
}
form label {
    color: white;
}
form .submit {
    text-align: center;
}
form section {
    margin: 5px 0;
}
.thanks {
    background-color: #335e8e;
    width: 50%;
    text-align: center;
    margin: 200px auto;
    padding: 25px;
    border-radius: 10px;
}
.thanks h2 {
    color: #c4d1db;
    margin: 0;
}


.ted div {
    display: flex;
    justify-content: space-evenly;
    margin: 5px;
    align-items: center;
}
.ted div img {
    width: 30%;
    height: auto;
}
.ted {
    justify-content: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 25px;
}
.ted img {
    border-radius: 10px;
}
.ted section div {
    flex-direction: column;
    justify-content: flex-start;
    padding: 5px;
}
.ted section div li {
    padding: 0;
    list-style-type: disc;
    color: #4f5e78;
    font-size: 32px;
}
.ted section h1 {
    color: #305775;
    font-size: 36px;
    text-align: center;
}
.ted section p {
    color: #11355a;
    font-size: 28px;
}
.ted section {
    display: flex;
    flex-direction: row;
    margin: 5px;
    align-items: center;
    background-color: #c4d1db;
    border-radius: 10px;
    padding: 5px;
}
.ted section img {
    width: 66%;
}
.help {
    margin: 0 50px;
}

footer {
    height: auto;
    padding-top: 25px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
    padding-bottom: 10px;
    margin-top: 50px;
    background-color: #4f5e78;
}
footer h2 {
    color: #c4d1db;
}
footer a {
    color: white;
}
footer a:hover {
    color: #67b1f2;
}


footer nav {
    height: auto;
    margin: 25px;
}
footer ul {
    display: flex;
    justify-content: center;
}
footer li {
    color: white;
}
footer img {
    height: auto;
    border-radius: 8px;
}
footer p {
    padding: 25px 0 5px 0;
}
footer a:hover li {
    color: #c4d1db;
}

.sell {
    background-image: url(images/House2/architecture-brick-building-259957.jpg);
    background-attachment: fixed;
    box-shadow: 0px 0px 20px 0px #305775;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 15px 0;
}
@media screen and (max-width:1300px){
    footer li {
        padding: 0 15px;
    }
    header img {
        margin: 0;
    }
    li {
        padding: 0;
        font-size: 18px;
        margin-top: 3px;
    }
    i {
        font-size: 18px;
    }
    header ul ul a {
        font-size: 18px;
    }
    header ul div {
        display: none;
    }
    ul {
        padding: 0;
    }
    i {
        padding: 0 15px;
    }
    aside nav li {
        padding: 0 15px;
        font-size: 28px;
    }
    .homes img {
        width: 100%;
        height: auto;
    }
    .homes a {
        text-align: center;
    }
    .homes section {
        flex-direction: column;
        width: 95%;
        height: auto;
    }
    header .fa-solid {
        display: none;
    }
    .yapping {
        font-size: 16px;
    }
    header ul {
        margin: 0;
        padding: 0;
        width: 150px;
        flex-wrap: wrap;
        flex-direction: column;
    }
    aside nav ul {
        width: auto;
    }
    form {
        width: 50%;
    }
    .contact {
        width: 75%;
    }
    .contact img {
        width: 150px;
    }
    .contact h2 {
        overflow: hidden;
    }
    .ted section img {
        width: 100%;
    }
    .ted section {
        width: 90%;
        margin: 0 auto;
        flex-direction: column;
    }
    .ted div {
        flex-direction: column;
    }
    .ted div img {
        width: 95%;
        margin: 5px;
    }
    .ted section div li {
        list-style-type: none;
    }
    #my-slider {
        width: 100%;
    }
    #my-slider-ism-badge {
    width: 100%;
    }
    .agents .flex-container {
        flex-direction: column;
    }
    .agents section {
        width: 100%;
        margin: 0;
        padding: 0;
        margin-bottom: 15px;
    }
}