@import "base.css";

.header {
    color: #f2f2f2;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
    height: 11vw;
    position: sticky;
    top: 0;
}

.header .contact {
    width: 100%;
    display: flex;
    background-color: var(--main);
    height: 40%;
    justify-content: space-around;
    padding: 0% 10% 0% 10%;
}

.header .contact .phone,
.header .contact .social {
    width: 50%;
}

.header .contact .phone {
    height: 100%;
    display: flex;
    align-items: center;
}

.header .contact .phone a {
    font-size: 1.5vw;
    font-weight: 200;
    padding-left: 10px;
    text-decoration: none;
    color: var(--bg);
}

.header .contact .phone .icon {
    width: 5vw;
    height: 3vw;
    stroke-width: 1px;
}

.header .contact .social {
    width: 50%;
    display: flex;
    justify-content: end;
    align-items: center;
}

.header .contact .social a {
    text-decoration: none;
    color: var(--bg);
    display: flex;
    height: 100%;
    align-items: center;
}

.header .contact .social .icon {
    margin: 0 1vw;
    width: 3vw;
    height: 3vw;
    stroke-width: 0.5px;
    border: 0.1vw solid var(--bg);
    border-radius: 5px;
    transition: all 0.25s ease-in-out;
}

.header .contact .social .icon:hover {
    cursor: pointer;
    background-color: var(--bg);
    stroke: var(--main);
}

.header .contact select {
    background: none;
    border: none;
    color: var(--bg);
    font-size: 1.5vw;
}

.header .links {
    width: 100%;
    display: flex;
    height: 60%;
    background-color: #f2f2f2;
}

.header .links .logo {
    width: 35%;
    display: flex;
    align-items: center;
    padding-left: 10%;
}

.header .links .logo .icon {
    width: 10vw;
    height: 3.5vw;
    background: url("../images/logo.webp");
    background-size: cover;
}

.header .links .items {
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.header .links .items a {
    text-decoration: none;
    color: var(--main);
    font-size: 1.5vw;
    font-weight: 600;
    transition: all 0.25s ease-in-out;
}

.header .links .items a:hover {
    cursor: pointer;
}

.header .icons {
    height: 100%;
    display: flex;
    align-items: center;
    margin-right: 1%;
    width: 15vw;
    justify-content: space-between;
}

.header .icons i {
    scale: 2;
}

@media screen and (max-width: 900px) {
    .header {
        height: 25vw;
    }
    .header .links .logo .icon {
        width: 22vw;
        height: 7vw;
    }

    .header .links .items {
        width: 60%;
    }

    .header .links .items {
        justify-content: flex-end;
        padding-right: 5vw;
    }

    .header .links .items a {
        display: none;
    }

    .header .links .items i {
        color: var(--main);
        font-size: 5.5vw;
    }

    .header .icons i {
        font-size: 2.5vw;
    }

    .header .contact {
        padding: 0% 6vw 0% 5vw;
        height: 50%;
    }

    .header .icons {
        width: 65%;
    }

    .header .contact .phone {
        width: 35%;
        display: flex;
        justify-content: flex-start;
    }

    .header .contact .phone a {
        font-size: 3vw;
    }
}
