body {
    margin: 0;
    padding-top: 0;
    font-family: montserrat;
    overflow: hidden;
    height: 100vh;
    background-image: url(images/background.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
}

a {
    color: #ffffff;
}

.header {
    background-color: #0003;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 3;
    top: 0
}

.header ul {
    margin: 0;
    padding: 0;
    list-style: 0;
    list-style-type: none;
    overflow: hidden;
}

.header ul a {
    display: block;
    padding: 13px;
    border-right: 1px solid #0003;
    text-decoration: none;
}

.header ul a:hover {
    background: #0005;
}

.header img {
    float: left;
    display: block;
    width: auto;
    height: 35px;
    margin-top: 8px;
    margin-left: 10px;
    margin-bottom: 0px;
}

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
}

.header .menu-icon {
    float: right;
    position: relative;
    margin-top: 10px;
    margin-right: 10px;
    cursor: pointer;
}

.header .menu-icon .nav-icon {
    background: #0005;
    display: block;
    height: 2px;
    width: 18px;
    margin-top: 10px;
    margin-right: 10px;
    position: relative;
    transition: background .2s ease-out;
}

.header .menu-icon .nav-icon:before {
    background: #0005;
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    transition: all .2s ease-out;
    top: 5px;
}

.header .menu-icon .nav-icon:after {
    background: #0005;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
    top: -5px;
}

.header .menu-btn {
    display: none;
}

.header .menu-btn:checked ~ .menu {
    max-height: 240px;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon {
   background: transparent; 
}

.header .menu-btn:checked ~ .menu-icon .nav-icon:before {
    transform: rotate(-45deg);   
    top: 0;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon:after {
    transform: rotate(45deg);  
    top: 0;  
}

p {
    text-align: center;
    font-size: 17px;
    color: #ffffff;
}

.card {
    text-align: center;
    color: #ffffff;
    position: relative;
    top: 70px;
    margin-top: 25px;
    margin-bottom: 60px;
    margin-left: 70px;
    width: 230px;
    height: 300px;
    background: #0003;
    display: flex;
    align-items: center;
    display: block;
    justify-content: center;
}

.card img {
    height: 30px;
    padding-top: 5px;
}

.contact-section {
    width: 100%;
    height: 100vh;
    padding: 80 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    opacity: 0;
    transition: 1s;
}

.header {
    color: #ffffff;
    text-decoration: underline;
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid #ffffff;
    margin-bottom: 30px;
    border-radius: 5px;
    text-transform: capitalize;
    color: #ffffff;
    padding: 5px 10px;
}

::placeholder {
    color: #ffffff;
}

#msg {
    height: 200px;
    resize: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.form-submit-btn {
    background: #401aaa;
    color: #ffffff;
    text-transform: capitalize;
    padding: 15px 40px;
    display: block;
    margin: auto;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.map {
    width: 100%;
    height: 100%;
    padding: 10px;
    border: 2px solid #797777;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.map iframe {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

#footer {
    align-content: center;
    align-items: center;
    width: 100%;
    bottom: 0;
    line-height: 4px;
    color: #ffffff;
    background-color: #0005;
    position: absolute;
    padding-top: 20px;
}

#footer a {
    color: #ffffff;
    padding: 10px;
    background-color: #4D4D4D;
    border: 1px solid #000000;
    border-radius: 50%;
}

#footer a:hover {
    background-color: rgb(47, 47, 243);
}

.wrapper {
    text-align: center;
    display: block;
}

@media (min-width: 420px) {

    .header{
        width: 100%;
        height: 60px;
        background-color: #0006;
        word-spacing: -15px;
    }

    .header ul a {
        position: relative;
    }

    .header ul a::before {
        content: '';
        display: block;
        height: 2px;
        background: #ffffff;
        position: absolute;
        bottom: .5em;
        left: 0;
        right: 0;
        transform: scale(0, 1);
        transform-origin: center;
        transition: transform ease-in-out 250ms;
    }

    .header ul a:hover::before {
        transform: scale(1,1);
    }

    .header li{
        float: left;
    }

    .header .menu {
        clear: none;
        float: right;
        max-height: none;
        margin-right: 30px;
    }

    .header .menu-icon {
        display: none;
    }

    .card {
        text-align: center;
        float: right;
        width: 400px;
        height: 500px;
        margin-right: 30px;
        background: #0005;
        position: relative;
    }

    .card img {
        float: right;
        height: 60px;
        padding-top: 5px;
    }

    .contact-section {
        position: fixed;
        top: 0;
        transition: 1s;
        padding: 100px 150px;
        height: 100vh;
        opacity: 0;
        display: grid;
    }
    
    .header {
        color: #ffffff;
        text-decoration-line: underline;
        font-size: 30px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .contact-form input, .contact-form textarea {
        width: 100%;
        height: 40px;
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid #ffffff;
        margin-bottom: 30px;
        border-radius: 5px;
        text-transform: capitalize;
        color: #ffffff;
        padding: 5px 10px;
    }
    
    ::placeholder {
        color: #ffffff;
    }
    
    #msg {
        height: 200px;
        resize: none;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    }
    
    .form-submit-btn {
        background: #401aaa;
        color: #ffffff;
        text-transform: capitalize;
        padding: 15px 40px;
        display: block;
        margin: auto;
        border: none;
        border-radius: 10px;
        cursor: pointer;
    }
    
    .map {
        width: 100%;
        height: 100%;
        padding: 10px;
        border: 2px solid #797777;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 10px;
    }
    
    .map iframe {
        width: 100%;
        height: 100%;
        border-radius: 5px;
    }
}