body {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 20px;
    margin: 0;
}

p { line-height: 1.7;}

.bar-yellow {
    background-color: #FCE01B;
    background-size: cover;
    height: 5px;
    width: 100%;
}

header {
    background-image: url(../img/Banner_Contact.jpg);
    background-size: cover;
    background-position: center;
    height: 961px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: white;
    text-transform: uppercase;
}

h1 {
    font-family: TT Rounds Neue Trl Cnd, Arial Rounded MT Bold, Helvetica Rounded, Arial, sans-serif;
    font-size: 48px;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 8px;
    text-align: center;
}

h3 {
    font-size: 24px;
    max-width: 900px;
    text-align: center;
}

a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
}

a:hover {
    color:  #FCE01B;
}

.line-header {
    background-color: #FCE01B;
    background-size: cover;
    height: 10px;
    width: 225px;
    margin-bottom: 28px;
    border-radius: 10px;
}

.logo {
    position: absolute;
    left: 75px;
    top: 58px;
}

.headline {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 70%;
}

.navigation {
    height: 700px;
    background: rgba(0,0,0,.8);
    backdrop-filter: blur(15px);
    filter: drop-shadow(-20px 15px 8px rgba(0,0,0,.2));
    transform: scale(0,1);
    transform-origin: right;
    transition: transform 300ms ease-in-out;
    display: flex;
    align-items: flex-end;
    position: absolute;
    z-index: 9;
    top: 0;
    right: 0;
}

.navigation ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

.navigation li {
    border-bottom: .1px solid rgba(255,255,255,.5);
    padding: 30px 70px;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 7px;
}

#navigation-contact {
    border-bottom: .1px solid rgba(255,255,255,0);
}

#menu:checked ~ .navigation {
    transform: scale(1,1);
}

#menu:checked ~ .navigation a {
    opacity: 1;
    transition: opacity 250ms ease-in-out 300ms;
}

#menu {
    display: none;
}

#hamburger {
    position: absolute;
    top: 90px;
    right: 75px;
    z-index: 10;
    transition: transform 500ms ease-in-out;
}

.hamburger, .hamburger::after {
    display: block;
    background: #FCE01B;
    width: 35px;
    height: 5px;
    transition: transform 500ms ease-in-out;
}

.hamburger{
    position: relative;
}

.bar1, .bar2 {
    display: block;
    background: #FCE01B;
    width: 35px;
    height: 5px;
    margin: 6px auto;
    transition: transform 500ms ease-in-out;
}

#hamburger.animate .bar1 {
    transform: translateY(5.5px) rotate(45deg);
}

#hamburger.animate .bar2 {
    transform: translateY(-5.5px) rotate(-45deg);
}

.current-page {
    color:  #FCE01B;
}

@media screen and (min-width: 1000px) {
    #hamburger {
      display: none;
    }

    header {
      display: grid;
      grid-template-columns: 60% 20%;
      place-items: center;
    }

    .headline {
      grid-column: 1;
    }

    .navigation {
      transform: scale(1,1);
      background: rgba(0,0,0,0);
      backdrop-filter: blur(0);
    }

    .navigation a {
      opacity: 1;
      transition: opacity 250ms ease-in-out 300ms;
    }

    #navigation-contact {
        border-bottom: .1px solid rgba(255,255,255,.5);
    }
}

@media screen and (max-width: 1000px) {
    header {
        height: 700px;
    }
    h1 {
        font-size: 38px;
    }
    h3 {
        font-size: 20px;
    }
    .headline {
        margin-top: 100px;
    }
}

@media screen and (max-width: 500px) {
    body {
        font-size: 18px;
    }
    header {
        height: 500px;
    }
    h1 {
        font-size: 25px;
    }
    h3 {
        font-size: 16px;
    }
    .headline {
        margin-top: 100px;
    }
    .logo {
        left: 25px;
        top: 25px;
    }
    #hamburger {
        top: 40px;
        right: 25px;
    }
}

.modal {
    background: #848484;
    display: flex;
    place-content: center;
    padding: 15rem 0;
}

form {
    width: 90%;
    max-width: 800px;
}

form input {
    color: black;
    border: .5px solid #FCE01B;
    font-size: 16px;
    height: 36px;
    padding-left: 13px;
    background: transparent;
    outline: none;
}

form input::placeholder {
    color: black;
    font-size: 16px;
}

form input:is(:hover, :focus) {
    border: 1.5px solid #FCE01B;
    font-weight: 700;
}

input:-webkit-autofill {
    -webkit-text-fill-color: black;
    transition: background-color 5000s ease-in-out 0s;
}

.modal-line1 {
    width: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 1.25em;
    margin-top: -10px;
}

.modal-line2 {
    width: 100%;
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 1.25em;
    margin-top: 25px;
}

.modal-line3 {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25em;
    margin-top: 25px;
}

.modal-line3B {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 1.25em;
    width: 100%;
}

#state {
    border: .5px solid #FCE01B;
    color: black;
    font-size: 16px;
    height: 40px;
    padding-left: 13px;
    padding-right: 13px;
    background: transparent;
    outline: none;
}

