:root {
    --primery-color: #0A1128;
    --white-color: #f5f5f5;
    --light-gray-color: #e0e0e0;
    --gap: 3rem;
}

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Opens Sans', sans-serif;
    font-size: 1.6rem;
    color: var(--primery-color);
    font-size: 2rem;
    line-height: 1.5;

}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
}

h1 {
    font-size: 6rem;
    text-transform: uppercase;
}

h2{
 font-size: 5rem;
 margin-bottom: 5rem;
 text-transform: uppercase;
 line-height: 1.2;
}

h3 {
    font-size: 5rem;
}

h4 {
    font-size: 4.5rem;
}

h5 {
    font-size: 4rem;
}

h6 {
    font-size: 3.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

p{
    margin-bottom: var(--gap);
}

.menu-spacing {
    height: 6.1rem;
}

.main-bg {
    background-image: url('../img/mainbg.svg');
    background-position: center center;
    background-size: cover;
    color: var(--white-color);
}

.white-bg {
    background: var(--white-color);
    color: var(--primery-color);
}

.main-content {

    max-width: 120rem;
    margin: 0 auto;
    padding:  var(--gap);

}

.section {
    min-height: 100vh;
}

.intro-content {
    position: relative;
    top: -6.1rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--gap);
    min-height: 100vh;
}

.intro-text, .intro-img{
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
}

.intro-text h2{
 font-size: 5rem;
 margin-bottom: 5rem;
 text-transform: uppercase;
 line-height: 1.2;
}

.top3-content{
    max-width: 64rem;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    height: 100vh;
    text-align: center;
    
}

.intro-img img{
    max-width: 100%;
    height: auto;
}

.menu {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-bottom: 0.1rem solid var(--light-gray-color);
}

.logo img{
    width: 4rem;
    height: auto;
}

.menu-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.menu ul {
    list-style: none;
    display: flex;

}

.menu ul li a {
    display: block;
    padding: 2rem;
    font-size: 1.8rem;
    color: var(--primery-color);
    position: relative;


}

.menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 1rem;
    left: 50%;
    width: 0;
    height: 0.2rem;
    background: var(--primery-color);
    transition: all 280ms ease-in-out;
}

.menu ul li a:hover::after {
    width: 50%;
    left: 25%;
}

.menu h1 {
    font-size: 3rem;
    color: var(--primery-color);

}

.menu h1 a {
    color: inherit;

}

.grid-one-content{
    display: flex;
    flex-flow: column wrap;
    min-height: 100vh;
    justify-content: center;
    
}

.grid-main-heading{
    margin-bottom: 0.2rem;
}

.grid-description{
    padding-bottom: 6rem;
}

.grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
    counter-reset: grid-counter;
}

.grid h3{
    font-size: 3rem;
    position: relative;
    padding-left: 5rem;
    padding-bottom: 2rem;

}

.grid h3::before{
    font-size: 8rem;
    content: counter(grid-counter);
    counter-increment: grid-counter;
    position: absolute;
    top: -4rem;
    left: -1rem;
    font-style: italic;
    transform: rotate(5deg);

}

.description-job{
    margin-bottom: 5rem;
}