html {
    height: 100%;
}

body {
    background-color: whitesmoke;
}

.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1024px;
}

header {
    background-color: white;
    height: 118px;
    padding: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    border-radius: 15px;
    position: relative;
}

header::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 3px solid black;
    border-radius: 13px;
    pointer-events: none;
}


.logo {
    width: 105px;
    height: auto;
    margin-left: 5px;
}

header h1 {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 40px;
    padding-left: 100px;
}


main {
    height: 1000px;
    background-color: white;
    border-radius: 15px;
    margin-left: 5px;
    margin-right: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

main h1 {
    color: black;
    font-size: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 100px;
    text-align: center;
}

.venue-images {
    height: 400px;
    display: block;
    align-items: center;
    margin-top: 20px;
}

.venue1 {
    max-width: 490px;
    height: auto;
    padding-left: 15px;
}

.venue2 {
    max-width: 490px;
    height: auto;
}

.p1 {
    color: black;
    font-size: 23px;
    font-family: Arial, Helvetica, sans-serif;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 20px;
    text-align: center;
}

.p2 {
    color: black;
    font-size: 23px;
    font-family: Arial, Helvetica, sans-serif;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 50px;
    text-align: center;
}

main a {
    color: black;
}

footer {
    background-color: black;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 15px;
    position: relative;
    padding: 15px;
    margin-top: 30px;
}

footer::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 2px solid white;
    border-radius: 13px;
    pointer-events: none;
}

.footer-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 15px;
}

.footer-middle {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 30px;
}

.footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 75px;
    padding-bottom: 120px;
}

.logo-footer {
    width: 85px;
    height: 85px;
    flex-shrink: 0;
}

footer h1 {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 24px;
    margin: 0;
}

.contacts {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 5px;
    text-align: left;
}

.contacts a {
    color: white;
}

.address {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: left;
}

.footer-map {
    padding-left: 20px;
}

@media screen and (max-width: 400px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    header h1 {
        font-size: 24px;
        padding-left: 0;
        margin-top: 10px;
        text-align: center;
    }

    .logo {
        width: 80px;
        margin: 0 auto;
    }

    main {
        height: auto;
        padding-bottom: 20px;
    }

    main h1 {
        font-size: 24px;
        padding-top: 20px;
    }

    .venue-images {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .venue1,
    .venue2 {
        max-width: 90%;
        padding-left: 0;
        margin-bottom: 10px;
    }

    .p1,
    .p2 {
        font-size: 16px;
        padding: 10px;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 10px;
    }

    .footer-left,
    .footer-middle,
    .footer-right,
    .footer-map {
        padding: 10px 0;
    }

    .footer-right {
        padding-left: 0;
        padding-bottom: 0;
    }

    .footer-map iframe {
        width: 100%;
        height: 150px;
    }

    .logo-footer {
        width: 60px;
        height: 60px;
    }

    footer h1 {
        font-size: 18px;
    }

    .contacts,
    .address {
        font-size: 14px;
    }
}
