* {
  box-sizing: border-box;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}


/* Style the header */
.header {
  text-align: center;
  background: #eaecec;
  color: rgb(5, 0, 0);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 100%;
  height: 230px;
}



/* Increase the font size of the h1 element */
.header h1 {
  font-size: 30px;
}

/* Style the top navigation bar */
.navbar {
  overflow: hidden;
  background-color: rgb(219, 219, 219);
}

/* Style the navigation bar links */
.navbar a {
  float: left;
  display: block;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
}

/* Right-aligned link */
.navbar a.right {
  float: right;
}

/* Change color on hover */
.navbar a:hover {
  background-color: #f10101;
  color: rgb(0, 0, 0);
}

/* Column container */
.row {  
  display: flex;
  flex-wrap: wrap;
}

/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
.side {
  flex: 30%;
  background-color: #f1f1f1;
  padding: 20px;
}

/* Main column */
.main {   
  display: flex;
  width: max-content;
  width: auto;

  justify-content: center;
  flex: 70%;
  border: 5px solid gray;
  background-color: #eeeeee;
  padding: 20px;
  height: 360px;
  margin: 20px;



}

.mainoff {   
  display: flex;
  width: max-content;
  width: auto;

  justify-content: center;
  flex: 70%;
  border: 5px solid rgb(255, 255, 255);
  background-color: #ffffff;
  padding: 20px;
  height: 360px;
  margin: 20px;



}

/* Box image, just for this example */
.box {
  background-color: #ad0000;
  width: 100%;
  padding: 30px;
}

.box11 {
  background-color: #f3f3f3;
  width: 100%;
  padding: 30px;
}

/* Box image, just for this example */
.box1 {
  background-color: #eeeeee;
  width: 100%;
  padding: 30px;
}


.absolute p {
  width: 320px;
  padding: 10px;
  border: 5px solid gray;
  margin: 10px;
}
/* social media */
.fa {
  padding: 5px;
  font-size: 20px;
  width: 30px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 60%;
}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
  background: #3B5998;
  color: white;
}

.fa-twitter {
  background: #55ACEE;
  color: white;
}


.fa-linkedin {
  background: #007bb5;
  color: white;
}

.fa-youtube {
  background: #bb0000;
  color: white;
}

.fa-instagram {
  background: #125688;
  color: white;
}



/* Responsive layout - when the screen is less than 700px */
@media screen and (max-width: 700px) {
  .row {   
    flex-direction: column;
  }
}

/* Responsive layout - when the screen is less than 400px wide, */
@media screen and (max-width: 400px) {
  .navbar a {
    float: none;
    width:100%;
  }
}