﻿.contact-of-site {
    padding: 80px 10px;
    max-width: 1200px;
    margin: auto;
    padding: 100px 10px 0 10px;
}

    .contact-of-site > h1 {
        font-size: 20px;
        margin-bottom: 20px;
        text-align: center;
    }

    .contact-of-site > p {
        font-size: 18px;
        margin: 20px;
        text-align: center;
    }

.top-of-contact {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-bottom: 50px;
}

.img-of-contact {
    width: 100%
}

    .img-of-contact > img {
        width: 100%;
        box-shadow: 0px 10px 16px 2px #0000004f;
        border-radius: 20px;
        max-width: 500px;
        margin: auto;
        display: block;
    }

.text-of-contact {
    width: 100%;
    display: flex;
    flex-direction: column;
}

    .text-of-contact > a {
        margin: 20px 0 0 0;
        color: black;
        font-size: 16px;
        display: flex;
        transition: color 0.5s;
    }

        .text-of-contact > a:first-child > i,
        .text-of-contact > a:nth-child(2) > i {
            transform: rotateY(180deg);
        }

        .text-of-contact > a:first-child:hover,
        .text-of-contact > a:nth-child(2):hover,
        .text-of-contact > a:nth-child(3):hover,
        .text-of-contact > a:nth-child(4):hover {
            color: #ff165d;
        }

        .text-of-contact > a > i {
            font-size: 22px;
            margin-left: 10px;
            color: #00609c;
            width: 30px;
            display: flex;
            justify-content: center;
        }

    .text-of-contact > div {
        margin-top: 30px;
    }

        .text-of-contact > div > span {
            display: block;
            text-align: center;
            font-size: 18px;
        }

        .text-of-contact > div > div {
            display: flex;
            margin-top: 20px;
            justify-content: center;
        }


.social-of-contact {
    width: 60px;
    height: 60px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.icon-of-social {
    opacity: 1;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: opacity 1s;
}

.icon-of-social-h {
    position: absolute;
    opacity: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: opacity 1s;
}

.social-of-contact:hover .icon-of-social {
    opacity: 0;
}

.social-of-contact:hover .icon-of-social-h {
    opacity: 1;
}


.map-of-contact {
    margin: 50px auto 100px auto;
    max-width: 1200px;
    padding: 10px;
}

    .map-of-contact > div {
        width: 100%;
        height: 350px;
        box-shadow: 0px 0px 10px 2px #0000004f;
    }


@media only screen and (min-width: 900px) {
    /*.contact-of-site {
        padding: 100px 10px;
    }
*/
    .top-of-contact {
        direction: ltr
    }

    .img-of-contact {
        width: 30%
    }

    .text-of-contact {
        width: 60%
    }
}
