@import url(styles.css);

.part3 {
    height: 100vh;
    width: 100% !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.part3 .part3-text h1 {
    margin-bottom: 96px;
    font-weight: 600;
}

.part3 .part3-div-cards {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 48px;
}

.part3 .part3-div-cards .part3-card {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 402px;
    border: 1px solid var(--primary-color);
    gap: 22px;
    padding: 24px 28px;
    border-radius: 8px;
    transition: transform .5s ease;
}

.part3 .part3-div-cards .part3-card:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    transition: transform .5s ease;
}

.part3 .part3-div-cards .part3-card .div-icon {
    height: 80%;
    background-color: var(--primary-color);
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: auto;
}

.part3 .part3-div-cards .part3-card .div-text {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.part3 .part3-div-cards .part3-card img {
    font-size: 34px;
}

.part3 .part3-div-cards .part3-card p {
    font-size: 14px;
    margin: 0;
}

@media screen and (min-width: 320px) {
    .part3 {
        height: 100%;
    }

    .part3 .part3-text h1 {
        font-size: 24px;
        margin: 10% 0;
    }

    .part3 .part3-text h1 .optional-h1 {
        display: none;
    }

    .part3 .part3-div-cards {
        display: flex;
        flex-direction: column;
    }
    
    .part3 .part3-div-cards .part3-card {
        width: 100%;
        height: auto;
    }

    .part3 .part3-div-cards .part3-card .div-icon {
        height: 34px;
        width: 34px;
        padding: 30px;
    }
    
    .part3 .part3-div-cards .part3-card .div-text {
        display: flex;
        align-items: center;
    }
    
    .part3 .part3-div-cards .part3-card img {
        font-size: 34px;
    }
    
    .part3 .part3-div-cards .part3-card p {
        font-size: 14px;
        margin: 0;
    }
}

@media screen and (min-width: 480px) {
    .part3 .part3-text h1 .optional-h1 {
        display: none;
    }
}

@media screen and (min-width: 800px) {
    .part3 .part3-text h1 {
        font-size: 30px;
    }

    .part3 .part3-div-cards {
        display: flex;
        flex-direction: column;
    }
    
    .part3 .part3-div-cards .part3-card {
        width: 100%;
        height: auto;
    }

    .part3 .part3-div-cards .part3-card .div-icon {
        height: 40px;
        width: 40px;
        padding: 40px;
    }

    .part3 .part3-div-cards .part3-card p {
        font-size: 16px;
    }
}

@media screen and (min-width: 1030px) {
    .part3 {
        height: 80vh;
    }

    .part3 .part3-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .part3 .part3-text h1 {
        font-size: 30px;
        width: 70%;
    }

    .part3 .part3-text h1 .optional-h1 {
        display: inline;
    }

    .part3 .part3-div-cards {
        flex-direction: row;
    }

    .part3 .part3-div-cards .part3-card p {
        font-size: 16px;
    }
}

@media screen and (min-width: 1300px) {
.part3 {
    height: 100vh;
    width: 100% !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
}

.part3 .part3-text h1 {
    margin-bottom: 96px;
    font-weight: 600;
}

.part3 .part3-div-cards {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 48px;
}

.part3 .part3-div-cards .part3-card {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 402px;
    gap: 22px;
    padding: 24px 28px;
}

.part3 .part3-div-cards .part3-card .div-icon {
    height: auto;
    width: auto;
    background-color: var(--primary-color);
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: auto;
}

.part3 .part3-div-cards .part3-card .div-text {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.part3 .part3-div-cards .part3-card img {
    font-size: 34px;
}

.part3 .part3-div-cards .part3-card p {
    font-size: 14px;
    margin: 0;
}
}