* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #131313;
    background-image: radial-gradient(circle at bottom left, #041e3a, transparent 60%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    color: white;
    overflow-y: auto;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #131313;
    background-image: radial-gradient(circle at bottom left, #003975, transparent 80%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.logo {
    width: 100px;
    height: 100px;
}
.content {
    display: none;
    text-align: center;
    animation: slideUp 1s forwards;
}

@keyframes slideUp {
    0% { transform: translateY(100%); }
    100% { transform: translateY(0); }
}

.container {
    text-align: center;
}

.menu {
    list-style: none;
}

.menu li {
    margin: 20px 0;
}

.menu a {
    text-decoration: none;
    color: white;
    font-size: 2rem;
    transition: font-size 0.5s ease-in-out, color 0.5s ease-in-out;
}

.menu a:hover {
    cursor: pointer;
    color: #49a1ff;
    transform: scale(1.2);
    font-size: 220%;
    transition: font-size 0.5s ease-in-out, color 0.5s ease-in-out;
}

body.loaded .content {
    display: block;
}

body.loaded #loader {
    animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; display: none; }
}

.section {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #131313;
    background-image: radial-gradient(circle at bottom left, rgb(4, 30, 58), transparent 60%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 2000;
    transition: top 0.5s ease;
    overflow-y: auto;
}
.section .section-content {
    text-align: center;
}

.section .back {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}


.section.active {
    top: 0;
}

/* about me */

#about-txt {
    font-size: 1.5rem;
    text-align: left;
    position: relative;
    max-width: 1152px;
    margin: auto;
    padding: 20px;
}

/* Portfolio */

.portfolio-links {
    list-style: none;
    padding: 0;
}

.portfolio-links li {
    margin: 20px 0;
}

.portfolio-links a {
    text-decoration: none;
    color: white;
    font-size: 2rem;
    transition: font-size 0.5s ease-in-out, color 0.5s ease-in-out;
}

.portfolio-links a:hover {
    transform: scale(1.2);
    color: #49a1ff;
    transition: font-size 0.5s ease-in-out, color 0.5s ease-in-out;
    font-size: 34px;
}

/* Skills */

.accordion {
    text-align: center;
    padding-top: 20px;
    width: 100%;
    margin: auto;
}

.accordion-item {
    margin-bottom: 20px;
}

.accordion-button {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    text-align: center;
    font-size: 2rem;
    transition: font-size 0.5s ease-in-out, color 0.5s ease-in-out;
}
.accordion-button:hover {
    color: #49a1ff;
    transition: font-size 0.5s ease-in-out, color 0.5s ease-in-out;
    font-size: 220%;
    cursor: pointer;
}

.accordion-content {
    max-width: 100%;
    white-space: nowrap;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease-in-out, padding 1s ease;
    background: transparent;
    padding: 0 0px;
}

.accordion-content p {
    padding: 10px 0;
    margin: 0;
}

.accordion-item.active .accordion-content {
    max-height: 450px;
    padding: 10px;
}

/* E-mail */

input[type=text-email], select, textarea {
    font-size: 1.1rem;
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
  }
  
  input[type=submit] {
    font-size: 18px;
    background-color: #49a1ff;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  input[type=submit]:hover {
    background-color: #1c82f0;
  }
  
  .container-email {
    border-radius: 5px;
    background-color: #3f3f3f, transparent 80%;
    padding: 20px;
  }

.url{
    color: whitesmoke;
}