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

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

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

.head {
    width: 50%;
}

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;
    flex-wrap: wrap;
}

.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;
}

.events {
    border-radius: 10px;
    background-color: rgb(217, 239, 251);
    margin: 15px;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.5);
}

.details {
    font-size: 20px;
    margin-bottom: 5px;
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

.contactus {
    position: fixed;
    bottom: 0;
    font-size: 20px;
    background-color: black;
    color: white;
    padding: 10px;
    margin-top: 10px;
    width: 100%;
}
.contactus a{
    color: white;
    text-decoration: none;
}
.contactus a:visited{
    color: white;
    text-decoration: none;
}
.contactus a:hover{
    color: red;
    text-decoration: none;
}
.menu .items a {
    color: white;
    text-decoration: none;
}

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

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

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

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

.details 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;
    }

    .events {
        flex-direction: column;
        align-items: left;
    }
    .contactus{
        position: relative;
    }

}