::placeholder
{
    font-size: .8vw;
    color: rgb(16, 46, 110);
    opacity: 0.5;
}


#contact-intro 
{
    position: relative;
    width: 100%;
    height: 60vh;
   background-image: url('/img/contact_two.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position-x: 0%;
    background-position-y: 35%;
}
#contact-intro  h1{
    width: 50%;
    text-align: center;
    color: white;
}

#contact-intro div
{
    display: flex;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(3, 2, 49, 0.904), rgba(15, 7, 80, 0.808), rgba(22, 32, 92, 0.3));
}

h2
{
    text-align: center;
    font-size: 1.5vw;
    color: rgb(255, 255, 255);
    text-transform: capitalize;
    font-variant: small-caps;
    padding: 3% 0;
    background: var(--color);;
}

#contact-cnt
{
    display: flex;
    align-items: center;
    color: rgb(16, 46, 110);
    justify-content: center;
    height: 80vh;
}

form 
{
    width: 70%;
    height: auto;
    padding-left: 10%;
    border-left: 1px solid rgb(16, 46, 110);
}
form h1 
{
    color: var(--color);
    font-size: 2vw;
}
form p 
{
    display: flex;
    align-items: center;
    color: rgb(16, 46, 110);
    padding-block: 2%;
    
}
form img
{
    width: 25%;
    padding-inline: 2% 10%;
}
form input
{
    width: 100%;
    padding: 3% 3%;
    margin-block: 1%;
    font-size: .9vw;
    color: rgb(16, 46, 110);
    border: none;
    background: transparent;
    border-bottom: .1px solid rgb(16, 46, 110);
    cursor: pointer;
    font-family: inherit;
    transition: .2s;
}

input:hover, input:focus, input:hover::placeholder
{
    animation: fill .5s ease-in-out .1s both 1;
    background: transparent;
}

@keyframes fill 
{
    from {
        /*width: 0;*/
        background: transparent;
    }
    to {
        color: rgb(255, 255, 255);
        background: rgba(0, 0, 148, 0.33);
       /* width:100%;*/
    }
}
#contact-cnt i 
{
    font-size: 2vw;
    padding: 1% 0;
}
form input:focus 
{
    outline: none;
}

input[type="submit"]
{
    width: 40%;
    border-radius: 3vw;
    border: none;
    font-size: 1vw;
    padding-block: 4%;
    background:rgb(16, 46, 110);
    color: white;
    transition: all .5s;
}

input[type="submit"]:hover
{
    color: rgb(255, 255, 255);
    background: rgb(152, 152, 152);
    animation: none;
    font-weight: bolder;
}

#contact-cnt div:last-child 
{
    width: 30%;
    height: 80%;
    display: grid;
    place-items: center;
    padding: 5% 0;
}

#contact-cnt textarea
{
    width: 100%;
    background: rgba(255, 255, 255, 0);;
    border: none;
    color: var(--color);
    border-bottom: 1px solid white;
    resize: none;
    padding: 4%;
    font-weight: lighter;
    font-size: .9vw;
    font-family: inherit;
    height: 100px;
}

textarea:hover, textarea:focus, textarea:active
input:hover, input:focus, input:active
{
    outline: none;
    border: none;
}

#icons 
{
    width: 100%;
    height: 50vh;
    display: grid;
    place-content: center;
    overflow: hidden;
}
#icons ul 
{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#icons ul li 
{
    position: relative;
    width: 4%;
    text-align: center;
    height: 100%;
    transition: all .5s;
    display: grid;
    place-items: center;
    margin-inline: 1%;
    border-radius: 50%;
    box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.2);
    padding: 1% 1.5%;
}

#icons ul li img 
{
    width: 70%;
}
#icons i 
{
    font-size: 1vw;
    color: rgb(0, 140, 255);
}

#icons h4 
{
    color: rgb(100, 184, 226);
    text-align: center;
    padding: 3% 0;
    margin-bottom: 2%;
}

#icons ul li:first-child:hover 
{
    background: rgba(0, 183, 255, 0.493);
}
#icons ul li:nth-child(2):hover 
{
    background: rgba(16, 46, 110, 0.705);
}
#icons ul li:nth-child(3):hover 
{
    background: rgba(196, 74, 3, 0.318);
}
#icons ul li:nth-child(4):hover 
{
    background: rgba(78, 168, 204, 0.418);
}
#icons ul li:last-child:hover 
{
    background: rgba(0, 253, 148, 0.623);
}

