.space-mono-regular {
    font-family: "Space Mono", monospace;
    font-weight: 400;
    font-style: normal;
}

.space-mono-bold {
    font-family: "Space Mono", monospace;
    font-weight: 700;
    font-style: normal;
}

.space-mono-regular-italic {
    font-family: "Space Mono", monospace;
    font-weight: 400;
    font-style: italic;
}

.space-mono-bold-italic {
    font-family: "Space Mono", monospace;
    font-weight: 700;
    font-style: italic;
}

body {
    margin: 0px;
    padding: 0px;
    background-color: #1f1f1f;
    background-repeat: repeat;
    background-size: 100px 100px;
    justify-content: center;
}

.all-content {
    margin: 1rem;
    justify-content: center;
}

.pfp-profile {
    max-width: 350px;
    max-height: 542px;
}

.background {
    background-color: #38c913;
    max-width: none;
    min-width: 414px;
}

header {
    display: flex;
    width: 100%;
    height: 106px;
    flex-shrink: 0;

    border-bottom: 10px solid #1f1f1f;
    background: #38c913;

    justify-content: center;
    align-items: flex-start;
    padding: 0px;
}

.header-button {
    max-width: 170px;
    vertical-align: top;
    width: 30%;
    float: right;
    flex-shrink: 0;

    color: #1f1f1f;

    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;

    display: flex;
    width: auto;
    height: 116px;
    padding: 45px 3vmax;
    justify-content: center;
    align-items: center;
    gap: 0px;
    flex-shrink: 0;

    border-bottom: 10px solid #1f1f1f;
    border-right: 0px;
    border-left: 0px;
    border-top: 0px;
    background: #38c913;

    display: flex;
    align-items: flex-start;
    justify-content: center;
    list-style-type: none;
    cursor: pointer;
}

.header-button:hover {
    
    background: #ff4d4d;
}

img {
    width: 320px;
    height: 329px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    margin: 5px 0 0 0;
    margin-bottom: 0;

    background: url(../avatar.jpg) rgb(39, 43, 107) 50% / cover no-repeat;

    border-radius: 170px;
    border-top: 5px solid #38c913;
    border-right: 5px solid #38c913;
    border-bottom: 5px solid #38c913;
    border-left: 5px solid #38c913;
}

.profile {
    display: flex;
    width: 331px;
    height: 124px;
    flex-shrink: 0;
    margin: 70px 0 2px 0;

    
    border-top: 2px solid #38c913;
    border-right: 2px solid #38c913;
    border-bottom: 2px solid #38c913;
    border-left: 2px solid #38c913;
    background: #2b2b2b;
}

.title {
    float: center;
    width: 320px;
    margin: 0 0 2px 0;
    height: 31px;
    flex-shrink: 0;

    
   
}

h1 {
    float: center;
    color: #ffffff;
    width: 284px;
    height: 40px;
    flex-shrink: 0;
    margin: 0 3px 0 0;

    text-align: center;
    font-family: "Space Mono";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding: 6px 16px;
}

.description {
    float: center;
    width: 254px;
    height: 24px;
    margin: auto;

    color: #ffffff;
    text-align: center;
    font-family: "Space Mono";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 5px 12%;
}

.highlight {
    color: #ffffff;
}

.materias {
    max-width: 350px;
    max-height: 742px;
}

.year {
    width: 320px;
    flex-shrink: 0;
    margin: 10px 0px 10px 30px;
    
    border-top: 2px solid #38c913;
    border-right: 2px solid #38c913;
    border-bottom: 2px solid #38c913;
    border-left: 2px solid #38c913;
    background: #2b2b2b
}

.año-b {
    height: 146px;
    flex-shrink: 0;
    

  
    border-top: 2px solid #030601;
    border-right: 10px solid #030601;
    border-bottom: 10px solid #030601;
    border-left: 2px solid #030601;
    background: #FFF;
}

.año-c {
    height: 138px;
    flex-shrink: 0;


    border-top: 2px solid #030601;
    border-right: 10px solid #030601;
    border-bottom: 10px solid #030601;
    border-left: 2px solid #030601;
    background: #8d3636;
}

