@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Rubik", sans-serif;
    font-weight: 400;
    background-color: black;
    color: rgba(255, 255, 255, 0.562);
}

header {
    background-color: rgba(255, 255, 255, 0.856);
    text-align: center;
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
    color: black;
}

header h1 {
    color: white;
}

figure.perfil-photo {
    border-top: 3px solid #FFC300;
    border-bottom: 3px solid #FFC300;
    border-right: 3px solid #FFC300;
    border-left: 3px solid #FFC300;
    border-radius: 10rem;
    width: 10rem;
    margin: auto;
    overflow: hidden;
    /* opcional, para esconder cantos arredondados */
    border-radius: 5.5rem 5.5rem 5.5rem 5.5rem;
    /* arredondar só embaixo */
}

h1 {
    background-color: #FFC300;
    width: 16rem;
    margin: auto;
}

main {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

section {
    border-bottom: 2px solid white;
    padding: 20px;
}

section .title {
    text-align: center;
    margin-bottom: 2rem;
}

section div {
    display: flex;
    gap: 5rem;
    padding: 20px;
}

fieldset {
    border: 4px solid rgba(255, 255, 255, 0.856);
    border-radius: 5px;
    padding: 1rem;
    
}

legend {
    font-size: 1.3rem;
    color: #FFC300;
    padding: 0 0.5rem;
}

h2 {
    color: #FFC300;
    font-size: 2rem;
    justify-content: center;
    align-items: center;
}

select,
::picker(select) {
    appearance: base-select;
}

select {
    flex: 1;
}

select {
    border: 2px solid white;
    background: black;
    padding: 10px;
    transition: 0.4s;
    color: white;
}


select:hover,
select:focus {
    background: #FFC300;
}

select::picker-icon {
    color: white;
    transition: 0.4s rotate;
}

select:open::picker-icon {
    rotate: 180deg;
}

::picker(select) {
    border: none;
}

option {
    display: flex;
    justify-content: flex-start;
    gap: 20px;

    border: 2px solid #dddddd;
    background: #eeeeee;
    padding: 10px;
    transition: 0.4s;
}

option:first-of-type {
    border-radius: 8px 8px 0 0;
}

option:last-of-type {
    border-radius: 0 0 8px 8px;
}

option:not(option:last-of-type) {
    border-bottom: none;
}

option:nth-of-type(odd) {
    background: white;
}

option:hover,
option:focus {
    background: #FFC300;
}

option .icon {
    font-size: 1.6rem;
    text-box: trim-both cap alphabetic;
}

selectedcontent .icon {
    display: none;
}

option:checked {
    font-weight: bold;
}

option::checkmark {
    content: "•";
}

::picker(select) {
    opacity: 0;
    transition: all 0.4s allow-discrete;
}

::picker(select):popover-open {
    opacity: 1;
}

@starting-style {
    ::picker(select):popover-open {
        opacity: 0;
    }
}

::picker(select) {
    top: calc(anchor(bottom) + 1px);
}

.projects {
    position: relative;
    padding: 5rem 3rem;
    border: 3px solid rgba(255, 255, 255, 0.856);
    border-radius: 2rem;
}

.window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    background-color: black;

    padding: 1rem 3rem;
    border: 3px solid rgba(255, 255, 255, 0.856);
    border-radius: 2rem;
    display: none;
}

.demonstrationVideo {
    padding: 5px;
}

.systems {
    display: flex;
    flex-direction: column;
    width: 75rem;
    gap: 24px;
    padding: 40px;
}

.myInfos ul {
    padding: 0;
    border: none;
    list-style-type: none;
}

/* .exit-button {
    width: 5%;
    height: auto;
    margin-left: 100%;
} */

.exit-button {
    position: absolute;
    top: .2rem;
    right: .2rem;

    width: 5%;
    height: auto;

    background: none;
    background-color: transparent;

    border: none;
    outline: none;

    cursor: pointer;
}

.exit-button img {
    width: 100%;
    height: auto;
    background-color: transparent;
}

.specs {
    color: rgba(255, 255, 255, 0.856);
}

.button {
    background-color: #FFC300;
    border: none;
    padding: 0.8rem;
    color: black;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    bottom: 0.2rem;
    right: 3rem;
}