@charset "utf-8";

div.headpage{
  position: relative;
  top: 100px;
  margin-bottom: 100px;
  background-image: url(/img/baristacareer.jpg);
  background-size: 100%;
}

div.headpage > div#boxbackaboutus{
  position: relative;
  background-color: rgba(0, 47, 167, 0.8);
  height: 600px;
  width: 50%;
  z-index: 1;
}

div#aboutUs{
  position: absolute;
  top: 125px;
  margin-left: 150px;
  width: 35%;
  color: #EBEBF0;
  z-index: 2;

}

div#aboutUs > h1{
  font-size: 100px;
}

div#aboutUs > h3{
  font-size: 30px;
}

div#aboutUs > p{
  font-size: 20px;
}

div#aboutUs > p > a{
  color: #0F0C0C;
}

div#aboutUs > p > a:hover{
  text-decoration: underline;
}

div#aboutUs > p > a:active{
  color: #EBEBF0;
  text-decoration: underline;
}

div#history{
  position: relative;
  top: 50px;
  margin-bottom: 50px;
}

div#history > div#historybegin {
  position: absolute;
  left: 25%;
  right: 25%;
}

div#history > div#historybegin > article > h3{
  font-size: 40px;
  color: rgb(0, 47, 167);
  text-align: center;
}

div#history > div#historybegin > article > p{
  font-size: 20px;
  color: #0F0C0C;
  text-align: center;
}

aside{
  position: relative;
  top: 250px;
}

aside > div#quotes {
  font-size: 20px;
  color: #EBEBF0;
  background-color: rgb(0, 47, 167);
  height: 300px;
  width: 70%;
}

aside > div#quotes > blockquote{
  position: absolute;
  top: 50px;
  left: 100px;
  color: #EBEBF0;
  width: 60%;
  quotes: "\201C" "\201D";
}

aside > div#quotes > blockquote::before{
  content: open-quote;
  font-weight: bold;
  font-size: 1.6em;
  color: #EBEBF0;;
}

aside > div#quotes > blockquote::after{
  content: close-quote;
  font-weight: bold;
  font-size: 1.6em;
  color: #EBEBF0;;
}

aside > div#quotes > p{
  position: absolute;
  top: 210px;
  left: 100px;
  text-align: right;
  width: 60%;
}

div#historyp2 {
  width: 65%;
  float: right;
  background-color: rgb(0, 47, 167);
  height: 500px;
  font-size: 20px;
}

div#historyp2 > p{
  color: #EBEBF0;
  position: absolute;
  right: 50px;
  width: 60%;
}

div#achievements{
  position: relative;
  top: 50px;
}

div#achievements > div#achieve{
  position: absolute;
  left: 25%;
  right: 25%;
}

div#achievements > div#achieve > h3{
  font-size: 40px;
  color: rgb(0, 47, 167);
}

div#achievements > div#achieve > p{
  font-size: 20px;
  color: #0F0C0C;
}

div#achievements > table {
  position: relative;
  top: 150px;
  left: 5px;
  bottom: 0px;
  width: 50%;
  border-collapse: collapse;
  border: 5px solid #0F0C0C;
}

tr{
  height: 30px;
}

th,td{
  border: 1px solid #EBEBF0;
  text-align: center;
  background-color:rgb(0, 47, 167);
  color:#EBEBF0;
}

col.year{
  width: 20%;
}

col.competition{
  width: 40%;
}

col.status{
  width: 40%;
}

div#achievements > div#picture{
  position: absolute;
  top:150px;
  right: 0px;
  bottom: 0px;
  width: 45%;
}

div#picture > p#text1{
  text-align: center;
  text-decoration: underline;
}

div#picture > p#text2{
  text-align: center;
}

audio
{
  width: 93%;
}

footer{
  position: relative !important;
  top: 250px !important;
}

/* Responsive styles for aboutus.css */
@media (max-width: 768px) {
    div.headpage {
        margin-bottom: 50px;
        background-size: cover;
        background-position: center;
    }
    
    div.headpage > div#boxbackaboutus {
        width: 100%;
        height: 400px;
    }
    
    div#aboutUs {
        position: static;
        margin: 0;
        width: 100%;
        padding: 30px 20px;
        text-align: center;
    }
    
    div#aboutUs > h1 {
        font-size: 60px;
    }
    
    div#aboutUs > h3 {
        font-size: 24px;
    }
    
    div#aboutUs > p {
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* History section */
    div#history > div#historybegin {
        position: static;
        margin: 0 20px;
    }
    
    div#history > div#historybegin > article > h3 {
        font-size: 30px;
    }
    
    div#history > div#historybegin > article > p {
        font-size: 16px;
    }
    
    /* Achievements table */
    div#achievements > table {
        position: static;
        width: 100%;
        margin: 20px 0;
        font-size: 14px;
    }
    
    div#achievements > div#picture {
        position: static;
        width: 100%;
        text-align: center;
        margin-top: 30px;
    }
    
    div#picture > img {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
    }
    
    audio {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    div#aboutUs > h1 {
        font-size: 40px;
    }
    
    div#aboutUs > h3 {
        font-size: 20px;
    }
    
    div#aboutUs > p {
        font-size: 14px;
    }
    
    div#history > div#historybegin > article > h3 {
        font-size: 24px;
    }
    
    table {
        font-size: 12px;
    }
    
    th, td {
        padding: 8px 4px;
    }
}