#state:hover, :focus {
    border: 1.5px solid #FCE01B;
    font-weight: 700;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.modal-line4 {
    width: 100%;
    display: grid;
    grid-template-columns: 33% 33% 30%;
    gap: 1.25em;
    margin-top: 25px;
}

.modal-line4 label {
    font-size: 16px;
}

.modal-line5 {
    margin-top: 25px;
}

textarea {
    resize: vertical;
}

textarea::placeholder {
    color: black;
}

.check {
    vertical-align: middle;
    appearance: none;
    width: 36px;
    cursor: pointer;
    margin-right: 10px;
}

.check:is(:hover, :focus) {
    border: 1.5px solid #FCE01B;
}

.check:after {
    content: url(../img/CheckMark.svg);
    position: relative;
    left: -8px;
    bottom: 5px;
    display: none;
}

.check:checked:after {
    display: block;
}

hr {
    border: none;
    margin-top: 7px;
}

#message {
    width: 100%;
    height: 250px;
    border: .5px solid #FCE01B;
    padding: 13px;
    background: transparent;
    outline: none;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    color: black;
    font-size: 16px;
    line-height: 1.8em;
}

#message::placeholder {
    color: rgba(0,0,0,.5);
}

#message:is(:hover, :focus) {
    border: 1.5px solid #FCE01B;
    font-weight: 700;
}

@media screen and (max-width: 1500px) {
    .modal {
        padding: 10rem 0 8rem 0;
    }
}

@media screen and (max-width: 800px) {
    .modal {
        padding: 7rem 0 4.5rem 0;
    }
    .modal-line1, .modal-line2 {
        grid-template-columns: 1fr;
    }
    .modal-line3 {
        grid-template-columns: 100%;
    }
    .modal-line3B {
        width: 95%;
    }
    .modal-line4 {
        grid-template-columns: 50% 50%;
    }
    .modal-line4 label {
        font-size: 12px;
    }
    #message {
        width: 94%;
    }
}

.modal-line6 {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cta-send {
    background-color: transparent;
    color: #FCE01B;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 600;
    width: 320px;
    height: 64px;
    border: 2px solid #FCE01B;
    border-radius: 32px;
    transition: 500ms ease-in-out;
    margin-left: 3%;
}

#cta-send:hover {
    background-color: #FCE01B;
    color: black;
}

.stay-in-touch {
    display: grid;
    place-items: center;
    justify-content: center;
    color: white;
    width: 100%;
    background-image: linear-gradient(10deg, black, #71650f);
    padding: 7rem 0;
}

.input-email {
    border: .5px solid #FCE01B;
    width: 80%;
    height: 46px;
    padding-left: 13px;
    font-size: 20px;
    background: none;
    outline: none;
    color: white;
}

h4 {
    font-weight: 400;
    font-size: 23.5px;
    margin-top: -1rem;
    text-align: center;
}

.input-email::placeholder {
    color: white;
    font-size: 20px;
    transform: translateY(5%);
}

.input-email:is(:hover, :focus) {
    border: 1.5px solid #FCE01B;
    font-weight: 700;
}

.input-email:-webkit-autofill {
    -webkit-text-fill-color: white;
    transition: background-color 5000s ease-in-out 0s;
}

#click-submit {
    display: none;
}

.cta-submit {
    color: black;
    background-color: #FCE01B;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 18px;
    font-weight: 600;
    width: 320px;
    height: 64px;
    border: 2px solid #FCE01B;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 35px;
}

.cta-submit:hover {
    background-color: rgba(0,0,0,0);
    color: #FCE01B;
    border: 2px solid #FCE01B;;
}

#email-confirmation {
    line-height: 1.5em;
    opacity: 0;
    visibility: hidden;
    transition: 500ms ease-in-out;
}

#click-submit:checked ~ #email-confirmation {
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 800px) {
    .stay-in-touch {
        padding: 5rem 0;
    }
}

footer {
    background-color: #B4B4B4;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.social-media-icons {
    display: flex;
    gap: 2em;
    margin-top: 25px;
}

.social-media-icons a:hover {
    opacity: 0.5;
}

.bottom-navigation{
    list-style-type: none;
    text-align: center;
    display: flex;
    gap: 3em;
    margin-top: 50px;
    letter-spacing: 4px;
  }

.bottom-nav-line-1, .bottom-nav-line-2 {
    display: flex;
    gap: 3em;
    align-items: center;
  }

.line-gray {
    height: 50px;
    width: .56px;
    background-color: #848484;
}

#current-page {
    color: black;
}

.copyright-info {
    color: white;
    text-align: center;
    font-size: 12px;
    letter-spacing: 1px;
    margin-top: 35px;
}

@media screen and (max-width:1000px) {
    .line-gray-2 {
        opacity: 0;
        visibility: hidden;
    }
    .footer {
        height: 443px;
    }
    #line-gray-2 {
        opacity: 0;
        visibility: hidden;
    }
    .bottom-navigation {
          flex-direction: column;
          gap: 1em;
          align-items: center;
    }
    .bottom-nav-line-1 {
        margin-left: 50px;
    }
    .bottom-nav-line-2 {
        margin-left: -35px;
    }
    .bottom-nav-line-1, .bottom-nav-line-2 {
        gap: 2em;
    }
}
