@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Roboto:wght@300;400;500;700;900&display=swap');

*, *:before,*:after{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

html[theme="dark-mode"]{ 
    filter: invert(1) hue-rotate(180deg);
}

html[theme="dark-mode"] img{
    filter: invert(1) hue-rotate(180deg);
}

html{
    transition: color 300ms, background-color 300ms;
}

body{
    background-size: cover;
    background-position: center center;
    margin: 0;
}

a:focus {outline: none;}
a:hover{text-decoration: none;}
a{display: inline-block;}

.container{
    display: flex;
    min-height: 100vh;
}

.left{
    padding: 0 40px;
    width: 50%;
}

.mainText p{
    width: 80%;
}

.contacts p{
    font-size: 14px;
    letter-spacing: 1px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 2px
}

.right{
    width: 50%;
}

.bg-image{
    background-image: url('/images/image_bkg.svg');
    /*background-image: url('https://source.unsplash.com/UIpFY1Umamw/2400x1800');*/
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.logo{
    margin: 30px 0;
    width: 100px;
}

h1{
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: 75px;
    font-display: swap;
    color: #0D1321;
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 40px;
}

p{
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 20px;
    font-display: swap;
    color: #21242B;
    letter-spacing: 1px;
    line-height: 25px;
    margin-bottom: 30px;
}

form{
    position: relative;
    max-width: 300px;
}

input{
    background-color: transparent;
    font-size: 16px;
    color: #D8521F;
    padding: 0 90px 0 35px;
    width: 100%;
    height: 100%;
    display: block;
    outline: none;
    border: none;
    background-color: #fff;
    box-shadow: 0 10px 15px 0px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0 10px 15px 0px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 10px 15px 0px rgba(0,0,0,0.1);
    -o-box-shadow: 0 10px 15px 0px rgba(0,0,0,0.1);
    -ms-box-shadow: 0 10px 15px 0px rgba(0,0,0,0.1);
}

input:focus{
    box-shadow: 0 10px 15px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 10px 15px 0px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 10px 15px 0px rgba(0,0,0,0.2);
    -o-box-shadow: 0 10px 15px 0px rgba(0,0,0,0.2);
    -ms-box-shadow: 0 10px 15px 0px rgba(0,0,0,0.2);
}

button{
    position: absolute;
    left: 430px;
    bottom: 0px;
    width: 90px;
    height: 80px;
    justify-content: center;
    align-items: center;
    outline: none;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 35px;
    color: #D8521F;
}

.hover:hover i{
    -webkit-transform: translateX(10px);
    -moz-transform: translateX(10px);
    -ms-transform: translateX(10px);
    -o-transform: translateX(10px);
    transform: translateX(10px);
}

button:focus{outline: none;}

form{
    max-width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 2px;
}

.formContainer{
    width: 500px;
    max-width: 100%;
    position: relative;
    background-color: transparent;
    height: 80px;
}

.socialContainer{
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 2px;
    max-width: 100%;
    -webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
}

.socialIcon{
    color: #fff;
    background: #ccc;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 100px;
    vertical-align: middle;
    padding: 10px;
    margin-right: 20px;
}

.mobile_picture{
    display: none;
}

/* --- Reactive --- */
@media (max-width: 1200px){
    
    .bg-image{
        background-position: center right;
    }

    .socialContainer{
        font-size: 12px;
    }

    .socialIcon{
        width: 40px;
        height: 40px;
        line-height: 40px;
        padding: 8px;
    }
}

@media (max-width: 992px){
    .left{
        padding: 0 40px;
        width: 60%;
    }
    
    .right{
        width: 40%;
    }

    h1{
        font-size: 50px;
    }

    p{
        font-size: 18px;
    }

    .formContainer{
        width: 400px;  
        height: 70px; 
    }

    .input{
        font-size: 14px;
    }

    button{
        left: 330px;
        font-size: 30px;
        height: 70px;
    }
}

@media (max-width: 768px){
    h1{
        font-size: 40px;
    }

    p{
        font-size: 16px;
    }

    .formContainer{
        width: 350px;  
        height: 60px; 
    }

    .input{
        font-size: 14px;
    }

    button{
        left: 280px;
        font-size: 30px;
        height: 60px;
    }

}

@media (max-width: 425px){

    
    .left{
        width: 100%;
      }

    .right{
        display: none;
    }

    .mobile_picture{
        display: block;
        width: 60%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        margin-top: -30px;
    }

    h1{
        font-size: 35px;
        margin-bottom: -20px;
    }

    p{
        font-size: 14px;
    }
    
}

/* --- placeholders --- */

::placeholder{
    color: #353535;
}

::-moz-placeholder{
    color: #353535;
    opacity: 1;
}

:-moz-placeholder{
    color: #353535;
    opacity: 1;
}

::-webkit-input-placeholder{
    color: #353535;
}

:-ms-input-placeholder{
    color: #353535;
}

::-ms-input-placeholder{
    color: #353535;
}

