@import url(https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;300;400;500;600;800;900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Roboto:wght@100;200;300;400;500;600;800;900&display=swap);

html {
    display: flex;
    justify-content: center;
}

body {
    font-family: 'Roboto', sans-serif;
    width: 1520px;
    padding: 0;
    box-sizing: border-box;
    margin: 0;
    user-select: none;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
}

header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    height: 80px;
}

.logo-header h1 {
    margin-left: 215px;
}

.logo-header:hover {
    h1 {
        color: #000;
        transition: color 0.5s ease-in-out;
    }

    span {
        color: #2297F3;
        transition: color 0.5s ease-in-out;
    }
    
}

.logo-header h1,
.logo-footer h1 {
    color: #2196F3;
    font-family: Raleway;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.78px;
}

.logo-header span,
.logo-footer span {
    color: #000;
    font-family: Raleway;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.78px;
}

header nav {
    margin-left: 90px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    display: flex;
    gap: 51px;
}


nav ul li a {
    text-decoration: none;
    padding-bottom: 30px;
    position: relative;
    color: #212121;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.28px;
}

nav ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: #2196F3;
    transition: width 0.3s ease, left 0.3s ease;
    position: absolute;
    bottom: 0;
    left: 50%;
    border-radius: 2px;

}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
    left: 0;
    transform: none;

}

nav a:hover {
    color: rgba(33, 150, 243, 1);
    
}

.contact-info a:hover {
    color: rgba(33, 150, 243, 1);
}

nav .active {
    color: #007BFF;
}

.contact-info {
    margin-left: 344px;
}

.contact-info a:last-of-type {
    margin-left: 45px;
}

.contact-info a {
    text-decoration: none;
    color: #757575;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.28px;
    transition: color 0.5s ease;
}

.hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 600px;
    background: url('./src/img/hero/hero-background.png') no-repeat center center;
    background-size: cover;
    color: rgba(255, 255, 255, 1);
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(47, 48, 58, 0.40);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    margin-top: 0;
    font-size: 44px;
    padding: 10px 20px;
}

.hero button {
    background: rgba(33, 150, 243, 1);
    color: var(--white);
    width: 216px;
    height: 50px;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
}

.hero button:hover {
    background: rgba(33, 120, 243, 1);
}


.features {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 94px;
    gap: 30px;
}

.feature {
    width: 270px;
    height: 98px;
    flex-shrink: 0;
}

.feature img {
    border-radius: 10px;
}

.feature:nth-last-of-type(2),
.feature:nth-last-of-type(3) {
    margin-top: -27px;
    width: 270px;
    height: 74px;
    flex-shrink: 0;
}

.feature h3 {
    color: #212121;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    margin-top: 30px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.42px;
    text-transform: uppercase;
}

.feature p {
    color: #757575;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.42px;
}

.activities {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    height: 500px;
    gap: 30px;
    margin-top: 150px;
    margin-bottom: 35px;
}

.activities h2 {
    width: 100%;
    color: #212121;
    margin-bottom: -65px;
    text-align: center;
    font-family: Roboto;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1.08px;
}

.activity {
    width: 370px;
    height: 294px;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s;
}

.activity:hover {
   transform: scale(1.05);
}

.rectangle-activities {
    position: absolute;
    width: 350px;
    height: 50px;
    flex-shrink: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 10px;
}

.rectangle-activity {
    color: #FFF;
    text-align: center;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.42px;
    text-transform: uppercase;
}

.team {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    height: 548px;
    padding: 50px 30px;
    background: rgba(245, 244, 250, 1);
    text-align: center;
}

.team h2 {
    width: 100%;
    color: #212121;
    text-align: center;
    font-family: Roboto;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1.08px;
}

.team-members {
    display: flex;
}

.team-member h3 {
    color: #212121;
    text-align: center;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.48px;
}

.team-member p {
    color: #757575;
    text-align: center;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.48px;
}

.team-member {
    background: rgba(255, 255, 255, 1);
    width: 270px;
    height: 415px;
    margin: 0 25px;
    text-align: center;
}

.team-member img {
    width: 270px;
    height: auto;
}

