*{
    text-decoration: none;
    font-family: poppins;
    box-sizing: border-box;
}
.background{ 
    background:  url(background.jpg) no-repeat center center fixed; 
    background-size: cover;
    background-position: center;
    position: relative;

  }
body{
    margin: 0;
}

.section-1,.section-2 {
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
background-color: rgba(187, 188, 239, 0.418);
}
.block-1{
display: flex;
flex-direction: row;
align-items: center;
}
.block-1 div:first-child{
margin-right: 42px;
}
.social-btn i {
    font-size: 18px;
    margin: 12px 9px;
    color: rgba(22, 33, 138, 0.637);
}
.social-btn i:hover {color: steelblue;}

.phone-appointment{
    display: flex;
    flex-direction: row;
    align-items: center;
    }
.phone-number{
    font-size: 18px;
    padding: 5px 10px;
    border: 1px solid rgba(128, 128, 128, 0.342);
    border-radius: 20px;
} 
.appointment button {
border: none;
background-color: rgba(62, 143, 62, 0.5);
font-size: 18px;
color: honeydew;
outline: none;
padding: 10px 12px;
border-radius: 30px;
margin: 0 15px;
transition: box-shadow .5s;
}
.appointment button:hover{
    box-shadow: 0px 0px 10px green;
}

nav{
    background-color: rgba(41, 93, 206, 0.425);
}
nav ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
    cursor: default;
    text-align: center;
}
nav ul li{
    display: inline-block;
}
nav ul li a{
    display: block;
    color: rgb(23, 25, 147);
    font-size: 18px;
    padding: 10px 12px;
    margin: 0 5px;
    font-weight: 500;
    border-bottom: 4px solid transparent;
    border-top: 4px solid transparent;
    border-radius: 16px 0px 16px 0px;
}
nav ul li a:hover{
    background-color: lightgoldenrodyellow;
    border-bottom: 4px solid rgba(165, 42, 42, 0.589);
}
#toggle{display: none;}
#toggle-btn{
text-align: right;
display: none;}
#toggle-btn i{
    font-size: 21px;
    padding: 7px;
    background-color: white;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
}
.wrapper{min-height: 100%; }
.text{
    padding-right: 100px;
    padding-left: 100px;
}
.block-2{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    background-color: rgba(62, 60, 196, 0.242);
    font-size: 18px;
    padding: 5px 10px;
    }
.block-2 div:first-child{
        margin-right: 42px;
        }
.cpr{
            margin-right: 42px;
            text-align: center;
            }

            .columnxz
            {
              margin-top: 10px;
              width: 50%;
              height: auto;
              display: flex;
              flex-direction: column;
              align-items: center;
              padding-top: 50px;
              padding-bottom: 20px;
              margin-left: 25%;
              margin-right: 25%;
            }
            .row ::after{ display: table;}

            .contact-map iframe
            {
                width: 100%;
                height: 200px;
                margin-bottom: 20px;
            }
            .contact-form
            {   
                width: 100%;
                height: auto;
                text-align: left;
                padding:10px;
                background: rgba(76, 107, 175, 0.3);
                border-radius: 0 100px;
            }
            
            .contact-form h1
            {
               margin-bottom: 10px; 
            }
            .contact-form-text
            {
                align-items: center;
                width: 100%;
                height: 60px;
                color: #000;
                margin-bottom: 20px;
                padding: 15px;
            }
            .contact-form-textarea
            {
            width: 100%;
            color: #000;
            margin-bottom: 20px;
            padding: 15px;
            }
            .textarea
            {resize: vertical;}
            
            .contact-form-btn
            {
                width: 100%;
                border: none;
                outline: none;
                border-radius: 0 50px;
                background-color: blue;
                color: #fff;
                text-transform: uppercase;
                padding: 10px 0;
                cursor: pointer;
                font-size: 18px;
            }
            .status
            {
                width: 90%;
                border: none;
                outline: none;
                text-align: center;
                padding: 10px ;
                margin: 0 auto;
                font-size: 18px;
                border-radius: 15px;
            }
            .status .success{
            color: rgb(30, 131, 80);
            animation: status 4s ease forwards;
            }
            .status .error{
            color: rgb(223, 33, 33);
            animation: status 4s ease forwards;
            }
            @keyframes status{
            0%
            {
            opacity: 1;
            pointer-events: all;
            }
            90%
            {
                opacity: 1;
                pointer-events: all;
            }
            100%
            {
                    opacity: 0;
                    pointer-events: none;
                    }
                }
            
            
            body1 {
                width: 60%;
                height: auto;
                margin: 20px;
                padding: 20px;
                
                
              }
              
              div.elem-group {
                margin-right: 25%;
                margin-left: 25%;
               
              }
                
              input, select, textarea {
                border-radius: 2px;
                border: 2px solid #777;
                box-sizing: border-box;
                font-size: 1.25em;
                font-family: 'Nanum Gothic';
                width: 100%;
                padding: 10px;
                
              }
              
              
              textarea {
                height: 250px;
              }
              
              button {
                height: 50px;
                background: orange;
                border: none;
                color: white;
                margin-bottom: 5%;
                text-align: center;
                font-size: 1.25em;
                font-family: 'Nanum Gothic';
                border-radius: 4px;
                cursor: pointer;
              }
              
              button:hover {
                border: 2px solid black;
              }
            

.row-1{
    display: flex;
    height:80%;
    align-items: center;
}
.col-1{
    flex-basis: 50%;
}


            
@media screen and (max-width: 768px) and (min-width: 300px)
{
  *{
      padding: 0;
      margin: 0;  
  }
    .text{padding: 0;}
    .section-1{font-size: 9px;}
    .social-btn a i{font-size: 9px;}
.block-1{
    flex-direction: column;
}  
.block-1 div:first-child{
    margin-right: 0px;
    }
    .section-2{flex-direction: column;
    padding-bottom: 12px;}
    .phone-number{font-size: 9px;}
    .appointment{font-size: 9px;}

#toggle-btn{display: block;}
nav ul{display: none;}
#toggle:checked + ul{
    display: block;
}
nav ul li{display: block;}
nav ul li a{font-size: 15px;}

.block-2{
    flex-direction: row;
}  
.block-2 div:first-child{
    margin-right: 0px;
    }
    .contact-form
    {   
        border-radius: 0 50px;
    }
}

