/* Copyright (c) 2017 Roland Horváth. All Rights Reserved. */

#contact {
    color: #404040;
    /*height: 772px;*/
}

#contact .title {
    color: #404040;
}

#contact .availability {
    font-weight: 500;
    font-size: 20px;
    margin-top: 13px;
}

#contact .availability .indicator {
    margin: 9px 12px 0px 5px;
    width: 10px;
    height: 10px;
    background: #35C759;
    border-radius: 50%;
    float: left;
}

#contact .availability .indicator:before {
    content: '';
    width: 10px;
    height: 10px;
    background: #35C759;
    border-radius: 50%;
    position: absolute;
    animation: sonar 2s ease-out infinite
}

#contact .availability .message {
    margin-top: -5px;
}

#contact .availability {

}

#contact .motivation {
    font-weight: 500;
    font-size: 20px;
    color: #404040;
    letter-spacing: -0.25px;
    line-height: 32px;
    margin: 16px 0 26px 2px;
    max-width: 500px;
}

#contact a {
	color: #505050;
}

#contact form {
    width: 470px;
}

#contact form input,
#contact form textarea,
#contact form button,
#contact .button {
    width: 350px;
    height: 52px;

    background: #EBEDEE;
    color: #404040;

    box-sizing: border-box;
    border-radius: 4px;
    border: none;

	outline: none;
	
	display: inline-block;

    /*padding: 18px 0 18px 20px;*/

    padding-left: 20px;
    padding-bottom: 3px;
    margin-bottom: 8px;

    font-weight: 500;
    font-size: 19px;
    /*line-height: 19px;*/
}

#contact form button,
#contact .button {
    transition: .45s ease-out;
    outline: none;
    /* color: #fff; */
}

#contact form textarea {
    width: 470px;
    height: 250px;
    padding-top: 14px;
    padding-right: 20px;
    outline: none
}

#contact form input::placeholder,
#contact form textarea::placeholder {
    color: #374149;
    opacity: 0.5;
}

#contact form button,
#contact .button {
    /* background: #0097FF; */
    margin-top: 2px;
    /* padding: 0 0 1px 0; */
		text-align: left;

    width: 130px;
    height: 50px;

    cursor: pointer;
}

#contact .button {
	width: auto;
	height: auto;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	padding: 10px 18px;
}

#contact form button .spinner,
#contact form button .checkmark,
#contact form button .sent,
#contact form button .fail {
    display: none;
}

#contact form button .spinner {
  height: 16px;
  width: 16px;
  border: 4px solid rgba(255, 255, 255, 1);
  border-top-color: rgba(255, 255, 255, 0.25);
  border-right-color: rgba(255, 255, 255, 0.25);
  border-bottom-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  animation: rotation 1s infinite linear;
  margin-top: 4px;
}

#contact form .error {
    animation: shake-n-fade 5s ease-in-out;
    /*#19bbe0*/
}

#contact .bold {
    font-weight: 600;
}

#contact .bold a {
    color: inherit;
    text-decoration: none
}

#contact .email-container {
    font-weight: 500;
    font-size: 17px;
    color: #404040;
    line-height: 54px;
    float: right;
    margin: 0 4px;
    text-align: right;

    width: 300px;
    height: 54px;
}

#contact .email-container .address,
#contact .email-container .options,
#contact .email-container .copied {
    width: 300px;
    height: 54px;
    position: absolute;
}

#contact .email-container .address {

}

#contact .email-container .options {
    display: none;
}

#contact .email-container .options .copy:hover,
#contact .email-container .options .open:hover{
    color: #404040;
    cursor: pointer;
}

#contact .email-container .copied {
    display: none;
    margin-right: 2px;
}



/* Footer seciton */

#footer {
    background: #21272E;
}

#footer .content {
    margin: 0 auto;
    max-width: 1288px;
    height: 360px;
    padding: 72px 72px 0 72px;
    box-sizing: border-box;
}

#footer .links {
    display: inline-flex;
}

#footer .group {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: auto;
    margin-right: 124px;
}

#footer .group:last-of-type {
    margin: 0;
}

#footer .group .header {
    font-weight: 600;
    font-size: 15px;
    color: #697A88;
    letter-spacing: 0.83px;
    text-transform: uppercase;
    height: 15px;
    margin-bottom: 16px;
}

#footer .group a {
    font-weight: 500;
    font-size: 18px;
    color: #C3CFD9;
    text-decoration: none;
    display: block;
    height: 18px;
    margin-bottom: 12px;
}

#footer .author {
    font-weight: 600;
    font-size: 15px;
    color: #697A88;
    letter-spacing: 0.5px;
    line-height: 19px;
    float: right;
    text-transform: uppercase;
    text-align: right;
    margin-top: 84px;
}

@keyframes shake {
  0% { transform: translateX(0) }
  20% { transform: translateX(-8px) }
  40% { transform: translateX(8px) }
  60% { transform: translateX(-8px) }
  80% { transform: translateX(8px) }
  100% { transform: translateX(0) }
}

@keyframes shake-n-fade {
  0% { transform: translateX(0); background: #BD8383 }
  2% { transform: translateX(-8px) }
  4% { transform: translateX(8px) }
  6% { transform: translateX(-8px) }
  8% { transform: translateX(8px) }
  10% { transform: translateX(0) }
  90% { background: #BD8383 }
  100% { background: #899BA9 }
}

@keyframes rotation {
  from { transform: rotate(0deg); }
  to { transform: rotate(359deg); }
}

@keyframes sonar {
  from { opacity: 0.65; transform: scale(1);}
  to { opacity: 0; transform: scale(2.5); }
}


@media (max-width: 1024px) {
    
    #footer .content {
        height: auto;
        padding: 72px 16px;
    }

    #footer .links {
        width: 100%;

        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    #footer .links .group {
        margin: 0 24px;
        justify-items: left;
    }

    #footer .author {
        float: inherit;
        text-align: center;
    }
}

@media (max-width: 560px) {

    #contact form input,
    #contact form textarea,
		#contact form button,
		#contact .button {
        width: 100%;
    }

    #contact .email-container {
        margin: 0 auto;
        width: 100%;
        text-align: center;
    }

    #contact .email-container .address {
        width: 100%;
        position: relative;
    }

    #contact .email-container {
        float: inherit;
    }

    #contact .or {
        display: none
    }

    #contact form {
        width: auto;
    }
}

@media (max-width: 490px) {

    #footer .content {
        padding: 50px 16px;
    }

    #footer .links .group:first-child {
        display: none;
    }

    #footer .group a {
        font-size: 16px;
        margin-bottom: 8px;
    }

    #footer .author {
        font-size: 13px;
        margin-top: 40px;
    }

    #contact .availability .message {
        font-size: 16px;
        line-height: 1.5
    }

    #contact .availability .indicator {
        margin: 6px 10px 0px 4px;
    }

    #contact .motivation {
        line-height: 28px;
        font-size: 16px;
        margin: 10px 0 16px 2px;
    }
}