.año-d {
    height: 138px;
    flex-shrink: 0;

    
    border-top: 2px solid #030601;
    border-right: 10px solid #030601;
    border-bottom: 10px solid #030601;
    border-left: 2px solid #030601;
    background: #8d3636;
}

.año-e {
    height: 138px;
    flex-shrink: 0;


    border-top: 2px solid #030601;
    border-right: 10px solid #030601;
    border-bottom: 10px solid #030601;
    border-left: 2px solid #030601;
    background: #8d3636;
}

.año-f {
    height: 138px;
    flex-shrink: 0;


    border-top: 2px solid #030601;
    border-right: 10px solid #030601;
    border-bottom: 10px solid #030601;
    border-left: 2px solid #030601;
    background: #8d3636;
}

.año-g {
    height: 138px;
    flex-shrink: 0;


    border-top: 2px solid #030601;
    border-right: 10px solid #030601;
    border-bottom: 10px solid #030601;
    border-left: 2px solid #030601;
    background: #8d3636;
}

h2 {
    width: 269px;
    height: 10px;
    flex-shrink: 0;

    color: #38c913;

    text-align: center;
    font-family: "Space Mono";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding: 8px 8%;
    margin-top: 6px;
}

.año {
    color: #ffffff;
    float: center;
    text-align: center;
    font-family: "Space Mono";
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 22px;
}

.info {
    float: center;
    text-align: left;
    font-family: "Space Mono";
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding: 0px 10px;
}

.button-group {
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    gap: 100px;
    max-width: 720px;
    margin: 200px 0 0 0;
}

.primary-button {
    float: center;
    color: #66ff00;
    margin: 10px;

    text-align: center;
    font-family: "Space Mono";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;

    max-width: 150px;
    height: 154px;


    border-top: 2px solid #66ff00;
    border-right: 2px solid #66ff00;
    border-bottom: 2px solid #66ff00;
    border-left: 2px solid #66ff00;
    background: #2b2b2b;
    cursor: pointer;
}

.primary-button-text {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.primary-button:hover {

    border-top: 2px solid #ff4d4d;;
    border-right: 2px solid #ff4d4d;;
    border-bottom: 2px solid #ff4d4d;;
    border-left: 2px solid #ff4d4d;;
}

.pfp-profile-materias-group {
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
}

.button-group-box {
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
}

.footer-group {
    flex-wrap: wrap;
    display: flex;
    text-align: center;
    justify-content: center;
}

.wrapper {
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    width: 100%;
}

.collapsible {
    max-width: 680px;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 40px;
    width: 100%; 
}

.collapsible input {
    display: none;
}

.collapsible label {
    position: relative;
    display: block;
    cursor: pointer;
    padding: 12px 50px 12px 12px; 
    z-index: 10;
    
    color: #030601;
    text-align: center;
    font-family: "Space Mono";
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;


    border-radius: 14px;
    border-top: 2px solid #030601;
    border-right: 10px solid #030601;
    border-bottom: 10px solid #030601;
    border-left: 2px solid #030601;
    background: #38c913;
    margin-bottom: 0;
}

.collapsible label:after {
    content: "▶";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%); 
    width: 18px;
    height: 18px;
    color: #506600; 
    background: transparent; 
    transition: transform 0.3s ease;
}

.collapsible input:checked + label:after {
    transform: translateY(-50%) rotate(90deg);
}

.collapsible-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 15px;

    transition: max-height 0.3s ease, 
                opacity 0.3s ease, 
                padding-top 0.3s ease, 
                padding-bottom 0.3s ease;

    border-radius: 0 0 14px 14px;
    border-top: 0;
    border-right: 10px solid #030601;
    border-bottom: 10px solid #030601;
    border-left: 2px solid #030601;
    background: #FFF;
    margin-top: -10px;
    position: relative;
    z-index: 5;
}

.collapsible input:checked ~ .collapsible-text {
    max-height: 500px;
    padding-top: 25px;
    padding-bottom: 25px;
    opacity: 1;
}

.collapsible-text p {
    color: #030601;
    font-family: "Space Mono";
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
