
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}


@media (max-width: 556px) {
    .containernewsletter{
        display: flex;
        width: 100%;
        padding: 0;
        box-sizing: inherit;
        position: fixed;
        top: 100px;
        left: 0;
        box-shadow: 10px solid black;
        z-index: 200;
        align-items: center;
        justify-content: center;
        margin: 0;
    }
    .newsletter .newsletter-icon{
        background: #04AA6D;
        display: inline-block;
        padding: 12px 15px;
        border-radius: 50%;
        border: 5px solid #fff;
        display: inline-block;
        align-self: center;
        margin-left: calc(50% - 40px);
        transform: translate(0px, -80px);
        margin-bottom: 0;
    }
    .newsletter-body, .newsletter-form {
        transform: translate(0px, -90px);
    }
    .newsletter-form {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    .newsletter-close-btn {
        margin-top: 0;
        transform: translate(0px, -110px);
    }
}
@media (max-width: 450px) {
    input[placeholder="Deine E-Mail"]:focus, .input[placeholder="Deine E-Mail"]:active {
        transform: translate(0px, -200px);
        background-color: white;
    }
}
@media (min-width: 556px) {
    .containernewsletter{
        position: fixed;
        top: 100px;
        left: calc(50% - 260px);
        display: flex;
        box-shadow: 10px solid black;
        z-index: 200;
        align-items: center;
        justify-content: center;
        margin: auto;
        width: 520px;
    }
    .newsletter .newsletter-icon{
        background: #04AA6D;
        display: inline-block;
        padding: 12px 15px;
        border-radius: 50%;
        border: 5px solid #fff;
        position: absolute;
        transform: translate(180px, -80px);
        position: -10px;
    }
    
}

/*.containernewsletter .newsletter-btn{
    display: block;
    background: #333;
    color: #fff;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    border-radius: 12px;
    margin-right: 640px;
    margin-top: -49px;
    
}*/
.containernewsletter .newsletter-btn:hover{
    background: #282828;
}
.containernewsletter .newsletter-btn.active .body:after{
    display: none;
}
.containernewsletter .newsletter{
    display: none;
    background: #333;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 16px #ffffff20;
    height: 360px;
    
}
body {
    text-align: unset;
}

.containernewsletter .newsletter.active{
    display: block;
}


.newsletter .newsletter-icon i{
    font-size: 40px;
    color: #fff;
}

.newsletter .newsletter-body{
    display: block;
    margin-top: 40px;
    margin-bottom:20px;
}

.newsletter-body p{
    text-align: center;
    font-size: 24x;
    line-height: 1.2rem;
    text-transform:  uppercase;
    margin: 20px 0px;
}

.newsletter-body p:first-child{
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #fff;
}

.newsletter-body p:last-child{
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.04em;
    color: #fff;
}

.newsletter .newsletter-form{
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%
}

.newsletter-form input{
    width: 100%;
    border: 1px solid #dedede;
    padding: 10px 15px;
    margin: 10px 0;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    border-radius: 12px;
    background: #ebecf090;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.04em;
    color: #282828;
}

.newsletter-form input:focus{
    outline: 0;
    border: 1px solid #2d2d2d50;
}

.newsletter-form button{
    width: 60%;
    padding: 10px 15px;
    border: 0;
    border-radius: 12px;
    margin-top: 10px;
    height: 50px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    background: #282828;
    color: #fff;
    cursor: pointer;
}

.newsletter-form button:hover{
    background: #282828;
}

.newsletter a{
    text-align: center;
    display: grid;
    margin-top: 40px;
    width: 100%;
    color: #747474;
    font-weight: 500;
    font-size: 14px;
}

.newsletter a:hover{
    color: #282828
}