/* Amatic SC */
/* @import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&display=swap');  */
/* Neucha */
/* @import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Neucha&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');



.section1 h1 {
    background-color: #fff;
    text-align: center;
    font-size: 2.5em;
    box-shadow: 0 0 1em 0.2em rgb(0,0,0,0.2);
    color: black;
}


.form-section{
    margin-top: 3em;
    margin-bottom: 3em;
}


.contact-info{
    background-color: #fff;
    text-align: center;
    margin-top: 3em;
    box-shadow: 0 0 1em 0.2em rgb(0,0,0,0.2);
    padding-left: 7%;
    padding-right: 7%;
}

.contact-info > h2:first-of-type{
    padding-top: 1em;
}

.contact-info > h2:last-of-type{
    padding-bottom: 1em;
}

.email{
    display: flex;
    padding-left: 2em;
    font-size: large;
    font-weight: bold;
    margin-top: 1em;
}

.email img{
    margin-right: 0.5em;
    height:2em
    
}

.main-container {
    display: flex;
    justify-content: space-around;
    flex: 1 1 auto;
}

.map-section{
    display: flex;
    justify-content: center;
    align-items: center;
}

h2 {
    margin-bottom: 1em;
}

form {
    width: 60ch;
    background: #fff;
    border-radius: 0.3em;
    padding: 2em 2.5em;
    box-shadow: 0 0 0.5em 0 rgb(0,0,0,0.1);
}

fieldset {
    padding: 1em 2em 2em 2em;
    border: 2px solid #DDD;
    border-radius: 0.3em;
    margin-bottom: 2em;
}

fieldset legend {
    padding: 0 1em;
    margin-left: -1em;
    font-weight: bold;
    opacity: 0.7;
}

textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="submit"] {
    display: block;
    width: 100%;
    border: none;
    padding: 0.8em 0;
    outline: none;

    &::placeholder {
        color: transparent;
    }
}

textarea,
input[type="text"],
input[type="email"],
input[type="password"] {
    border-bottom: 2px solid #DDD;
    font-size: 1.2em;
    line-height: 1;
    
    &:focus {
        border-color: #7b7d7b;
    }
}

input[type="date"] {
    border: none;
    border-bottom: 2px solid #DDD;
    padding: 0.8em 0;
    outline: none;
    
    &:focus {
        border-color: #7b7d7b;
    }
}

input[type="submit"] {
    cursor: pointer;
    border-radius: 0.3em;
    margin-top: 2em;
    font-weight: bold;
    font-size: 1.2em;
}

input[type="submit"]:focus,
input[type="submit"]:hover {
    background: black;
    color: #fff;
}

.field {
    display: flex;
    flex-direction: column;
    padding: 1em 0;
    position: relative;
}

.field label {
    display: block;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 0;
    transition:
        translate 0.3s ease-in-out,
        opacity 0.3s ease-in-out
    ;
    opacity: 0.7;
}

.field .helper {
    display: block;
    font-style: italic;
    opacity: 0.5;
    line-height: 1;
    padding: 0.3em 0;
}

.field:has(input:focus) label {
    color: #7b7d7b;
    opacity: 1;
}

.field:has(input:placeholder-shown) label {
    translate: 0 1.8em;
}


@media (max-width: 650px) {
        
    body{
        font: 12px/1.5 "Roboto", Verdana, san-serif;
    }

    .logo img{
        display:none
    }

    .rights{
        display: none;
    }

    .section1 > div , .list{
        flex-direction: column;
    }

    form{
        width: 100vw;
        margin: 0 auto;
    }

    .contact-info {
        align-items: center;
    }

  
}
