body, html {
    font-family: 'Trebuchet MS';
    margin: 0;
    padding: 0;
    height: 100%;
    box-sizing: border-box;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.spact {
    width: 25%; 
}

.head {
    width: 50%; 
}

.iap {
    width: 25%;
}

img {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

.menu {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    background-color:black;
    padding: 10px 0;
}

.items {
    font-family: 'Trebuchet MS';
    color: white;
    font-size: 20px;
    padding: 10px 20px;
    text-align: center;
    cursor: pointer;
}

.items:hover {
    color: red;
    border-radius: 5px;
}

.main{
    display: flex;
    justify-content: left;
    margin-top: 10px;
}

.carousel {
    margin-left: 5px;
    margin-right: 10px;
    position: relative;
    width: 70%;
    height: auto; 
    overflow: hidden;
    background-color: #cdcdcd;
    border-radius: 20px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}

.carousel-item .slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
    top: 0;
    left: 100%;
}

.carousel-item.active {
    left: 0;
    transition: all 1s ease-out;
}

.carousel-item div {
    height: 100%;
}

.aboutus{
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    width: 30%;
    text-align: justify;
    font-family: 'Trebuchet MS';
    font-size: 18px;
    background-color:rgb(217, 239, 251);
    border-radius: 20px;
    margin-right: 5px;
    margin-left: 5px;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.5);
}

.implinks{
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 20px;
    background-color: rgb(217, 239, 251);
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.5);
}

.implinks p{
    font-size: 20px;
    margin: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 0px;
    padding-right: 0px;
    padding-left: 10px;
}

.implinks ul{
    font-size: 18px;
    margin: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 0px;
    padding-right: 0px;
    padding-left: 28px;
}

.contactus{
    font-size: 20px;
    background-color: black;
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.items a{
    color: white;
    text-decoration: none; 
}

.items a:visited {
    color: white;
}

.items a:hover {
    color: red;
}

.implinks a{
    color: black;
    text-decoration: none;
}

.implinks a:visited{
    color: black;
    text-decoration: none;
}

.implinks a:hover{
    color: red;
    text-decoration: none;
} 
.contactus a{
    color: white;
    text-decoration: none;
}

.contactus a:visited{
    color: white;
    text-decoration: none;
}

.contactus a:hover{
    color: red;
    text-decoration: none;
} 

@media screen and (max-width: 1200px) {
    .header {
        flex-direction: column;
        align-items: center;
    }

    .spact, .head, .iap {
        width: 100%;
    }

    .menu {
        flex-direction: column; 
    }

    .items {
        font-size: 18px;
        padding: 10px 20px;
    }
    .carousel{
        height: 600px;
        width: auto;
        margin: auto;
    }
    .main{
        margin-left: 7.5px;
        margin-right: 7.5px;
        display: block;
        align-content: center;
    }
    .aboutus{
        width: auto;
        margin-top: 15px;
        margin-bottom: 10px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .implinks{
        margin-left: 7.5px;
        margin-right: 7.5px;
    }
    .carousel img{
        width: fit-content;
    }
}