/*
    html {
    background-image: url(./images/C-School_logo.png);
    background-position: top center; 
    background-repeat: no-repeat;
} */
 
html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  background-color: gainsboro;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 2rem;
  font-style: normal;
  color: black;
}

/* THE TOOL: Generic, used everywhere */
.container {
  max-width: 1800px;    /* Limits content width */
  margin-left: auto;    /* Centers the box */
  margin-right: auto;   /* Centers the box */
  padding-left: 20px;   /* Prevents text touching mobile edges */
  padding-right: 20px;  /* Prevents text touching mobile edges */
} 

/* HEADER - start */
header {
  font-size: 2.0rem;
  background-color: gainsboro;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 20px;
  border-bottom: 5px solid lightgrey;
  position: sticky;
  z-index: 99;
  top: 0;
}

.logo {
  flex: 0.75;
}

nav {
  text-align: right;
  flex: 4;
}

.navbutton, .mybutton {
  padding: 10px 10px;
  display: inline-block;
  position: relative;
}

.mybutton {
  background-color: #e67e22;
  border-radius: 20px;
  font-size: 1.6rem;
  /* box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.228); */
}

.mybutton:hover {
  background-color: #d35800;
  background-color: rgb(29, 213, 103);
  transition-duration: 1s;
}

a.mybutton {
  display: inline-block;
  margin-top: 10px;
}
/* HEADER - end */

/* HERO - start */
section {
  padding-top: 120px;
  margin-left: auto;
  margin-right: auto;
}

.hero {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: 70vh;
}

.herobox1 {
  flex: 1;
  padding-right: 100px;
}

.herobox2 {
  flex: 1.5;
  width: 500px;
  height: 400px;
}

.herobox2 img {
  width: 100%;
  margin-top: 20px;
}

h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 2.4rem;
  /* text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.228); */
}

p {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-top: 100px;
  margin-bottom: 50px;
}

h3 {
  font-size: 2.4rem;
  margin-top: 20px;
  margin-bottom: 20px;
}

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

/* cards css */
.cards {
  display: flex;
  justify-content: space-between;
  text-align: center;
  flex-wrap: wrap;
}

.cards a {
  color: white;
  font-size: 1.2rem;
}

.card {
  flex: 1;
  margin: 20px;
  justify-content: space-between;
  box-sizing: border-box;
  background-color: skyblue;
  border: 2px solid darkgreen;
  border-radius: 8%;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.228);
  padding: 10px;
}

.card img {
  width: 98%;
  border-radius: 9% 9% 0% 0%;
  height: 45%;
}

.card h3 {
  text-align: center;
  font-size: 2.2rem;
}

.card a p,
ul {
  text-align: left;
  list-style-type: disc;
  padding-left: 2.2rem;
  padding-right: 2.2rem;
  font-size: 1.8rem;
  line-height: 2.rem;
}

/* Instructors css */
#instructors {
  margin-top: 40px;
  margin-right: auto;
  margin-left: auto;
  width: 75%;
}

#instructors h3 {
  /* font-size: 2.5rem; */
  /* font-weight: bold; */
  text-align: center;
  margin: 20px;
}

.circle-img {
  width: 200px; /* Set a fixed width */
  height: 200px; /* Set an equal fixed height to ensure a square shape */
  border-radius: 50%; /* This rounds the corners into a perfect circle */
  object-fit: cover; /* Ensures the image covers the entire circle without distortion, useful for non-square source images */
  display: block;
  margin-right: auto;
  margin-left: auto;
}

#instructors p {
  font-size: 1.8rem;
  text-align: center;
  line-height: 3.2rem;
}

.webform{
    width:75%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 15px 35px rgba(50,50,93,.1),0 5px 15px rgba(0,0,0,.07);
    padding:2rem;
    background-color:#fff;
}

.form-group{
    margin-bottom:2.4em;
    /* transition:all .3s; */
}
.form-label{
    font-size:2rem;
    color:var(--font-color);
    display:block;
    opacity:0;
    /* transition: all .3s;
    transform:translateX(-50px); */
}
.form-control{
    box-shadow:none;
    border-radius:0;
    border-color:#ccc;
    border-style:none none solid none;
    width:100%;
    font-size:2rem;
    /* transition:all .6s; */
}
.form-control::placeholder{
    color:black;
}
.form-control:focus{
    box-shadow:none;
    border-color:var(--font-hover-color);
    outline:none;
}
.form-group:focus-within{
    transform:scale(1.1,1.1);
}

.form-control:invalid:focus{
    border-color:red;
}
.form-control:valid:focus{
    border-color:green;
}

.btn{
    background: 0 0 #fff;
    border:1px solid #aaa;
    border-radius:3px;
    color:var(--font-color);
    font-size:2rem;
    padding:10 50px;
    text-transform:uppercase;
}
.btn:hover{
    border-color:var(--font-hover-color);
    color:var(--font-hover-color);
}
textarea{
    resize:none;
}

.focused > .form-label{
    opacity:1;
    transform:translateX(0px);

}


/* .inputwrapper {
  margin-bottom: 30px;
}

input[type="text"],
input[type="email"] {
  padding: 12px 20px;
  width: 100%;
  font-family: "Roboto", sans-serif;
  font-size: 1.8rem;
  box-sizing: border-box;
}

.newline {
  display: block;
  margin-bottom: 10px;
}

.margin-right-a {
  margin-right: 20px;
}

input[type="radio"] {
  margin-right: 10px;
}

form {
  margin: 40px 0px;
} */


footer {
  display: flex;
  margin-top: 16px;
  margin-bottom: 8px;
  bottom: 0;
  width: 100%;
  font-size: 3.2rem;
  background-color: darkgray;
  padding: 10px 0px;
}

footer a {
  margin: 20px;
  color: white;
}

.footer-left {
  flex: 1;
  text-align: left;
}

.footer-center {
  flex: 1;
  text-align: center;
}

.footer-right {
  flex: 1;
  text-align: right;
}
