*
{
    box-sizing:border-box;
}

body
{
    direction:rtl;
    /*background-image:url('../img/bg.gif');*/
    text-align:center;
    margin:0;
    font-family:"Segoe UI Light 8", "Segoe UI Light", Arial;
    background-image:url('../img/bgwhite.gif');
    background-repeat:no-repeat;
    background-position:center;
    background-attachment:fixed;
}

header
{
    max-width:1000px;
    margin:0 auto;
    min-height:230px;
}

header .hat
{
    width:200px;
    margin:20px;
    float:left;
}

header .logo
{
    height:100px;
    margin-top:50px;
    
}

article
{
    padding:30px;
    color:white;
    font-size:2em;
    box-shadow:0 0 20px #1854A3;
    background-color:#1854A3;
    background-image:url('../img/bgblue.gif');
    background-repeat:no-repeat;
    background-position:center;
    background-attachment:fixed;
}

.article
{
    max-width:1200px;
    margin:0 auto;
}

.main
{

}

.price
{
    width:200px;
    height:200px;
    left:30px;
    top:360px; /**/
    background-color:#F6D50A;
    margin-top:-300px;
    border-radius:200px;
    font-weight:bold;
    font-size:2.1em;
    transform: rotate(10deg);
    transition: all .2s ease-in-out;
    box-shadow:0 0 20px #F6D50A;
    position:absolute;
    z-index:100;
    padding-top:30px;
}

.price div:first-child
{
    margin-top:20px;
}

.price:hover
{
    
    transform: scale(1.1) rotate(-10deg);
}

.intro
{
    padding:0 20px;
    min-height:125px;
}

.intro img
{
    border-radius:200px;
    width:120px;
    height:120px;
object-fit:cover;
border:solid 2px #538AC2;
box-shadow:0 0 10px black, 0 0 10px black;
}

h2
{
    font-size:1em;
    font-weight:normal;
    margin-top:0;
    margin-bottom:0;
}

