* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    font-family: "Roboto", "Helvetica", sans-serif;
    color: lightgray;
}

.bg {
    background-image: url("../images/background.jpeg");
    background-color: rgba(0, 0, 0, 0.7);
    background-blend-mode: darken;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

hr {
    border: 0;
    border-top: 2px solid #ED1D23;
    height: 1px;
    /* color: #ED1D23; */
    margin-top: 1rem;
}

.vl {
    border-left: 2px solid #ED1D23;
    height: 60%;
}

nav {
    font-size: 1.2rem;
    background-color: rgba(0, 0, 0, 0.5);
}

nav .brand {
    width: 100%;
    padding: 0.5rem;
}

nav .brand .logo {
    width: 100%;
    text-align: center;
    margin-bottom: .5rem;

    /* float: left; */
    p {
        font-size: 0.7rem;
    }
}

nav .brand .logo img {
    margin: 0 auto;
    height: 2em;
    width: 8em;
    animation: pulse 2s infinite;
}

nav .brand .slogan {
    font-size: 0.9rem;
    text-align: center;
    display: block;
}

nav ul {
    list-style: none;
    padding: 1rem;
    text-align: right;
    margin: 0;
}

nav li {
    display: inline-block;
    margin-inline: 0.5rem
}

main {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    margin: 2rem;
    gap: 1rem;
}

.company-box {
    flex-grow: 1;
    min-width: 300px;
    background-color: rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-rows: auto auto;
    padding: 1rem;
    row-gap: 0.5rem;
    column-gap: 1rem;
}

.personal-data {
    text-align: center;
}

.company-data {
    font-size: 1rem;
    /* margin: 0 3rem; */
    display: flex;
    align-items: center;
    align-content: center;
    margin: 0 auto;
}

.company-data ul {
    text-align: left;
    list-style: none;
}

.company-data li {
    margin-inline: 1rem;
    margin: 1rem;
}

.company-data li a,
.company-data li span {
    margin-left: 0.5rem;
    display: inline-block;
}

.company-data li.tel,
.company-data li.mail,
.company-data li.location {
    list-style-type: none;
    margin-bottom: 1rem;
    padding: 0 0 0 24px;
}

.company-data li::marker {

    animation: shake 2s infinite;
}

.company-data li.tel {
    background: url("../images/call-icon.svg") no-repeat left;
    background-size: 1.2rem;
}

.company-data li.mail {
    background: url("../images/email-address-icon.svg") no-repeat left;
    background-size: 1.2rem;
}

.company-data li.location {
    background: url("../images/gps-icon.svg") no-repeat left;
    background-size: 1.1rem;
}

.google-widget iframe {
    width: 100%;
    height: 100%;
}

.services-box {
    padding: 1rem;
    flex-grow: 2;
    min-width: 300px;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

.services-box .services-inner-container {
    margin: 0 auto;
}

.services-box h1 {
    color: #ED1D23;
    letter-spacing: 0.5ch;
}

.services-list-container {
    text-align: center;
}

.services-box ul {
    padding: 1rem;
    display: inline-block;
    text-align: left;
}

.services-box li {
    letter-spacing: 0.2ch;
    margin-inline: 1rem;
    margin: 1rem;
    font-size: 1rem;
    text-align: left;
    list-style-type: none;
    margin-bottom: 1rem;
    padding: 0 0 0 24px;
}

.services-box li {
    background: url("../images/wrench-tool-icon.svg") no-repeat left;
    background-size: 1.5rem;
}


.services-box li span {
    margin-left: 1rem;
    display: inline-block;
}

/* 
.services-box li::before {
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    background-size: 1.5rem 1.5rem;
    display: inline-block;
    background: url("../images/wrench-tool-icon.svg") no-repeat left;
    margin-right: 0.5rem;
    vertical-align: middle;
} */

/* .services-box li::marker {
    width: 40px;
    height: 40px;
} */

footer {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    text-align: center;
}


a {
    text-decoration: none;
    transition: ease-in-out 0.5s;
    color: lightgray;
}

a:visited {
    text-decoration: none;
    color: lightgray;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #ED1D23;
    transition: ease-in-out 0.5s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* @media (width < 1200px) and (height < 1000px) {
    .google-widget {
        width: 100%;
        height: 200px;
    }

    .company-box {
        grid-template-rows: none;
    }
} */

@media only screen and (width < 1000px) {
    .company-box {
        grid-template-rows: auto auto;
    }
}

@media only screen and (width < 500px) {
    .vl {
        display: none;
    }

    .company-data {
        display: block;
    }

    .company-box {
        grid-template-rows: auto auto;
    }
}