@charset "UTF-8";

html{
  box-sizing: border-box;
}

*{

  box-sizing: inherit;
}
body {
  font-family:  -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 100%;
  background-color: hsl(210, 13%, 91%);
  margin: 0;
}

header {
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav ul{
    list-style-type: none; 
     display: flex;
     height: 5em;
     justify-content: center; 
     align-items: center; 
      margin: 0;
   
}
nav ul li{
    margin: 20px;
}
nav ul li.logo{
    margin-right: auto;
    font-size: 1.2em;
    font-weight: bold;
}
nav ul li a{
    text-decoration: none;
    color: black;
    font-size: 1.1em;
    padding-bottom: 10px;
}
nav ul li ~ li a:hover{
    border-bottom: rgb(151, 57, 228) 2px solid;
}

/* Mobile */
@media  (max-width: 767px){
    header {
        height: 100px;
    }

    nav ul {
        flex-wrap: wrap;          
        justify-content: center;
    }

    nav ul li.logo {            
        text-align: center;
        margin-bottom: 5px;
    }
    .intro{
        flex-direction: column;
        align-items: center;
    }
    .intro h1{
        margin-left: 400px;
        text-align: center;
    }
    .cc{
        flex-direction: column;
        align-items: center;
        flex: 1 1 280px; 
    }
    
}


main{
    margin: 55px;
    padding-top: 70px;

}
.intro{
   display: flex;
}
.intro h1{
    font-size: 2em;
    line-height: 1.1em;
    margin-right: 400px;
}
.landing-page{
    padding: 20px 50px;
}
.landing-page p{
    font-size: 1.2em;
    margin-top: 20px;
    margin-left: 20px;
}
.landing-page a{
    text-decoration: none;
    margin-top: 30px;
    margin-left: 12em;
    padding: 10px 20px;
    font-size: 1em;
    background-color: rgb(151, 57, 228);
    color: white;
    border: none;
    border-radius: 5px;
}
.landing-page a:hover{
    background-color: rgb(120, 40, 200);
    box-shadow: 0 8px 12px rgba(151, 57, 228, 0.3);
}
.highlights{
    margin-top: 80px;
    margin-left: 10px;
    margin-right: 10px;
}
.highlights h2{ 
    padding: 0;
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
    color: rgb(120, 40, 200) ;
}

.card{
    display: flex;
    margin-left: 35px;
    flex-wrap: wrap;
    
}
.cc{
    background-color: rgb(230, 230, 250);
    width: 30%;
    text-align: center;
    padding: 20px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 12px 12px rgba(215, 4, 243, 0.1);
    margin: 10px;
    border-radius: 10px;
}
.cc:hover{
    transform: scale(1.03);
    border-top: 4px solid rgb(151, 57, 228);
}
h3{
    color: rgb(151, 57, 228);
}
.cc ul{
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.cc ul li{
    margin: 5px;
    padding: 7px;
    background-color: rgb(120, 40, 200) ;
    color: white;
    border-radius: 5px;
}

.certificates{
    margin-top: 80px;
    margin-left: 10px;
    margin-right: 10px;
    padding-bottom: 30px;
}
.certificates h2{
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
    color: rgb(120, 40, 200) ;
}
.certificates p{
    font-size: 1.2em;
    text-align: center;
}
.certificates img{
    margin: 45px;
    width: 200px;
    height: auto;
}
.contact{
    margin-top: 80px;
    margin-bottom: 30px;
}
.contact  h2{
    padding: 0;
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
    color: rgb(120, 40, 200) ;
}

.contact form label{
    font-size: 1.2em;
    margin-bottom: 10px;
}
.contact form input[type="text"],[type="email"]{
    width: 70%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}
.contact form textarea{
    width: 70%;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-shadow: 0 8px 12px rgba(247, 2, 214, 0.1);
}
.contact form input[type="submit"]{
    background-color: rgb(151, 57, 228);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1.2em;
    border-radius: 6px;
    cursor: pointer;
}
.contact form input[type="submit"]:hover{
    background-color: rgb(120, 40, 200);
    box-shadow: 0 8px 12px rgba(151, 57, 228, 0.3);
}
footer{
    background-color: rgb(151, 57, 228);
    text-align: center;
    padding: 15px;
    margin-top: 50px;
}
.social-media {
    width: 50px;
    right: 20px;
    position: fixed;
    top: 25%;
    bottom: auto;
    background-color: rgb(151, 57, 228);
    border-radius: 50px;
    z-index: 1000;
}
.social-media:hover {
    background-color: rgb(120, 40, 200);
    box-shadow: 0 8px 12px rgba(151, 57, 228, 0.3);
}
.social-media img{
    width: 25px;
    height: 25px;
    margin: 10px;
}
.social-media img:hover{
    transform: scale(1.1);
}
/* Footer Contact Info */
.contact-info ul{
    list-style-type: none;
    display: flex;
    justify-content: center;
}
.contact-info ul li{
    margin: 15px;
}
.contact-info ul li a{
    text-decoration: none;
    color:black;
}
.contact-info ul li a:hover{
    text-decoration: underline;
    color: white;
}
.active{
    border-bottom: rgb(151, 57, 228) 2px solid;
}

.theame-switcher{
    border: 1px solid #85000081;
    padding: 5px;
    border-radius: 5px;
    display: inline-flex; 
    position: absolute;
    top: 100px;
    right: 20px;
    z-index: 10;
}
#theme-toggle{
    margin-left: 10px;
    padding: 5px 10px;
    cursor: pointer;
    background-color: rgb(151, 57, 228);
    border: none;
    border-radius: 20px;
    color: white;
   
}

