@import "assets/styles/normalize.css";

/* FONTS */

p, span, li, ul, a {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 200;
}

h1, h2,h3, button {
    font-family: "Roboto Flex", sans-serif;
}

/* BACKGROUND */

html {
    background-color: #F1F1F1;
}

body {
    margin: 0;
    min-height: 100vh;
}

/* CONTAINER */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 16px;

    img {
        width: 200px;
    }
}

/* BUTTONS */

.button {
    border: 2px solid transparent;
    border-radius: 4px;
    padding: 6px 20px;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
}

.button a {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
}

.button-blue {
    color: #F1F1F1;
    background-color: #1A2B6E;
}

.button-blue:hover {
    background-color: transparent;
    color: #1A2B6E;
    border: 2px solid #1A2B6E;
}

.button-yellow {
    width: 150px;
    height: 40px;
    color: #1A2B6E;
    background-color: #F5A623;
}

.button-yellow:hover {
    background-color: transparent;
    color: #F5A623;
    border: 2px solid #F5A623;
}

/* BANNER */
.banner {
    display: flex;
    background-image: url("assets/images/banner.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    color: #F1F1F1;
}

.banner p {
    font-weight: 300;
}

.banner h1 {
    font-size: 50px;
    text-align: center;
}

.banner p {
    max-width: 400px;
    text-align: center;
}

.banner__content {
    padding: 150px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* BENEFITS */
.benefits__container{
    padding: 100px;
}

.benefits__content h1 {
    color: #1A2B6E;
    margin-bottom: 1rem;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.benefit {
    position: relative;
    background-color: #1A2B6E;
    color: white;
    padding: 40px;
    z-index: 1;
}

.benefit::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    border: 2px solid #1A2B6E;
    background: transparent;
    z-index: -1;
}

@media (max-width: 768px) {
    .benefits__container{
        padding: 80px 30px;
    }

    .benefits__grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }
}

/* CONTACTS */

.contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 5px;
    color: #F1F1F1;
}

.contacts h2 {
    margin: 0;
}

.contacts__block {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contacts__icon {
    width: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contacts__icon img {
    width: 100%;
}

.contacts__block a {
    max-width: 250px;
    text-decoration: none;
    color: inherit;
    font-weight: 200;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.contacts__block a:hover {
    cursor: pointer;
    border-bottom: 1px solid #F1F1F1;
}

/* FOOTER */

footer {
    background-color: #1A2B6E;
    padding: 30px 100px;
}

.footer__container {
    display: flex;
    justify-content: space-between;
}

.footer__logo {
    width: 300px;
}

@media (max-width: 768px) {
    .footer {
        padding: 20px;
    }

    .footer__container {
        flex-direction: column;
        gap: 1rem
    }
}