#icons li span {
width: 100%;
padding: 10%;
font-size: .8vw;
position: absolute;
top: 0;
transform: translateY(200%);
opacity: 0;
text-align: center;
left:0;margin-top: -70%;
transition: all .25s;
border-radius: 30px;
color: white;
}
#icons li:first-child span{background: rgb(0, 183, 255);}
#icons li:nth-child(2) span{background: rgb(16, 46, 110);}
#icons li:nth-child(3) span{ background: rgb(196, 74, 3);}
#icons li:nth-child(4) span{background: rgb(78, 168, 204);}
#icons li:last-child span{ background: rgb(1, 218, 127);}

#icons ul li:first-child:hover span{
    transform: translateY(0);
    opacity: 1;
}

#icons ul li:nth-child(2):hover span{
    transform: translateY(0);
    opacity: 1;
}

#icons ul li:nth-child(3):hover span{
    transform: translateY(0);
    opacity: 1;
}

#icons ul li:nth-child(4):hover span{
    transform: translateY(0);
    opacity: 1;
}

#icons ul li:last-child:hover span{
    transform: translateY(0);
    opacity: 1;
}

#note 
{ 
    padding: 0 1%;
    height: 70%;
}

#note p:first-child
{
    font-size: 1.5vw;
    text-transform: capitalize;
    font-weight: bold;
    padding: 3% 0;
    width: 80%;
    margin:0 auto;;
}

#note section
{
    width: 80%;
    font-size: .9vw;
    line-height: 120%;
    margin: 0 auto;
    margin-block: 5%;
}

#note h6 
{
    font-size: 1.2vw;
    text-transform: capitalize;
    font-weight: 500;
}
















@media only screen and (max-width: 900px)
{
    ::placeholder
{
    font-size: 100%;
    opacity: 0.5;
}

    #contact-intro 
    {
        height: 45vh;
        background-size: cover;
        background-position: right;
    }
    #contact-intro  h1{
        width: 60%;
    }
    
    #contact-intro div
    {
        display: flex;
        align-items: center;
        position: absolute;
        width: 100%;
        height: 100%;
    }
    
    h2
    {
        font-size: 150%;
    }
    
    #contact-cnt
    {
        display: block;
        height: auto;
    }

    #contact-cnt div > p 
    {
        text-align: center;
    }
    
    form 
    {
        width: 80%;
        height: auto;
        padding-left: 0;
        border-left: none;
    }
   
    form p 
    {
        display: flex;
        align-items: center;
        padding-block: 2%;
        font-size: 200%;
    }
    form img
    {
        width: 25%;
        padding-inline: 2% 10%;
    }
    #contact-cnt i
    {
        font-size: 200%;
    }
    form input
    {
        margin-block: 2%;
        padding-left: 5%;
        font-size: 80%;
    }

    input[type="submit"]
    {
        border-radius: 30px;
        font-size: 80%;
    }
    
    input[type="submit"]:hover
    {
        color: white;
        background: rgb(35, 41, 92);
        animation: none;
        font-weight: bolder;
    }
    
    #contact-cnt div:last-child 
    {
        width: 90%;
        height: auto;
        display: grid;
        place-items: center;
        padding: 5% 0;
    }
   
#contact-cnt textarea
{
    width: 100%;
    color: var(--color);
    border-bottom: 1px solid rgb(16, 46, 110);
    font-size: 90%;
    height: 100px;
}

    
    #icons 
    {
        width: 100%;
        height: 50vh;
        display: grid;
        place-content: center;
        overflow: hidden;
    }
    #icons ul 
    {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #icons ul li 
    {
        position: relative;
        width: 12%;
        height: 100%;
        transition: all .5s;
        display: grid;
        place-items: center;
        text-align: center;
        margin-inline: 2%;
        border-radius: 50%;
        box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.2);
        padding: 1%;
    }
    
    #icons ul li img 
    {
        width: 70%;
    }
    #icons i
    {
        font-size: 120%;
    }
    #icons h4
    {
        font-size: 150%;
        padding: 5% 0;
    }
    #icons li span
    {
        display: none;
    }
    #note 
    { 
        padding: 0 1%;
        height: 70%;
    }
    
    #note p:first-child
    {
        font-size: 100%;
        text-transform: capitalize;
        font-weight: bold;
        padding: 5% 0;
        width: 80%;
        margin:0 auto;;
    }
    
    #note section
    {
        width: 80%;
        font-size: 80%;
        line-height: 120%;
        margin: 0 auto;
        margin-block: 5%;
    }
    
    #note h6 
    {
        font-size: 120%;
        text-transform: capitalize;
        font-weight: 500;
    }
    
}