@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Solway:wght@300;400;500;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: "Solway", serif;
  font-weight: 400;
  /* IMAGE FROM FREEPIK. PLEASE ADD ATTRIBUTION IN THE WEBSITE FOOTER  */
  background-image: url("ChalkBoard-FreePik.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  margin: 0;
}

nav {
    padding-left: 3vw;
    padding-right: 3vw;
}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-start;
}

nav li {
    height: 9.7vh;
    display: flex;
    align-items: center;
}

nav a {
    position: relative;
    height: 100%;
    padding: 0 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    color: white;
    font-size: clamp(16px, 1.667vw, 24px)
}

nav li:last-child {
    margin-left: auto;
}

nav li:first-child {
    margin-right: 10vw;
}

.activepage {
    background-color: rgba(0, 0, 0, 0.444);
    height: 50px;
    border-radius: 13px;
    height: 5.7vh;
    width: 7.2vw;
    padding: 0;
    display: flex;
    justify-content: center;
}

.cta {
    height: 5.8vh;
    background-color: yellow;
    border-radius: 10px;
    padding: 0;
    width: clamp(130px, 10vw, 180px);
    text-align: center;
    font-family: "Solway", serif;
    font-weight: 600;
    display: flex;
    justify-content: center;
    color: black;
}

.logo {
    padding: 0;
    font-size: clamp(24px, 2.25em, 48px);
    font-weight: 700;
}

hr {
    height: 3px;
    background-color: white;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 90vh;
}

.text {
    display: inline-block;
    color: white;
    width: 27vw;
}

.text h1 {
    font-size: clamp(68px, 6em, 128px);
    font-weight: 700;
    margin-bottom: 2.5vh;
}

.text h2 {
    margin-top: 2.5vh;
    font-size: clamp(24px, 2em, 48px);
    font-weight: 400;
    margin-bottom: 5vh;
}

.text a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: black;
    font-size: clamp(24px, 2em, 48px);;
    font-weight: 500;
    background-color: #D9D9D9;
    border-radius: 8px;
    height: 8.1vh;
    width: 15.3vw;
    margin-top: 5%;
}

.image {
    background-color: #434343;
    width: 36vw;
    height: 45vh;
    border-radius: 29px;
    border: 5px solid #121212;
}

.redbutton {
    color: red;
    display: inline;
}

.yellowbutton {
    color: yellow;
    display: inline;
}

.greenbutton {
    color: rgb(0, 152, 0);
    display: inline;
}

.buttons {
    margin-left: 15px;
    font-size: 3em;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.blocks {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.block1 {
    display: flex;
    background-color: #262626;
    color: #ffffff;
    justify-content: center;
    align-items: center;
    width: 32vw;
    height: 15.7vh;
    margin-top: 2.5%;
    border-radius: 22px;
    font-size:  clamp(16px, 1.25em, 32px);
}

.block2 {
    display: flex;
    background-color: #262626;
    color: #ffffff;
    justify-content: center;
    align-items: center;
    width: 32vw;
    height: 15.7vh;
    margin-top: 5%;
    border-radius: 22px;
    font-size: clamp(16px, 1.25em, 32px);
}
