@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;500&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.logo a{
    text-decoration: none;
    color: black;
    font-size: 2rem;
    font-weight: bold;
}

#navbar{
    position: fixed;
    background-color: white;
    padding: 0 4rem;
    width: 100%;
    max-width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: 0px 2px #888888;
}
#navbar a {
    text-decoration: none;
    color: #252525;
    margin-left: 5px;
}


.container{
    z-index: -1;
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 100px;
}


.parent {
    z-index: -1;
    position: absolute;
    top: 150px;
    width: 100%;
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(1fr);
    grid-template-rows: repeat(1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    }
    
.div1 { 
    padding: 20px;
    box-shadow: 2px 2px #888888;
    /* background-color: lightblue; */
    display: flex;
    margin: 10px;
    grid-area: 1 / 1 / 2 / 2; 
}
.picture{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
}
.about-candidate{
    width: 500px;
}
.div2 { 
    padding: 20px;
    box-shadow: 2px 2px #888888;
    display: flex;
    margin: 10px;
    grid-area: 2 / 1 / 3 / 2; 
}
.div3 { 
    padding: 20px;
    box-shadow: 2px 2px #888888;
    display: flex;
    margin: 10px;
    grid-area: 3 / 1 / 4 / 2; 
}
.div4 { 
    padding: 20px;
    box-shadow: 2px 2px #888888;
    display: flex;
    margin: 10px;
    grid-area: 4 / 1 / 5 / 2; 
}
.div5 { 
    padding: 20px;
    box-shadow: 2px 2px #888888;
    display: flex;
    margin: 10px;
    grid-area: 5 / 1 / 6 / 2; 
}


@media(max-width:768px) {
    .picture{
        width: 40px;
    }
    .about-candidate{
        width: 180px;
    }
    .parent{
        top: 200px;
    }
    .container{
        padding-left: 20px;
    }

    
  }

  footer{
    top: 1400px;
    z-index: -1;
    position: absolute;
    background-color: white;
    height: auto;
    width: 100%;
    padding: 20px;
    
}
footer .logo{
    margin-left: 40px;
}
footer p {
    margin-top: 15px;
    font-weight: 300;
    margin-left: 40px;
}

.socials {
    display: flex;
    margin-top: 15px;
    gap: 20px;
    margin-left: 40px;
}
.socials i {
    cursor: pointer;
}
@media(max-width:768px) {
    footer{
        top: 1950px;
    }
    footer p {
        margin-left: 10px;
    }
    footer .logo {
        margin-left: 10px;
    }
    .socials{
        margin-left: 10px;
    }
    #navbar{
        padding: 0 1rem;
    }
}