* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.d-flex {
    display: flex;
}

header {
    background-image: url(../image/gerbangSekolah.jpg);
    background-size: cover;
    background-position: 0 -200px;
    background-attachment: fixed;
}

/* Navbar */
a {
    text-decoration: none;
}

nav {
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    background: #1cb5e0;
    position: fixed;
    box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.5);
}

.brand {
    font-family: 'Lato', 'Montserrat', sans-serif;
    color: #fff;
}

nav ul {
    display: flex;
    width: 42%;
    list-style: none;
    justify-content: space-between;
}

nav ul li a {
    color: #bceffd;
    font-family: 'Lato', sans-serif;
    font-size: 0.9em;
}

nav ul li a:hover {
    color: #fff;
    font-weight: bold;
}

nav ul li a.active {
    color: #fff;
    font-weight: bold;
}

/* Jumbotron */
.jumbotron {
    display: flex;
    width: 100%;
    background: rgba(45, 74, 206, 0.6);
    margin: 0 auto;

}

.logo {
    flex-basis: 40%;
    margin: 0 auto;
}

.logo img {
    max-width: 60%;
    margin: 110px 30% 150px;
}

.jumbotron .deskripsi {
    flex-basis: 60%;
    color: #fff;
    margin: 13% 5% 10% 0;
}

.jumbotron .deskripsi h1 {
    font-family: 'Signika Negative', sans-serif;
    font-weight: 550;
    font-size: 3.3em;
}

.jumbotron .deskripsi p {
    color: #dcdcdc;
    font-size: 1.2em;
    font-family: 'Lato', sans-serif;
}

.jumbotron .deskripsi a {
    color: #dcdcdc;
    font-style: italic;
    font-size: 1.2em;
}

.jumbotron .deskripsi a:hover {
    color: #ffffff;
    font-style: normal;
    font-weight: 525s;
}

/* Tentang sekolah */
#tentangSekolah {
    background: linear-gradient(#71c5ee, #025091);
    font-family: 'Lato', sans-serif;
    padding: 87px 0 87px;
}

#tentangSekolah h2 {
    text-align: center;
    color: #fff;
    font-family: 'Signika Negative', sans-serif;
    padding: 25px 0;
    font-size: 2em;
}

#tentangSekolah .informasi h3 {
    font-size: 1.4em;
    font-weight: 300;
    padding-bottom: 5px;
}

#tentangSekolah .informasi a {
    text-decoration: underline;
}

#tentangSekolah table {
    width: 80%;
    border: 2px solid #cdcdcd;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 100px auto;
    box-shadow: 7px 7px 35px -3px rgba(0, 0, 0, 0.3);
    color: #fffafa;
}

#tentangSekolah table th {
    color: #ffffff;
    background-color: #000;
}

#tentangSekolah table tr:nth-child(even) {
    background-color: #4eaac2;
}

#tentangSekolah table tr,
#tentangSekolah table td,
#tentangSekolah table th {
    border: 1px solid #dcdcdc;
    padding: 5px;
}

.card {
    border-radius: 5px;
    width: 80%;
    margin: 5px auto;
    padding: 15px;
    background: #eaeaea;
    box-shadow: 7px 7px 35px -3px rgba(0, 0, 0, 0.3);
}

/* Visi Misi */
#visimisi {
    width: 100%;
    border: 1px solid transparent;
    background: url(../image/lapangan.png);
    background-size: cover;
    /* background-position: 0 -200px; */
    background-attachment: fixed;
}

.visi-misi {
    width: 80%;
    margin: 150px auto;
    padding: 50px 25px;
    background-color: #00c8ff77;
    font-family: 'Lato', sans-serif;
    box-shadow: 7px 7px 35px -3px rgba(0, 0, 0, 0.3);
}

#visimisi h3 {
    font-size: 1.6em;
    color: rgb(255, 255, 255);
    font-weight: 800;
    letter-spacing: 3px;
}

#visimisi ul,
#visimisi p {
    color: rgb(32, 29, 29);
    padding-left: 20px;
    font-weight: 600;
    font-size: 1.2em;
}

/* Kejuruan */
#kejuruan {
    background: linear-gradient(#345ea8, #3b8ac3);
    border: 1px solid transparent;
}

.kompetensi {
    width: 88%;
    margin: 150px auto 100px;
    flex-wrap: wrap;
    justify-content: center;

}

.kompetensi div {
    margin: 10px;
    width: 330px;
    height: 500px;
    flex-direction: 1;
    padding-top: 25px;
}

