:root{
    --blue: #1048ff;
}
:target {
  scroll-margin-top: 80px;
}
@font-face {
    font-family: eu;
    src: url(fonts/eurostile.TTF);
}
html{
    scroll-behavior: smooth;
}
body{
    margin: 0;
    font-family: "eurostile", sans-serif;
    font-style: normal;
}

#header{
    background-color:white;
    position:fixed;
    top: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
#header > div {
    width: 10rem;
    background-color: var(--blue);
    border-radius: 1rem;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
#header > div:last-child{
    margin-left: auto;
}
#header > div:first-child{
    margin-right: auto;
}
#header > div {
    display: flex;
}
#header a{
    width: 100%;
    line-height: 2.5rem;
    text-align: center;
    text-decoration: none;
    color: white;
}
.logo > a {
    line-height: unset;
    height: 70%;
}
#logoImg{
    height: 100%;
}

#hero{
    margin-top: 3rem;
    background-color: var(--blue);
    height: 90vh;
    color: white;
    display: flex;
    flex-direction: column;
    border-radius: 2rem;
}
#heroImg{
    padding-top: 3rem;
    width: 70%;
    margin: auto auto;
}
#hero div{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
#hero p{
    display: inline-block;
    font-size: 5rem;
    margin: 0 0;
}
#hero > div > p:first-child{
    margin-left: 5%;
}
#hero > div > p:last-child {
    margin-right: 5%;
}
h2{
    font-size: 4rem;
    margin: 8rem 0 2rem 0;
}
section:not(#hero){
    color: var(--blue);
}
.textSection{
    min-width: 768px;
    width: 40%;
}
.textSection p, .textSection h2, .textSection li, h3{
    margin-left: 20%;
}
.textSection p, .textSection li{
    font-size: 1.5rem;
}
h3{
    font-size: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.textSection li{
    list-style-type: none;
}
.textSection li::before{
    content: "--  ";
    font-size: 2rem;
    font-weight: 50;
}

/* pricing */
#pricing > div{
    display: grid;
    grid-template-columns: 50% 50%;
    font-size: 2rem;
}
#pricing p{
    border-top: #1048ff .2rem solid;
    padding: 2rem 0 1.5rem 0;
    margin: 0;
}
#pricing > div > p:nth-child(odd){
    padding-left: 20%;
}
#pricing > div > p:nth-last-child(2), #pricing > div > p:last-child{
    border-bottom: #1048ff .2rem solid;
}
#pricing h2{
    margin-left: 10%;
}
#pricing .smallText{
    font-size: 1.5rem;
    margin-left: 10%;
    border-top: none;
}
/* contacts */

#contacts h2{
    text-align: center;
    margin-bottom: 10rem;
}
#contacts > div{
    display: grid;
    grid-template-columns: 33.3% 33.3% 33.3%;
}
.contact{
    background-color: var(--blue);
    border-radius: 2rem;
    color: white;
    font-size: 1.5rem;
    height: 12rem;
}
.contact p{
    padding-left: 15%;
}
.contact a {
    text-decoration: underline;
}

@media screen and (max-width: 678px) {
    #hero p{
        font-size: 2rem;
    }
    h2{
        margin: 4rem 0 1rem 0;
        font-size: 2.5rem;
        font-weight: 150;
    }
    h3{
        font-size: 1.5rem;
        font-weight: 100;
    }
    p, a, .textSection p, .textSection li{
        font-size: 1.2rem;
    }
    .textSection h2, .textSection p, .textSection h3{
        margin-left: 5%;
    }
    #header .logo{
        position: fixed;
        top: 0;
    }
    #header .logo a{
        text-align: start;
        padding-left: 5%;
    }
    #header{
        margin-top: 3rem;
        flex-direction: column;
        position: relative;
    }
    #header > div{
        width: 100%;
    }
    #hero {
        margin-top: 0;
        height: 3rem;
        line-height: 3rem;
    }
    #heroImg{
        display: none;
    }
    #services ul{ padding-left: 5%;}
    #services li{margin-left: 0;}
    .textSection li::before{
    content: "-  ";
    font-size: 2rem;
    font-weight: 50;
    }
    #pricing h2{
        margin-left: 5%;
    }
    #pricing > div > p:nth-child(odd){
    padding-left: 10%;
    }
    #pricing > div > p{
        padding: .5rem 0 .3rem 0;
    }
    #pricing .smallText{
        font-size: .8rem;
        margin-left: 5%;
    }
    .textSection{
        min-width: unset;
        width: 95%;
    }
    #contacts > div{
        grid-template-columns: unset;
    }
    .contact{
        height: 8rem;
        padding-left: 10%;
        padding-right: 5%;
    }
}