html {
    margin-top: 25px;
    background-color: #F6F6F6;
}

h1 {
    width: 100%;
    font-family: Palatino Linotype;
    text-align: center;
    text-decoration: underline;
    text-decoration-color: green;
    font-size: calc(20px + 1.5vw);
    margin-bottom: 50px;
    margin-top: 50px;
}


/*-----------Navigation*/

header {
    position: fixed;
    top: 0.6em;
    right: 10px;
    font-size: 2.3em;
    color: black;
    font-family: 'Exo 2', sans-serif;
    
}

#navbar {
    background-color: blue;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 30%;
    height: 1.3em;
}

#navbar:hover {
    background-color: green;
    color: white;
}

#navbar ul {
    margin-top: 15px;
}

.nav-button {
    cursor: pointer;
    transform: translateY(7%);
}

#menu-toggle {
    display: none;
}

.nav-items {
    background-color: green;
    border-radius: 20%;
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 10;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 100%;
    text-align: center;
}

.nav-items li {
    padding: 10px;
}

.nav-items li a {
    display: block;
    color: white;
    text-decoration: none;
}

.nav-items li a:hover {
    background-color: gray;
    border-radius: 70%;
}

#menu-toggle:checked ~ .nav-items {
    display: block;
}

.nav-items li a:active {
    background-color: darkgray;
}


/*-----------Welcome section*/

#welcome-section {
    text-align: center;
    font-family: Georgia;
    font-weight: 550;
    max-width: 800px;
    border: 1px solid green;
    margin: auto;
}

#welcome-section h1 {
    text-decoration: none;
}

#welcomeimg{
    width: 80%;
    margin-bottom: 20px;
    max-width: 400px;
}

/*-----------Education*/

#education {
    display: flex;
    flex-wrap: wrap;
}

#education a,
.title,
.x {
    color: #0080FF;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 550;
}

#education h2 {
    margin-left: 50px;
}

#education h3 {
    margin-left: 50px;
}

.school {
    color: purple !important;
}

.achievements {
    border-left: 1px solid green;
    border-bottom: 1px solid green;
    padding-left: 20px;
    max-width: 300px;
    margin: 50px;
}

.italic {
    font-family: monospace;
    font-size: 16px;
    color: orangered;
}

.bold {
    font-weight: 700;
}

.popup {
    width: 90%;
    height: 80%;
    display: none;
    position: fixed;
    top: 10%;
    left: 3%;
    padding: 20px;
    background-color: green;
    color: #FFFACD;
    border: 1px solid #000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 99;
    overflow-y: auto;
}

.popup-toggle {
    display: none;
}

.popup-toggle:checked + .popup {
    display: block;
}

.x {
    top: 0.4em;
    right: 10px;
    font-size: 3.1em;
    height: 1.1em;
    text-decoration: none;
    background-color: red;
    color: black;
    position: fixed;
    font-family: sans-serif;
    border-radius:10%;
    display: flex;
  align-items: center;
  justify-content: center;
}


#pdf-container {
    width: 100%;
    height: 100%;
}

iframe,
object,
embed {
    width: 100% !important;
    height: 100%;
}
.outro{
    width: auto;
      display: flex;
  align-items: center;
  justify-content: center;
    margin:0 1em;
}

/*-----------Projects*/

.project-tile {
    margin: 12px;
    width: fit-content;
}

#projects img,
#personal-achievements img {
    max-width: 100%;
}
img{
    margin-bottom: 2%;
}

/*-----------Personal Achivements*/

#personal-achievements {
    margin: 0 3%;
}


/*-----------Contact*/

.fa.fa-instagram {
    color: transparent;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    background: -webkit-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    background-clip: text;
    -webkit-background-clip: text;
}

.fa-google {
    background: conic-gradient(from -45deg, #ea4335 110deg, #4285f4 90deg 180deg, #34a853 180deg 270deg, #fbbc05 270deg) 73% 55%/150% 150% no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.fa-facebook-square,
.fa-linkedin {
    color: blue !important;
}

#contact ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-right: 5%;
}

#contact li {
    margin: 0 5%
}

label p {
    width: fit-content;
}