@font-face {
    font-weight: 100;
    font-family: 'Roboto';
    src:url('/fonts/Roboto-Thin.ttf')  format('truetype');
  }

  @font-face {
    font-weight: 300;
    font-family: 'Roboto';
    src:url('/fonts/Roboto-Light.ttf')  format('truetype');
  }

  @font-face {
    font-weight: 400;
    font-family: 'Roboto';
    src:url('/fonts/Roboto-Regular.ttf')  format('truetype');
  }

  @font-face {
    font-weight: 500;
    font-family: 'Roboto';
    src:url('/fonts/Roboto-Medium.ttf')  format('truetype');
  }


:root {
    --bg-primary:#457b9d;
    --bg-secondary: #7e7e7e;
    --text-primary: #f4f4f4;
    --text-secondary: #333;
    --dark-color: #47a6d7;
    --light-color: #FED086;

}

html {
    scroll-behavior: smooth;
  }

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Roboto', cursive;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f4f4f4;

}

body::-webkit-scrollbar {
    width: 0.5em;
}
 
body::-webkit-scrollbar-thumb {
  background-color: var(--dark-color);
  outline: 1px solid var(--dark-color);
}

h1, h2 {
    font-weight: 300;
    line-height: 1.2;
    margin: 10px 0;
}

p {
    margin: 10px 0;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
}

img {
    width: 100%;
}

/*UTILITIES*/
.container {
    max-width: 1200px;
    margin: 0 auto;  
}
.grid {
    display: grid;
    justify-content: left;
    align-items: center;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

/*Domain*/
.domain {
    position: relative;
    max-width: 1500px;
    margin: 0 auto;  
    padding: 3rem 2rem 0.1rem 2rem;
    border-bottom: 2px solid rgb(202, 202, 202);
}

.domain h1 {
    font-size: 3rem;
    font-weight: 500;
    color: rgb(95, 95, 95);
}

.domain img {
    height: 80vh;
}

.domain .card {
    position: absolute;
    width: 800px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 10px;
    background-color: #f4f4f4;
    padding: 2rem;
    right: 2rem;
    top: 155px;
}

.domain .text {
    position: relative;
}

.domain .text img {
    position: absolute;
    height: 150px;
    width: auto;
    right: 0;
}

.domain .text span {
    color: rgb(95, 95, 95);
    font-weight: 300;
}

.domain .text p {
    padding: 1rem 2rem 0 2rem
}


/*Links*/
.links {
    padding: 1.5rem;
}

.links h2 {
    font-size: 2rem;
    font-weight: 400;
    color: rgb(95, 95, 95);
}

/*Footer*/
footer {
    background-color: var(--dark-color);
    padding: 1rem 2rem 2rem 2rem;
}

/* MEDIA QUERIES*/
@media(max-width:1175px){
    .grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        justify-items: center;
        justify-content: center;
        gap: 2rem;
    }

    .domain .card {
        position: inherit;
        margin-bottom: 120px;
    }

}

@media(max-width:900px){
    .domain img {
       height: auto;
    }

    .domain .card {
        width: auto;
    }
}