.team-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: -10px;
    width: 270px;
    height: 65px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.team-social-symbol {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.team-social1, .team-social2, .team-social3, .team-social4{
    transition: background-image 0.5s ease;
}

.team-social1 {
    background-image: url('./src/img/team/team-social-1.png');
}

.team-social1:hover {
    background-image: url('./src/img/footer-social/footer-social-blue-1.png');
}

.team-social2 {
    background-image: url('./src/img/team/team-social-2.png');
}

.team-social2:hover {
    background-image: url('./src/img/footer-social/footer-social-blue-2.png');
}

.team-social3 {
    background-image: url('./src/img/team/team-social-3.png');
}

.team-social3:hover {
    background-image: url('./src/img/footer-social/footer-social-blue-3.png');
}

.team-social4 {
    background-image: url('./src/img/team/team-social-4.png');
}

.team-social4:hover {
    background-image: url('./src/img/footer-social/footer-social-blue-4.png');
}


.clients {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.client-tittle {
    color: #212121;
    text-align: center;
    font-family: Roboto;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1.08px;
    margin-top: 94px;
}


.client {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.client-symbol {
    width: 170px;
    height: 92px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image 0.3s ease;
    margin-top: 50px;
    margin-bottom: 94px;
}


.client-symbol1 {
    background-image: url('./src/img/client-symbol/client-gray-1.png');
}

.client-symbol1:hover {
    background-image: url('./src/img/client-symbol/client-blue-1.png');
}

.client-symbol2 {
    background-image: url('./src/img/client-symbol/client-gray-2.png');
}

.client-symbol2:hover {
    background-image: url('./src/img/client-symbol/client-blue-2.png');
}

.client-symbol3 {
    background-image: url('./src/img/client-symbol/client-gray-3.png');
}

.client-symbol3:hover {
    background-image: url('./src/img/client-symbol/client-blue-3.png');
}

.client-symbol4 {
    background-image: url('./src/img/client-symbol/client-gray-4.png');
}

.client-symbol4:hover {
    background-image: url('./src/img/client-symbol/client-blue-4.png');
}

.client-symbol5 {
    background-image: url('./src/img/client-symbol/client-gray-5.png');
}

.client-symbol5:hover {
    background-image: url('./src/img/client-symbol/client-blue-5.png');
}

.client-symbol6 {
    background-image: url('./src/img/client-symbol/client-gray-6.png');
}

.client-symbol6:hover {
    background-image: url('./src/img/client-symbol/client-blue-6.png');
}

footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: #2F303A;
    padding: 20px 0;
}

.container-footer {
    margin-left: 154px;
}

.logo-footer span {
    color: #FFF;
    font-family: Raleway;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.78px;
}

footer .address {
    color: #FFF;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    margin-top: px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.42px;
}

.footer-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.60);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 171.429% */
    letter-spacing: 0.42px;
}

.footer-link:hover {
    color: rgba(33, 150, 243, 1);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
    margin-left: 94px;
}

.social-tittle {
    color: #FFF;
    width: 100%;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.42px;
    text-transform: uppercase;
}

.social-all {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 10px;
}

.social {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.footer-social-foto1, .footer-social-foto2, .footer-social-foto3, .footer-social-foto4 {
    transition: background-image 0.5s ease;
}


.footer-social-foto1 {
    background-image: url('./src/img/footer-social/footer-social-gray-1.png');
}

.footer-social-foto1:hover {
    background-image: url('./src/img/footer-social/footer-social-blue-1.png');
}

.footer-social-foto2 {
    background-image: url('./src/img/footer-social/footer-social-gray-2.png');
}

.footer-social-foto2:hover {
    background-image: url('./src/img/footer-social/footer-social-blue-2.png');
}

.footer-social-foto3 {
    background-image: url('./src/img/footer-social/footer-social-gray-3.png');
}

.footer-social-foto3:hover {
    background-image: url('./src/img/footer-social/footer-social-blue-3.png');
}

.footer-social-foto4 {
    background-image: url('./src/img/footer-social/footer-social-gray-4.png');
}

.footer-social-foto4:hover {
    background-image: url('./src/img/footer-social/footer-social-blue-4.png');
}



.mailing-list {
    margin-left: -23px;
    margin-bottom: 41px;
}

.tittle-mailing-list {
    color: #FFF;
    font-family: Roboto;
    margin-bottom: 16px;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.42px;
    text-transform: uppercase;
}

.mailing-list-input {
    padding: 0 15px;
    width: 325px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.30);
    background: rgba(33, 150, 243, 0.00);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
}

.mailing-list-input :placeholder-shown {
    color: rgba(255, 255, 255, 0.60);
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 125% */
    letter-spacing: 0.48px;
    display: flex;
    width: 47px;
    height: 20px;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.mailing-list-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 200px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 4px;
    margin-left: 13px;
    margin-bottom: 7px;
    background: #2196F3;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
    color: #FFF;
    text-align: center;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    /* 187.5% */
    letter-spacing: 0.96px;
}




/* Модальне вікно */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 486px;
    height: 540px;
    padding: 20px;
    flex-shrink: 0;
    border-radius: 4px;
    background: #FFF;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.12), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px 0px rgba(0, 0, 0, 0.20);
}

.modal-content h2 {
    width: 448px;
    color: #212121;
    text-align: center;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.6px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    margin-top: -12px;
    margin-right: -20px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    flex-shrink: 0;

}

form {
    display: flex;
    justify-content: flex-start;
    position: relative;
    align-items: center;
    flex-wrap: wrap;
    margin-left: 18px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.form-group label {
    color: #757575;
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.12px;
}

.form-group input {
    width: 100%;
    padding: 8px 40px;
    box-sizing: border-box;
    width: 448px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid rgba(33, 33, 33, 0.20);
}

.form-group:nth-of-type(3) {
    margin-bottom: 5px;
}

.form-group:nth-of-type(4) {
    margin-bottom: 6px;
}

.form-group:nth-of-type(5) input {
    margin-bottom: 20px;
    width: 448px;
    height: 120px;
    flex-shrink: 0;
}

.form-group:nth-of-type(5) input:placeholder-shown {
    color: rgba(117, 117, 117, 0.50);
    font-family: Roboto;
    padding: 26px 12px;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.12px;
}

.form-group svg {
    position: absolute;
    margin-top: 10px;
    left: 10px;
}

.form-submit {
    margin-bottom: 29px;
    margin-left: 20px;
    color: #757575;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 171.429% */
    letter-spacing: 0.42px;
}

.button-submit {
    display: flex;
    justify-content: center;
    width: 448px;
}

.submit-btn {
    width: 200px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 4px;
    background: #2196F3;
    margin-bottom: 17px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
    color: #FFF;
    text-align: center;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 0.96px;
}

/* Модальне вікно */

::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    background: white;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(33, 150, 243, 1);
    border-radius: 100px;
}