.contact
{
    float:right;
    height:500px;
    width:270px;
    position:relative;
    top:-50px;
    margin-left:50px;
    transform: perspective( 700px ) rotateY( -25deg );
    border-radius:30px;
    transition: all .2s ease-in-out;
    background: linear-gradient(#C195C6, #AC6FAF);
    border:solid 4px #AC6FAF;
    box-shadow:20px 20px 50px #715A72;
    padding:20px;
}

.c1 { display:initial; }
.c2 { display:none; }

.contact div
{
    font-size:0.6em;
    margin-top:10px;
}

.contact input,
.contact textarea
{
    border-radius:20px;
    height:50px;
    padding: 3px 27px;
    font-size:0.8em;
    width:100%;
    background: linear-gradient(#EEEEE9);
    transition:0.4s ease-in-out;
}

.contact input[type='button']
{
    width:100px;
    float:left;
    background-color:#C195C6;
    border:none;
    color:white;
    cursor:pointer;
}

.contact input[type='text']:focus,
.contact textarea:focus
{
    background: white;
    transform:scale(1.06);
}

.contact textarea
{
    height:100px;
}

.contact:hover
{
    transform: perspective( 1200px ) rotateY( -15deg ) scale(1.05);
}

.contact img.heart
{
    display:block;
    margin:0 auto;
    width:150px;
    margin-bottom:5px;
    vertical-align:middle;
}

section:first-of-type
{
    clear:left;
}

section
{
    width:calc(50% - 30px);
    float:right;
    background-color:white;
    border-radius:100px;
    height:130px;
    margin:10px;
    color:#1854A3;
    font-size:1.15em;
    font-weight:bold;
}

section figure
{
    display: table-cell;
    vertical-align:middle;
    text-align:center;
    width:140px;
    height:130px;
    border-radius:0 100px 100px 0;
    line-height:120px;  
    background: linear-gradient(white, #C6D5E8);
}

section figure img
{
    width:100px;
    margin:0 auto; 
    float:left;
    margin-left:17px;
}

section div
{
    margin-top:-125px;
    font-size:0.5em;
    text-align:right;
    margin-right:150px;
    width:calc(100% - 180px);
}

.contact a img
{
    background-color:transparent;
    -webkit-filter: brightness(500%);
    border:solid 2px white;
    
    height:60px;
    width:60px;
    border-radius:30px;
    font-size:2em;
    color:white;
    padding:10px;
    margin-top:10px;
    cursor:pointer;
        vertical-align:middle;
        margin-bottom:10px;
}

.contact a:hover img,
.contact a img.wait
{
    background-color:white;
    -webkit-filter:initial;
}

nav
{
    background-color:#1854A3;
    background-image:url('../img/bgblue.gif');
    background-repeat:no-repeat;
    background-position:center;
    background-attachment:fixed;
    -webkit-filter: hue-rotate(260deg) saturate(200%);
    filter: hue-rotate(260deg) saturate(200%);
   height:60px;
    width:100%;
    display:block;
    line-height:100%;
    color:white;
    font-size:1.6em;
    font-weight:bold;
}

nav img
{
    -webkit-filter: brightness(10000%);
    height:40px;
    margin:10px;
    margin-right:30px;
    
    vertical-align:middle;
}

nav a
{
    text-decoration:none;
    color:white;
}

footer
{
    text-align:center;
    width:calc(100% - 0px);
    margin-bottom:100px;
}

footer div
{
    display:inline;
    width:100%;
}

footer .text img
{
    height:25px;
    margin:5px;
}


footer .recomm
{
    background-color:#1854A3;
    background-image:url('../img/bgblue.gif');
    background-repeat:no-repeat;
    background-position:center;
    background-attachment:fixed;
    filter: grayscale(90%);
    
    min-height:200px;
    width:100%;
    display:block;
    color:white;
    font-size:3.5em;
}

footer .recomm h2
{
    opacity:0.5;
}

footer .recomm img
{
    height:150px;
    margin:25px 25px 25px 0;
    vertical-align:middle;
}

@media screen and (max-width: 1200px)
{
    section
    {

    }

    section figure
    {
        width:90px;

    }

    section figure img
    {
        width:70px;
        margin-left:10px;
    }

    section div
    {
        margin-right:105px;
        width:calc(100% - 130px);
        font-size:0.45em;
   }

}

@media screen and (max-width: 1000px)
{
    article
    {
        padding: 0;
    }

    .contact, .contact:hover
    {
        display: block;
        float: none;
        transform: none;
        float: none;
        width: 100%;
        margin: 0;
        margin-top: 0;
        box-shadow: none;
        position: static;
        padding: 5px;
        border-radius: 0;
        border: none;
        height: 110px;
    }

    .c1 { display:none; }
    .c2 { display:block; }

    .contact input[type='text'],
    .contact textarea
    {
        height: 30px;
        font-size: 0.5em;
        padding: 0 10px;
        width: 117px;
        margin-left: 15px;
    }

    .contact textarea
    {
        position: relative;
        top: 8px;
    }

    .contact a img
    {
        height: 35px;
        width: 35px;
        padding: 4px;
    }

    .contact div, .contact input
    {
        display: inline;
    }

    .contact input[type='text']:focus,
    .contact textarea:focus
    {
        transform: none;
    }

    .contact .heart,
    .contact img.heart
    {
        width: 35px;
        height: 35px;
        margin: 5px;
        display: inline;
    }

    section
    {
        display: block;
        float: right;
        width: calc(50% - 20px);
    }

    .price
    {
        margin-top: -220px;
        top:auto;
    }

    h2
    {
        font-size:0.8em;
    }
}

@media screen and (max-width: 750px)
{
    section
    {
        display: block;
        float: right;
        width: calc(100% - 20px);
    }

    nav
    {
        height:80px;
        line-height:10px;
    }

    nav a
    {
        display:block;
    }

    nav img
    {
        margin:0;
        margin-left:10px;
    }

    .contact, .contact:hover
    {
        height:250px;
    }

    .contact span
    {
        display:inline-block;
        text-align:right;
        width:135px;
    }
    .contact div
    {
        display:block;
    }

    .contact img.heart
    {
        display:block;
        margin:0 auto;
        width:150px;
        margin-bottom:5px;
        vertical-align:middle;
    }

    .contact .heart,
    .contact img.heart
    {
        width: 120px;
        height: auto;
        margin: 0 auto;
        display:block;
    }

    header .hat,
    header .logo
    {
        display:block;
        float:none;
        margin:0px auto;
        height:100px;
        width:auto;
        max-width:90%;
    }

    h2
    {
        font-size:0.6em;
    }

    footer
    {
        margin-bottom:220px;
    }

    .contact input[type='text'],
    .contact textarea
    {
        width:250px;
    }
}


