p, h1, h2, h3, h4, h5, h6, button {
    font-family: "Roboto", serif;
}
li {
    list-style: none;
}

body {
    background-color: #f5f5f9;
    background-size: cover;
    width: auto; 
    align-items: left;
    overflow-x: hidden;
    font-family: "Roboto", serif;
    margin: 0px;
}

header {
    width: 100%;
    display: block;
    background-color: #0c203c;
    font-family: "Roboto", serif;
    font-weight: 700 !important;
    padding-top: 10px;
    overflow: auto;
    z-index: -1;
}
nav {
    position: fixed;
    display: flex;
    top: 0;
    right: 0;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-family: "Roboto", serif;
    mix-blend-mode: difference;
    z-index: 100;
}

a {
    padding: 10px 0px;
    color: #fff;
    text-decoration: none;
    font-size: 1.5em;
    z-index: 10;
    text-transform: uppercase;
}

.nav-content .icon-nav {
    height: 30px;
    width: auto;
    margin-right: 5px;
    margin-left: 5px;
}

.profile {
    background-color: #0c203c !important;
    text-align: center;
    height: 320px;
    margin-bottom: 10px;
}

.profile h1 {
    font-size: 50px;
    font-weight: 700;
    color: white;
}

.profile img {
    border-radius: 50%;
    max-width: 100%;
    max-height: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;        
    padding: 20px;
}

.profile .profile-picture {
    margin-bottom: 30px;
    height: 200px;
}



.about {
    text-align: center;
    width: 80%;
}
.about p{
    font-size: 1.5rem;
    text-align: left;
    line-height: 1.5;
    color: #333;
}

.clearcontent {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem 2rem 2rem 0rem;
    background: #ffffff;
}
.darkcontent {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #0c203c;
    padding: 2rem 2rem 2rem 0rem;

    color: #fff
}
#hobbies {
    padding: 45px 0;
}

.container{
    display: flex;
    width: 70%;
    border: #1C539F solid 2px;
    border-radius: 10px;
    padding: 1rem 1rem 1rem 5rem;
    margin-bottom: 2rem;
}
.date{
    padding-top: 1rem;
}
.column {
    flex: 50%;
    padding-left: 5%;
}

#dates{
    font-size: 12px;
}


.wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(300px, 1fr));
    
}
.wrapper .card {
    align-items: center;
    justify-items: center;
    margin: 1rem;
    max-width: 250px;
    border: #1C539F;
    border-radius: 10px;
    border-style: solid;
    padding: 1rem 0.5rem;
    
}
.wrapper .card img {
    max-width: inherit;
    max-height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.icon-links {
    border-radius: 10px;
    text-decoration: none;
    border: 2px solid #ffffff;
    margin-left: 5px;
    padding: 0.5rem;
    color: #fff
}


.map {
    width: 90%;
    height: 90%;
    margin: 0 auto;
    position: relative;
}
.map img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.label {
    position: absolute;
    background: #1C539F;
    width: 0.4em;
    height: 0.4em;
    border-radius: 50%;
}
.label::before{
    content: '';
    position: absolute;
    background: #1C539F;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse 1.3s ease-in-out infinite;
}
.label span {
    display: inline-block;
    white-space: nowrap;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 5px;
    padding: 0.1rem 0.1rem;
    font-size: 0.8rem;
}

@keyframes pulse {
    100% {
        opacity: 0;
        transform: 
        translate(-50%, -50%)
        scale(2.5);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 5rem 0 5rem
    }
    .profile {
        padding-bottom: 5rem;
    }
    nav {
        position: absolute;
        font-size: 0.75em;
        display: block;
    }
    .wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    }
}

@media (max-height: 850px) {
    .nav-content {
        font-size: small;
    }
}