@font-face {
    font-family: arialRegular;
    src: url(fonts/arial_regular.ttf);
}
@font-face {
    font-family: narrow;
    src: url(fonts/narrow.woff2);
}
body{
    background-color: white;
    margin: 0;
    padding: 0;
}

.full-width-bar{
    background-color: #e21f1a;
    width: 100%;
    margin: 0;
    padding: 0;
}

.bar-full-height{
    height: 150px;
}

.bar-half-height{
    height: 75px;
}

.bar-with-text>img:nth-child(1):not(.down-arrow-icon){
    max-height: 100px;
    position: absolute;
    top: 25px;
    left: 25px;
}

.bar-with-text>img:nth-child(2){
    max-height: 150px;
    position: absolute;
    right: 0;
}

.home-icon-img{
    max-width: 45px;
    position: relative;
    top: 15px;
}
.down-arrow-icon{
    position: relative;
    max-width: 20px;
    top: -20px;
    cursor: pointer;
    transform: translateX(-50%) translateY(-50%);
}
.bar-with-text{
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    padding-bottom: 10px;
    font-size: 15px;
    color: white;
    font-family: arialRegular, SansSerif;
}

.content-section{
    background-color: white;
    display: flex;
    flex-direction: row;
}
.subcontent{
    flex: 1;
    font-family: narrow, sans-serif;
}
.subcontent-text{
    padding-left: 10%;
    padding-right: 10%;
    font-size: 23px;
    top: 70%;
    position: relative;
    transform: translateY(-50%);
}
.bold-text{
    font-weight: bolder;
}

.subcontent > img{
    position: relative;
    height: 95%;
    top: 2.5%;
}

.full-page-content{
    height: calc(100vh - 220px);
}

.full-page-content > .subcontent:not(.subcontent-text){
    flex: 2;
}

.full-page-content > .subcontent > img{
    position: relative;
    max-width: 60%;
    top: 50%;
    height: auto;
    transform: translateY(-50%);
}

.centered-text{
    text-align: center;
}

.group{
    width: 600px;
    position: relative;
    left: calc(50% - 300px);
}
.single-section-content{
    display: block;
    font-family: arialRegular, sans-serif;
}


.send-button{
    width: 100px;
    height: 40px;
    border-radius: 20px;
    background: #e21f1a;
    color: white;
    border: 0;
    margin-top: 30px;
    margin-bottom: 30px;
}

.send-button:hover{
    background: #a01713;
}

.privacy-input{
    text-align: left;
    padding-left: 5px;
    padding-top: 10px;
    color: #828282;
}

.privacy-input>div{
    display: flex;
    margin-top: 30px;
}

.privacy-input>div>input[type=checkbox]{
    flex: 1;
    margin: 0;
    padding: 0;
    transform: scale(1.8);
    margin-right: 5px;
}

.privacy-input>div>label{
    flex: 20;
    padding: 0;
    margin: 0;
    color: #828282 !important;
}

.footer{
    top: 0px !important;
}
.footer>ul:nth-child(1){
    left: calc(50% - 190px);
}

textarea{
    overflow: hidden;
    resize: none;
}
input,textarea{
    font-size:18px;
    text-align: left;
    margin-top: 20px;
    padding:10px 10px 10px 5px;
    display:block;
    width: 100%;
    border:none;
    background: none;
    color: black;
    border-bottom:1px solid #757575;
}

input:focus,
textarea:focus{
    outline:none;
}

/* active state */
input:focus ~ label,
input:valid ~ label,
textarea:valid ~ label,
textarea:focus ~ label{
    top:-20px;
    font-size:14px;
    color:red;
}

/* BOTTOM BARS ================================= */
.bar{
    position:relative;
    display:block;
    width: 515px;
}
.bar:before,
.bar:after{
    content:'';
    height:2px;
    width:0;
    bottom:1px;
    position:absolute;
    background:red;
    transition:0.2s ease all;
    -moz-transition:0.2s ease all;
    -webkit-transition:0.2s ease all;
}
.bar:before {
    left:50%;
}
.bar:after {
    right:50%;
}

/* active state */
input:focus ~ .bar:before,
input:focus ~ .bar:after,
textarea:focus ~ .bar:after,
textarea:focus ~ .bar:before {
    width:50%;
}

/* HIGHLIGHTER ================================== */
.highlight {
    position:absolute;
    height:60%;
    width:100px;
    top:25%;
    left:0;
    pointer-events:none;
    opacity:0.5;
}

/* active state */
input:focus ~ .highlight,
textarea:focus ~ .highlight {
    -webkit-animation:inputHighlighter 0.3s ease;
    -moz-animation:inputHighlighter 0.3s ease;
    animation:inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
    from { background:red; }
    to 	{ width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
    from { background:red; }
    to 	{ width:0; background:transparent; }
}
@keyframes inputHighlighter {
    from { background:red; }
    to 	{ width:0; background:transparent; }
}

@media (max-width: 800px){
    .content-section{
        flex-direction: column;
    }
    .subcontent-text{
        text-align: center;
    }
    .subcontent > img{
        max-width: 100% !important;
        max-height: 95%;
        transform: unset !important;
        margin: 0;
        padding: 0;
    }
    .group{
        width: calc(100% - 10px);
        left: 5px;
    }
    .down-arrow-icon{
        top: 0px;
    }
    .full-page-content{
        height: auto;
    }
    .subcontent-text{
        position: unset;
        transform: unset;
    }
}

@media (max-width: 1200px) and (min-width: 800px) and (orientation: landscape){
    .subcontent > img{
        max-width: 100%;
        height: auto;
    }
    .full-page-content{
        height: auto;
    }
    .subcontent>img{
        top: 17.5% !important;
        right: 10px;
        max-width: 85% !important;
        transform: unset !important;
    }
    .full-page-content > .subcontent:not(.subcontent-text){
        flex: 1;
    }
    .subcontent-text{
        padding: 30px;
        transform: unset;
    }
}