.kompetensi div img {
    width: 150px;
    margin: 10px auto;
    display: block;
    border-radius: 50%;
    border: 3px solid rgb(0, 30, 255);
    box-shadow: 0px 0px 30px 5px rgba(0, 30, 255, 0.3);
}

.kompetensi div h3 {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.kompetensi div p {
    text-align: center;
}

/* Contact */
#contact {
    background-color: #3b8ac3;
    padding-top: 100px;
    padding-bottom: 100px;
    z-index: 1;
    margin-top: -5px;
}

.container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
    flex-direction: row;
}

#contact .contact-us {
    width: 60%;
}

.contact-us form {
    width: 80%;
    margin: 10px auto;
    padding: 10px;
    border-radius: 7px;
    background: #cbcbcb;
    box-shadow: 7px 7px 35px -3px rgba(0, 0, 0, 0.4);
}

.contact-us .sosmed {
    width: 80%;
    margin: 25px auto;
    padding: 20px;
    border-radius: 7px;
    background: #cbcbcb;
    box-shadow: 7px 7px 35px -3px rgba(0, 0, 0, 0.4);
}

.contact-us .sosmed ul li {
    list-style: none;
    padding-top: 10px;
    font-weight: 550;
    font-family: 'Lato', 'Montserrat', sans-serif;
}

.contact-us .sosmed ul li i {
    color: #0800ff;
}

.contact-us form h3 {
    font-family: 'Lato', 'Montserrat', sans-serif;
    text-align: center;
    padding: 10px;
    font-weight: 700;
    font-size: 1.7em;
}

.contact-us input[type=text],
.contact-us input[type=email],
.contact-us textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    border-radius: 5px;
}

.contact-us textarea {
    height: 150px;
}

.contact-us input[type=submit] {
    background-color: #3834c1;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.contact-us input[type=submit]:hover {
    background-color: #0800ff;
}

#contact aside {
    width: 40%;
}

#contact .profile {
    text-align: center;
    padding: 30px 10px;
    width: 90%;
    margin: 0 auto;
    background: #cbcbcb;
    box-shadow: 7px 7px 35px -3px rgba(0, 0, 0, 0.4);
    border-radius: 7px;
    margin-top: 10px;
}

#contact .profile img {
    width: 150px;
    border-radius: 50%;
    box-shadow: 0px 0px 30px 5px rgba(0, 0, 0, 0.3);
}

#contact .profile h2 {
    font-weight: 600;
    font-size: 1.5em;
    font-family: 'Lato', 'Montserrat', sans-serif;
    padding: 10px;
}

#contact .profile ul li {
    font-family: 'Montserrat', sans-serif;
    padding: 5px 10px;
    text-align: left;
    list-style: none;
}

footer {
    width: 100%;
    padding: 25px;
    background-color: #02004a;
    color: white;
    text-align: center;
}




/* Responsive */
/* ukuran Tablet */
@media screen and (max-width: 796px) {
    header {
        background-position: -232px -210px;
    }

    nav ul {
        width: 50%;
    }

    .logo {
        display: none;
    }

    .jumbotron {
        display: block;
        height: 330px;
        padding-top: 100px;
    }

    .jumbotron .deskripsi {
        text-align: center;
        width: 90%;
        margin: 0 auto;
    }

    .jumbotron .deskripsi h1 {
        font-size: 3em;
    }

    .card {
        width: 85%;
    }

    .kompetensi {
        width: 100%;
        align-items: center;
        justify-content: space-evenly;
    }

    .container {
        flex-direction: column;
        align-items: center;
    }

    #contact .contact-us {
        width: 100%;
    }

    #contact aside {
        width: 87%;
        margin-top: 50px;
    }
}

/* ukuran Mobile */
@media screen and (max-width: 650px) {
    header {
        background-position: -232px -180px;
    }

    nav {
        display: block;
        justify-content: center;
        flex-direction: column;
    }

    nav ul {
        width: 85%;
        margin-top: 10px;
    }

    .jumbotron {
        height: 400px;
    }

    .jumbotron .deskripsi h1 {
        font-size: 2.5em;
        padding-top: 20px;
    }

    .jumbotron .deskripsi p,
    a {
        font-size: 1em;
    }

    .card {
        width: 85%;
    }

    #tentangSekolah h2 {
        font-size: 1.5em;
    }

    #tentangSekolah .informasi h3 {
        font-size: 1.2em;
    }

    .kompetensi {
        width: 95%;
        justify-content: center;
    }

    .kompetensi div {
        margin: 20px;
        width: 400px;
        height: 470px;
    }
}